Data and AI struggles

Trouble with Hugging Face generate

MLOps6 posts from 5 people5d active+22 posts in the last 7 days, 0 the 7 days before (rising)

Posts per day

Posts per day6 posts, Sep 23 to Oct 21

The posts behind it

6, newest first
GitHub issuesOct 17 4 days agogenerate() fails with KeyError/AttributeError when input_ids are off the model device### System Info ### Who can help? @zucchini-nlp @Cyrilvallez ### Reproduction Since 5.20.0, `generate()` crashes for encoder-decoder models and for vision-language models that pass `mm_encoder_outputs` whenever the ids driving the loop are on a different device than the model....huggingface/transformers · digit501 repliesOpen ↗GitHub issuesOct 17 4 days agoprefill_chunk_size drops image inputs, VLMs generate without the image### System Info ### Who can help? @zucchini-nlp ### Reproduction With `prefill_chunk_size` set, a vision-language model never receives the image during prefill. Every chunked forward is called without `pixel_values` or `mm_encoder_outputs`, so the output does not depend on the...huggingface/transformers · digit503 repliesOpen ↗GitHub issuesOct 7 2 weeks ago[Whisper] batch_decode(..., decode_with_timestamps=True) merges rows or raises on the tensor returned by generate### System Info - `transformers` main at a96730c8c97b8efbf35bbaf7f5da33ec99231a49 (2026-10-07) - Python 3.10, torch 2.11.0, tokenizers 0.23.1, macOS (arm64); also seen on Linux x86_64 ### Reproduction `processor.batch_decode(..., decode_with_timestamps=True)` works on a list of...huggingface/transformers · tarekziade2 repliesOpen ↗GitHub issuesOct 5 2 weeks agogenerate() chunked prefill slices the batch axis of multi-axis position_ids (Qwen3-VL)## System Info transformers main (26c0a7fd94), torch 2.9.0, Python 3.10. Fails the same way on CPU and CUDA. ## Who can help? @Cyrilvallez @zucchini-nlp ## Reproduction With `prefill_chunk_size` set, `_prefill` cuts each chunk's position ids with `position_ids[:,...huggingface/transformers · dacorvo1 repliesOpen ↗Community forumsOct 2 2 weeks agoHow can i create file that can generate videoHugging Face Forums · KayswitchOpen ↗GitHub issuesSep 23 4 weeks ago[Bug]: DefaultEmbeddingFunction reloads the ONNX model on every generate() call...Only the JS `DefaultEmbeddingFunction` rebuilds it on every call. **Workaround:** subclass `DefaultEmbeddingFunction` and override `generate()` to reuse a module-level pipeline promise. Fix with tests: #7792 ### Versions `@chroma-core/default-embed` 0.1.9 (latest),...chroma-core/chroma · ranjithkumar8352Open ↗

Companies and products named

About this problem

Evidence

6 posts from 5 people in 3 places, about 2 a week over 25 days. Mostly on huggingface/transformers, chroma-core/chroma, Hugging Face Forums. Tools named alongside: GitHub, Chroma, NVIDIA.

Frustration Frustration 0 of 3· Seen on GitHub issues, Community forums

How it was grouped

Posts about Hugging Face with no known issue, sharing the word "generate". First post Sep 23, 2026, latest Oct 17, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method

History

MomentumOct 21, 2026steady to rising
MomentumOct 20, 2026fading to steady
MomentumOct 14, 2026steady to fading
AddedOct 11, 2026Trouble with Hugging Face generate (4 posts)