Skip to content

Downgrade pytest in language modelling#178

Merged
astachowiczhabana merged 1 commit into
habana-mainfrom
dev/astachowicz/requirements_in_language_modelling
May 7, 2024
Merged

Downgrade pytest in language modelling#178
astachowiczhabana merged 1 commit into
habana-mainfrom
dev/astachowicz/requirements_in_language_modelling

Conversation

@astachowiczhabana
Copy link
Copy Markdown

Fix pytest version in language modelling as a temporary measure untill TF 4.39.

(final fix: huggingface/transformers#29154)

@astachowiczhabana
Copy link
Copy Markdown
Author

@vivekgoe @libinta Can you please help review?

evaluate
scikit-learn
peft == 0.6.2
pytest == 7.4.2 No newline at end of file
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

which use case need this fix?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

examples/language-modeling/run_clm.py
when this example is run with pytest >= 7.4.2 it breaks due to hardcoded path in transformers/testing_utils.py", line 129

@astachowiczhabana astachowiczhabana merged commit 42c1a76 into habana-main May 7, 2024
@libinta
Copy link
Copy Markdown
Collaborator

libinta commented May 7, 2024 via email

@astachowiczhabana
Copy link
Copy Markdown
Author

Unmatched PR

astachowiczhabana pushed a commit that referenced this pull request Mar 11, 2025
* enabling accuracy tests for mbxp gsm8k datasets

* CI linter fix

* make style

* eval fix

* eval fix 2

* code improvement removed default paths to internal locations, moved target acc to file

* removed unused dependencies

---------

Co-authored-by: Rafal <rbogdanowicz@habana.ai>
rbogdano added a commit that referenced this pull request Mar 11, 2025
* enabling accuracy tests for mbxp gsm8k datasets

* CI linter fix

* make style

* eval fix

* eval fix 2

* code improvement removed default paths to internal locations, moved target acc to file

* removed unused dependencies

---------

Co-authored-by: Rafal <rbogdanowicz@habana.ai>
astachowiczhabana pushed a commit that referenced this pull request Mar 31, 2025
* enabling accuracy tests for mbxp gsm8k datasets

* CI linter fix

* make style

* eval fix

* eval fix 2

* code improvement removed default paths to internal locations, moved target acc to file

* removed unused dependencies

---------

Co-authored-by: Rafal <rbogdanowicz@habana.ai>
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.

3 participants