Skip to content

Fix deprecations and update dependencies for examples/albert #595

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

Merged
merged 2 commits into from
Oct 8, 2023

Conversation

mryab
Copy link
Member

@mryab mryab commented Oct 8, 2023

The current Docker build fails due to old versions of transformers/datasets depending on an old version of tokenizers, which does not compile in the current environment of the Docker image. The easiest way to address the issue appears to be the bump of dependencies.

I have tested running the example on 2 peers with albert-base-v2, and the code runs and even starts to converge:
image

Also, in recent builds, pip started issuing an error when trying to pass --no-use-pep517 without setuptools and wheel installed (see this build as an example). This PR addresses the issue by installing setuptools and wheel before calling pip install.

@codecov
Copy link

codecov bot commented Oct 8, 2023

Codecov Report

Merging #595 (fc4e51d) into master (2873252) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #595      +/-   ##
==========================================
- Coverage   85.34%   85.30%   -0.04%     
==========================================
  Files          81       81              
  Lines        8022     8022              
==========================================
- Hits         6846     6843       -3     
- Misses       1176     1179       +3     

see 6 files with indirect coverage changes

@mryab mryab requested a review from justheuristic October 8, 2023 19:42
Copy link
Member

@justheuristic justheuristic left a comment

Choose a reason for hiding this comment

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

thanks for fixing it!

@mryab mryab merged commit fdda330 into master Oct 8, 2023
@mryab mryab deleted the update-example branch October 8, 2023 19:45
jmikedupont2 pushed a commit to meta-introspector/hivemind that referenced this pull request Mar 29, 2024
…g-at-home#595)

* Install setuptools+wheel in develop mode during CI

* Fix deprecations and update dependencies for examples/albert
mryab added a commit that referenced this pull request Oct 13, 2024
* Install setuptools+wheel in develop mode during CI

* Fix deprecations and update dependencies for examples/albert

(cherry picked from commit fdda330)
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