Package Details: python-transformers 5.2.0-1

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: 16
Popularity: 0.082119
First Submitted: 2021-10-23 09:30 (UTC)
Last Updated: 2026-02-16 20:25 (UTC)

Dependencies (22)

Sources (1)

Latest Comments

1 2 3 4 5 6 Next › Last »

daskol commented on 2026-02-05 21:18 (UTC)

@shayaknyc I have bumped pkgrel of python-safetensors in order to trigger python-safetensors rebuild (or just notify that the package should be rebuilt).

shayaknyc commented on 2026-02-02 21:35 (UTC)

@lightdot - yes, you are correct. I manually had to recompile python-safetensors, and then this just worked. Thank you!

lightdot commented on 2026-02-02 21:33 (UTC) (edited on 2026-02-02 21:34 (UTC) by lightdot)

@shayaknyc, I suspect that python-safetensors package in your build environment wasn't rebuilt after python was updated to 3.14. This should be done manually, package version didn't change.

shayaknyc commented on 2026-02-02 19:45 (UTC)

Anyone else getting these build errors?

...
...
adding 'transformers/utils/versions.py'
adding 'transformers-5.0.0.dist-info/licenses/LICENSE'
adding 'transformers-5.0.0.dist-info/METADATA'
adding 'transformers-5.0.0.dist-info/WHEEL'
adding 'transformers-5.0.0.dist-info/entry_points.txt'
adding 'transformers-5.0.0.dist-info/top_level.txt'
adding 'transformers-5.0.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built transformers-5.0.0-py3-none-any.whl
==> Starting check()...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import transformers
  File "/home/user/git/python-transformers/src/transformers-5.0.0/src/transformers/__init__.py", line 30, in <module>
    from . import dependency_versions_check
  File "/home/user/git/python-transformers/src/transformers-5.0.0/src/transformers/dependency_versions_check.py", line 16, in <module>
    from .utils.versions import require_version, require_version_core
  File "/home/user/git/python-transformers/src/transformers-5.0.0/src/transformers/utils/__init__.py", line 22, in <module>
    from .auto_docstring import (
    ...<10 lines>...
    )
  File "/home/user/git/python-transformers/src/transformers-5.0.0/src/transformers/utils/auto_docstring.py", line 30, in <module>
    from .generic import ModelOutput
  File "/home/user/git/python-transformers/src/transformers-5.0.0/src/transformers/utils/generic.py", line 47, in <module>
    from ..model_debugging_utils import model_addition_debugger_context
  File "/home/user/git/python-transformers/src/transformers-5.0.0/src/transformers/model_debugging_utils.py", line 29, in <module>
    from safetensors.torch import save_file
ModuleNotFoundError: No module named 'safetensors'
==> ERROR: A failure occurred in check().
    Aborting...

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 with extra/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?