Spaces:
Running
on
CPU Upgrade
python-upgrade
Moving the codebase from Python 3.10.0 to Python 3.11.0 here
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.)
Updated the following things:
- Now the whole project can work with Python 3.12.1
/src/display/utils.pynow 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,pandascorrespondingly to work with Python 3.12.1 as well astransformersandgradio-space-ciaccording to the recent changes in previous PRs - I added
poetry.lockto.gitignore, it's the reason for the huge deletion changes -__-
@clefourrier can we apply such changes? I know it's a lot and the backend needs to correspond to them as well 🤔
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.
PR is now merged/closed. The ephemeral Space has been deleted.
(This is an automated message.)