Search Criteria
Package Details: python-transformers 5.12.1-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python-transformers.git (read-only, click to copy) |
|---|---|
| Package Base: | python-transformers |
| Description: | State-of-the-art pretrained models for inference and training |
| Upstream URL: | https://github.com/huggingface/transformers |
| Keywords: | huggingface transformers |
| Licenses: | Apache-2.0 |
| Submitter: | filipg |
| Maintainer: | daskol |
| Last Packager: | daskol |
| Votes: | 19 |
| Popularity: | 1.01 |
| First Submitted: | 2021-10-23 09:30 (UTC) |
| Last Updated: | 2026-07-01 09:28 (UTC) |
Dependencies (22)
- python-huggingface-hub (python-huggingface-hub-gitAUR)
- python-numpy (python-numpy-gitAUR, python-numpy-mkl-binAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- python-packaging
- python-regex (python-regex-gitAUR)
- python-safetensors
- python-tokenizersAUR (python-tokenizers-binAUR)
- python-tqdm
- python-typer
- python-yaml (python-yaml-gitAUR)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
- python-bitsandbytesAUR (python-bitsandbytes-gitAUR, python-bitsandbytesAUR, python-bitsandbytes-rocmAUR, python-bitsandbytes-rocm-gitAUR) (optional) – 8-bit support for PyTorch
- python-flaxAUR (optional) – JAX support
- python-hf-xet (optional) – xethub support
- python-keras (python-keras-gitAUR) (optional) – Support for models in Keras 3
- python-onnxconverter-commonAUR (optional) – TensorFlow support
- python-pytorch (python-pytorch-cuda12.9AUR, python-pytorch-opt-cuda12.9AUR, python-pytorch-cuda, python-pytorch-opt, python-pytorch-opt-cuda, python-pytorch-opt-rocm, python-pytorch-opt-xpu, python-pytorch-rocm, python-pytorch-xpu) (optional) – PyTorch support
- python-tensorflow (python-tensorflow-computecppAUR, python-tensorflow-rocmAUR, python-tensorflow-opt-rocmAUR, python-tensorflow-cuda, python-tensorflow-opt, python-tensorflow-opt-cuda) (optional) – TensorFlow support
- Show 2 more dependencies...
Required by (121)
- agent-cli
- beellama.cpp-cuda (optional)
- buun-llama.cpp-hip (optional)
- clockwork-orange-git (optional)
- comfyui-system
- coqui-tts
- dsnote (optional)
- dsnote-git (optional)
- gaia-amd
- gimp-openvino
- greenboost (optional)
- gundog
- ik-llama.cpp (optional)
- ik-llama.cpp-cuda (optional)
- ik-llama.cpp-cuda-git (optional)
- ik-llama.cpp-vulkan (optional)
- llama-benchy
- llama.cpp (optional)
- llama.cpp-clblast (optional)
- llama.cpp-cuda (optional)
- Show 101 more...
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »
Zerout commented on 2026-01-26 09:53 (UTC)
The final release of v5.0.0 is out.
https://github.com/huggingface/transformers/releases/tag/v5.0.0
daskol commented on 2025-11-22 20:32 (UTC)
@F1729 I just relax dependency version check on
huggingface-hub. It seems working withextra/python-huggingface-hub.shayaknyc commented on 2025-11-17 17:31 (UTC)
@F1729 - thank you so much! This helped! Appreciate you!
F1729 commented on 2025-11-17 17:25 (UTC) (edited on 2025-11-17 17:25 (UTC) by F1729)
@shaynaknyc You can locally resolve the issue by downgrading the package "python-huggingface-hub" to the last compatible version, 0.36.0.
@daskol Would it make sense to specify the dependency to "python-huggingface-hub < 1.0" until the issue is resolved upstream?
shayaknyc commented on 2025-11-12 17:45 (UTC)
Sooo....like....do we just sit and wait for upstream to fix this? Is there no workaround or manually applied fix?
racehd commented on 2025-11-10 14:47 (UTC)
There's more info upstream: https://github.com/huggingface/transformers/issues/41970 . Mainly, huggingfacehub 1.0 is mentioned to have broke a lot of projects that otherwise worked well with the current release of transformers. So this was an intentional choice upstream made at some point to have tight interdependencies.
I do see the upstream
setup.pyhas incremented the huggingface-hub version check. This AUR project is tied to releases which there has not been a new one yet for this change and whatever else they have worked on to make it more compatible with huggingfacehub 1.0+Pyblo commented on 2025-11-10 12:55 (UTC) (edited on 2025-11-10 13:02 (UTC) by Pyblo)
the issue with
huggingface-hubdependency still persists:Do we actually know why originally the
huggingface-hubversion has been limited to be< 1.0?From github i see, that main branch has
"huggingface-hub>=1.0.0,<2.0",defined in dependecies.max2000warlord commented on 2025-11-07 02:06 (UTC)
Adding:
prepare() { cd "$_pkgname-$pkgver"
sed -i 's/"huggingface-hub>=0.34.0,<1.0"/"huggingface-hub>=0.34.0"/g' src/transformers/dependency_versions_table.py
to the PKGBUILD immediately after depends=()
worked for me
racehd commented on 2025-11-06 13:40 (UTC) (edited on 2025-11-06 13:57 (UTC) by racehd)
Hello, thank you for maintaining this. I am getting the same error during
checkstage:Which I realize is an issue with the upstream having the import step check the version of huggingface-hub hardcoded into it. It did seem strange to me that what triggered the python-transformers update was the update to huggingface-hub, even though the two versions are incompatible. But thinking about it differently:
Had python-transformers NOT updated (suggested below), then anything trying to import transformers would still fail because:
I'm not really sure what the best solution there is besides users downgrading huggingface-hub and managing their versions themselves (which is what I did for now).
« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »