Skip to content

feature/oobaboga: Fixing merge from main (#1911)#5

Merged
jsboige merged 1 commit intojsboige:feature/oobaboogafrom
microsoft:feature/oobabooga
Jul 12, 2023
Merged

feature/oobaboga: Fixing merge from main (#1911)#5
jsboige merged 1 commit intojsboige:feature/oobaboogafrom
microsoft:feature/oobabooga

Conversation

@jsboige
Copy link
Owner

@jsboige jsboige commented Jul 12, 2023

Hi, this is a new PR from a new user-level fork to account for a github bug preventing edits by maintainers on a PR made from an organization-level fork (see that final
comment
on last PR)
This PR is only an attempt at merging upstream's main for final integration of the oobabooga connector into main branch. Last set of commits made CompleteRequestSettings.MaxTokens Nullable (#450f1d3a11eb95d6975da33f581d3997bed42906), which broke this connector.
Making TextCompletionRequest.MaxNewTokens also nullable fixed the issue. Note that Oobabooga defaults max tokens to
200

Motivation and Context

Description

Contribution Checklist

Hi, this is a new PR from a new user-level fork to account for a github
bug preventing edits by maintainers on a PR made from an
organization-level fork (see that [final
comment](#1357 (comment))
on last PR)
This PR is only an attempt at merging upstream's main for final
integration of the oobabooga connector into main branch. Last set of
commits made CompleteRequestSettings.MaxTokens Nullable
([#450f1d3a11eb95d6975da33f581d3997bed42906](#1367)),
which broke this connector.
Making TextCompletionRequest.MaxNewTokens also nullable fixed the issue.
Note that Oobabooga [defaults max tokens to
200](https://github.com/oobabooga/text-generation-webui/blob/main/extensions/api/util.py#L24)

Co-authored-by: Shawn Callegari <36091529+shawncal@users.noreply.github.com>
@jsboige jsboige merged commit ba2949b into jsboige:feature/oobabooga Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant