Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make hf tests work #833

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

dberenbaum
Copy link
Collaborator

@shcheklein Added a couple minor changes to your PR

@@ -103,6 +103,7 @@ def args():
num_train_epochs=2,
save_strategy="epoch",
report_to="none", # Disable auto-reporting to avoid duplication
use_cpu=True,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Tests were failing locally for me because hf was using my m1 mps device

@@ -57,7 +57,7 @@ tests = [
"pytest_voluptuous",
"dpath",
"transformers[torch]",
"keras<3"
"tf-keras"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

See #832 (comment). This should work in huggingface while still allowing us to run keras tests with keras 3.

@shcheklein shcheklein merged commit 9fc7a50 into dependabot/pip/mypy-1.10.1 Jul 10, 2024
14 checks passed
@shcheklein shcheklein deleted the debug-hf-issues branch July 10, 2024 17:36
dberenbaum pushed a commit that referenced this pull request Jul 10, 2024
* build(deps): bump mypy from 1.10.0 to 1.10.1

Bumps [mypy](https://github.com/python/mypy) from 1.10.0 to 1.10.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* remove aliase classes

* drop catalyst

* make hf tests work (#833)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ivan Shcheklein <[email protected]>
Co-authored-by: Dave Berenbaum <[email protected]>
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