Skip to content

fix bugs in requirements.txt since previous one can cause errors#697

Merged
shizhediao merged 1 commit into
OptimalScale:mainfrom
tianyang-x:main
Feb 9, 2024
Merged

fix bugs in requirements.txt since previous one can cause errors#697
shizhediao merged 1 commit into
OptimalScale:mainfrom
tianyang-x:main

Conversation

@tianyang-x

Copy link
Copy Markdown
Contributor

Hello!

In transformers 4.35.0, the developers deleted names is_fairscale_available and default_hp_search_backend from transformers.integrations, which causes errors since LMFlow actively tries to find the names in those locations.

As a quick workaround, I propose to change the requirements.txt and add a condition transformers<4.35.0.

@shizhediao

Copy link
Copy Markdown
Contributor

LGTM. Thanks!

@shizhediao shizhediao closed this Feb 9, 2024
@shizhediao shizhediao reopened this Feb 9, 2024

@shizhediao shizhediao left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@shizhediao
shizhediao merged commit 0e9a9a6 into OptimalScale:main Feb 9, 2024
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.

2 participants