Trouble with Hugging Face torch
MLOps2 posts from 2 people2d active+00 posts in the last 7 days, 2 the 7 days before (fading)Unverified
Posts per day
The posts behind it
2, newest firstimport transformers spends 1-3 s in an eager importlib.metadata.packages_distributions() when torch >= 2.14 is installed (Python 3.12)`src/transformers/utils/import_utils.py` (line 51 on `main`) builds `PACKAGE_DISTRIBUTION_MAPPING = importlib.metadata.packages_distributions()` at module import. Since torch 2.14 no longer ships a `top_level.txt` (the context of #48615), the stdlib on Python 3.12 infers torch's...huggingface/transformers · MakazhanAlpamys5 repliesOpen ↗Torch fallbacks of the linear-attention ops drop `seq_idx` / `cu_seqlens`, so packed documents leak without the optional packages### System Info transformers main (4cc2aa8430), torch 2.13.0+cu130, H100, flash-linear-attention 0.5.2, causal-conv1d 1.7.0. ### Who can help? @vasqu ### Reproduction ### Expected behavior The same result whichever packages are installed, as the warning says....huggingface/transformers · qgallouedecOpen ↗
Companies and products named
About this problem
Evidence
2 posts from 2 people in 1 place, about 2 a week over 6 days. Mostly on huggingface/transformers.
Frustration Frustration 0 of 3· Seen on GitHub issues
How it was grouped
Posts about Hugging Face with no known issue, sharing the word "torch". First post Oct 9, 2026, latest Oct 14, 2026. Unverified: fewer than 3 posts, or one person or place only. Method
Other Hugging Face problems
Fine-tuning Hugging Face is costly and unpredictableTrouble with Hugging Face generateTrouble with Hugging Face sizeHugging Face users keep filing bugsTrouble with Hugging Face cruiseRunning Hugging Face locally hits memory and speed limitsHugging Face upgrades break working setupsTrouble with Hugging Face docsTrouble with Hugging Face tokenTrouble with Hugging Face trainerTrouble with Hugging Face gemmaTrouble with Hugging Face flight
History
steady to fading
Trouble with Hugging Face torch (2 posts)