Trouble with PyTorch input
MLOps4 posts from 4 people3d active+22 posts in the last 7 days, 0 the 7 days before (rising)
Posts per day
The posts behind it
4, newest firstinput_projections are not registered as PyTorch modules, causing missing parameters and CUDA device mismatch### System Info - OS: Linux - Python: 3.12 - PyTorch: CUDA-enabled - Transformers: Issue confirmed in the source code of v5.20.0. ### Who can help? _No response_ ### Reproduction In Hugging Face Mask2Former, `input_projections` is a regular Python list instead of...huggingface/transformers · bruno20093 repliesOpen ↗Generation crashes with encoder_repetition_penalty when encoder_outputs are provided without input_ids### System Info - `transformers` version: 5.19.0.dev0 - Platform: Windows-11-10.0.26300-SP0 - Python version: 3.13.1 - Huggingface_hub version: 1.33.0 - Safetensors version: 0.8.0 - PyTorch version (accelerator?): 2.14.0+cpu (NA) - Accelerate version: not installed - DeepSpeed...huggingface/transformers · kunalsanga4 repliesOpen ↗torch.autograd.functional.jacobian(strategy='forward-mode', vectorize=True) fails for a 1-D input matmul'd with a matrix### 🐛 Describe the bug torch.autograd.functional.jacobian(func, x, vectorize=True, strategy="forward-mode")` raises `RuntimeError: Trying to set a forward gradient that has a different size than that of the original Tensor` for a function that multiplies a 1-D input by a matrix...pytorch/pytorch · the-Shallow2 repliesOpen ↗CohereCompass omits "video" from input_modalities, so generate() rejects video inputs...quiet otherwise, and it would keep any future model with an incomplete declaration from failing this way.huggingface/transformers · stefankoncarevicOpen ↗
Companies and products named
About this problem
Evidence
4 posts from 4 people in 2 places, about 2 a week over 13 days. Mostly on huggingface/transformers, pytorch/pytorch. Tools named alongside: Hugging Face, NVIDIA, North, GitHub.
Frustration Frustration 0 of 3· Seen on GitHub issues
How it was grouped
Posts about PyTorch with no known issue, sharing the word "input". First post Oct 5, 2026, latest Oct 17, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method
Other PyTorch problems
PyTorch users keep filing bugsTrouble with PyTorch truePyTorch deprecations force unplanned migrationsPyTorch upgrades break working setupsTrouble with PyTorch workerPyTorch builds are slow or flakyTrouble with PyTorch inductorPyTorch GPU access and drivers are painfulTrouble with PyTorch testPyTorch vulnerabilities are hard to triage and patchRunning PyTorch locally hits memory and speed limitsPyTorch error messages are cryptic
History
steady to rising
unverified to corroborated
fading to steady
steady to fading
fading to steady
new to fading
Trouble with PyTorch input (1 post)