Add support for Python 3.14#4225
Open
albertvillanova wants to merge 15 commits intohuggingface:mainfrom
Open
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Member
Author
|
Currently, there are some issues with Check upstream issue on |
Member
Author
|
Related PR: |
Member
|
Ok so we need to wait until python 3.14 is supported then |
Member
Author
|
The However, there is still another issue with tests/experimental/test_bco_trainer.py:27: in <module>
from ..testing_utils import TrlTestCase, require_no_wandb, require_peft, require_sklearn
tests/testing_utils.py:83: in <module>
not is_bitsandbytes_multi_backend_available() and not torch_device == "cuda",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/testing_utils.py:75: in is_bitsandbytes_multi_backend_available
import bitsandbytes as bnb
.venv/lib/python3.14/site-packages/bitsandbytes/__init__.py:19: in <module>
from .backends.default import ops as default_ops
.venv/lib/python3.14/site-packages/bitsandbytes/backends/default/ops.py:324: in <module>
@torch.compile
^^^^^^^^^^^^^
.venv/lib/python3.14/site-packages/torch/__init__.py:2590: in compile
raise RuntimeError("torch.compile is not supported on Python 3.14+")
E RuntimeError: torch.compile is not supported on Python 3.14+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for Python 3.14, which was first released yesterday: