Hugging Face H4 org
edited 17 days ago

Moving the codebase from Python 3.10.0 to Python 3.11.0 here

Hugging Face H4 org

Following the creation of this PR, an ephemeral Space HuggingFaceH4/open_llm_leaderboard-ci-pr-683 has been started. Any changes pushed to this PR will be synced with the test Space.
Since this PR has been created by a trusted author, the ephemeral Space has been configured with the correct hardware, storage, and secrets.
(This is an automated message.)

Hugging Face H4 org
edited 15 days ago

Updated the following things:

  • Now the whole project can work with Python 3.12.1
  • /src/display/utils.py now have the explicit indication for @dataclass(frozen=True) in line 40, it was crucial for the Python version upgrade
  • I had to update matplotlib, numpy, pandas correspondingly to work with Python 3.12.1 as well as transformers and gradio-space-ci according to the recent changes in previous PRs
  • I added poetry.lock to .gitignore, it's the reason for the huge deletion changes -__-
alozowski changed pull request status to open
Hugging Face H4 org

@clefourrier can we apply such changes? I know it's a lot and the backend needs to correspond to them as well 🤔

Hugging Face H4 org

Yep, seems good to me - the only important changes where we need to match the backend are the HF libs btw, and @SaylorTwift was updating them earlier.

clefourrier changed pull request status to merged
Hugging Face H4 org

PR is now merged/closed. The ephemeral Space has been deleted.
(This is an automated message.)

Sign up or log in to comment