generate() fails with KeyError/AttributeError when input_ids are off the model device
Public issue #49699 in huggingface/transformers. The source issue contains the full report and discussion.
Read original sourceSource record
Research analysis
Reported problem
The record contains the title “generate() fails with KeyError/AttributeError when input_ids are off the model device” but no substantive source summary.
Frequency & alternatives
Recent records to compare: “Inference speedup for compiled granite_speech5 models” (GitHub Issues, Nov 13, 2026); “Seeded DataCollatorForLanguageModeling reuses the wrong RNG after switching tensor formats” (GitHub Issues, Nov 13, 2026). Shared themes are navigation hints; they have not been verified as the same need or independent corroboration.
Demand hypothesis
Treat the reported task or obstacle as an interview lead. A feature request, complaint or search for alternatives does not by itself identify a budget owner or willingness to pay.
Commercial evidence gaps
Missing evidence: distinct affected users, repeated occasions, current workaround, measured time or money cost, purchasing authority and a response to a concrete offer.
Validation decision
Group original reports by the same task and deduplicate authors and reposts. Ask how the task is handled today and what it costs; test a defined offer before claiming paid demand.