-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add support for Python 3.14 #4225
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
base: main
Are you sure you want to change the base?
Add support for Python 3.14 #4225
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. |
|
Currently, there are some issues with Check upstream issue on |
|
Related PR: |
|
Ok so we need to wait until python 3.14 is supported then |
|
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+ |
Add support for Python 3.14, which was first released yesterday: