ErrLookup › huggingface/transformers

huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training. · Python · 3,011 source files

Analyzed at a597f97485 on 2026-08-14. 523 documented errors.

Code / MessageTypeSeverityTags
Tensor parallelism was requested, but WORLD_SIZE is not set…
exception error deepgemm, kernels, version-conflict, installation
Failed to convert
exception error weight-conversion, model-loading, chunk, checkpoint
' ' is a per-layer attribute and may vary across layers…
validation error config, heterogeneity, attribute-access, ambiguity
TP and DP cannot be used together
exception error bitsandbytes, quantization, hardware, cuda, installation
Weight shape ( , ) not divisible by scale grid ( , ).
exception error fp8, mxfp4, dequantization, checkpoint-mismatch, shape-validation
Unsupported channel dimension
validation error image-processing, channel-dimension, enum, argument-validation
backbone_type not supported.
exception error backbone, internal, defensive, config
Config has `out_features` set to
exception error backbone, timm, config, checkpoint-mismatch
Cannot specify both size as an int, with…
exception error image-processing, config, resize, valueerror
Error with input length
validation error tokenization, padding, max-length, truncation
Error loading audio
exception error deepspeed, training, config-mismatch, trainer
Unsupported format
validation error image-processing, padding, argument-validation, numpy
File not found
exception error deepspeed, zero, config, hidden-size, training
Fp8Dequantize: weight/scale count mismatch for
exception error fp8, moe, checkpoint-corruption, state-dict, dequantization
Cannot reshape tensor with shape
exception error weight-conversion, conv3d, reshape, shape-mismatch
Attention sinks cannot be run on CPU with flex attention…
exception error flex-attention, attention-sinks, cpu, device, lse
Cannot flatten a bound method for pytree context
exception error export, dynamo, pytree, model-limitation
Cannot assign to field
exception error weight-conversion, immutability, api-misuse, programmer-error
Unsupported data format
validation error image-processing, channel-dimension, enum, argument-validation
Depending on the model, `size_divisor` or `pad_size` or…
validation error image-processing, preprocess, padding, argument-validation, configuration
The following attributes are missing
exception error heterogeneity, config, missing-attribute, per-layer, validation
Incorrect image source. Must be a valid URL starting with…
validation error image-processing, io, base64, file-path, loading
source keys= , target_patterns= but you can only have one…
exception error weight-conversion, cardinality, validation, programmer-error
Failed to load the finegrained-fp8 kernel — check that…
exception error fp8, quantization, kernels, torch-cuda-mismatch, import-error
Invalid input type. Must be a single audio or a list of…
exception error audio, input-validation, type-error
Multiple different capturing groups found in target_patterns
exception error weight-conversion, regex, pattern-mismatch, programmer-error
Could not make a flat list of images from
validation error image-processing, shape-validation, nesting, batching
Failed to convert `generate_flags` into a valid JSON…
validation warning cli, chat, json-parsing, generate-flags, valueerror
Invalid input type. Must be a single image, a list of…
validation error image-processing, shape-validation, nesting, batching
`rescale_factor` must be specified if `do_rescale` is…
validation error image-processing, preprocess, argument-validation, configuration
Expected pattern in collected tensors but only found…
exception error weight-conversion, moe, pattern-mismatch, model-loading
finegrained-fp8 kernel unavailable
exception error fp8, quantization, kernels, import-error, optional-dependency
Config has `stage_names` set to
exception error backbone, timm, config, checkpoint-mismatch
Unable to infer channel dimension format
validation error image-processing, channel-dimension, shape-inference
DeepGEMM has no float32 scale-factor path on Blackwell…
exception error
Failed to allocate blocks for request
exception critical continuous-batching, kv-cache, internal-invariant, concurrency, memory
Stop string preprocessing was unable to identify tokens…
validation error stop-strings, tokenizer-vocabulary, unicode, stopping-criteria, generation
The audio source is a
exception error deepgemm, megamoe, fp4, checkpoint-config, moe
Layer type ' ' requested, but config.layer_types is not…
exception error heterogeneity, config, layer-types, indexing
PermuteForRope expects a single tensor per key.
exception error weight-conversion, rope, permutation, model-loading
One of the two arguments is not a Cache
validation error cache, typeerror, encoder-decoder, constructor, transformers
can't find in , check dependency_versions_table.py
exception error dependencies, version-check, contributor, configuration
` ` is only defined for dynamic cache, got for the self…
validation error cache, typeerror, dynamic-cache, static-cache, transformers
No baseline with name
exception error deepgemm, kernels, cuda, torch, installation, network
Input ids should be of shape (batch_size, input_len), but is
validation error pytorch, shape-validation, generation, logits-processor
Invalid channel dimension format
validation error image-processing, channel-dimension, enum, batching
batched_mm experts dispatch does not support…
exception error fp8, moe, quantization, config-mismatch, not-implemented
Invalid padding mode
validation error image-processing, padding, enum, argument-validation
out_features must be in the same order as stage_names…
exception error backbone, configuration, validation, ordering
DebugUnderflowOverflow: inf/nan detected, aborting as there…
exception error debugging, numerical-stability, mixed-precision, nan
Once the sliding window size has been reached…
exception error cache, kv-cache, sliding-window, generation
This method should be implemented by the derived class.
exception error backbone, not-implemented, abstract, subclassing
Unknown type for trial
exception error hpo, optuna, dependencies, trainer
Invalid image shape. Expected either
validation error image-processing, shape-validation, batching
`top_p` has to be a float > 0 and < 1, but is
validation error generation, top-p, nucleus-sampling, argument-validation
Layer type ' ' is not homogeneous across layers (layer…
validation error config, heterogeneity, per-layer-overrides, validation
Cannot reverse the transform with TP or quantization
exception error quantization, reverse-conversion, save-pretrained, unsupported-operation
No real solution (discriminant = )
exception critical memory, solver, continuous-batching, math
Could not load kernel class from hub_repo=
validation error hub-kernels, loading, network
Current shard-on-read only supports disjoint ranges on a…
exception error tensor-parallel, sharding, checkpoint-loading, distributed
WeightConverter requires at least one operation.
exception error weight-conversion, validation, programmer-error
Invalid value for `do_sample`: expected a boolean, got
validation error generation, assisted-decoding, type-validation, do-sample
Training input is not a string
validation error xnli, data-processing, file-format, validation
Cannot flatten for pytree context
exception error export, dynamo, pytree, serialization
Layer type ' ' not found in config.layer_types: . Available…
exception error config, heterogeneity, layer-types, validation
Stage_names must be set for transformers backbones
exception error backbone, configuration, validation, computer-vision
Unknown backend ; expected 'auto', 'torchcodec', 'librosa'…
exception error deepgemm, megamoe, tensor-shape, moe, model-config
grouped_mm experts dispatch does not support…
exception error fp8, moe, quantization, config-mismatch, not-implemented
No valid predictions
validation error squad, metrics, question-answering, evaluation
finegrained-fp8 kernel is missing required symbols
exception error fp8, quantization, kernels, version-mismatch, import-error, cache
Argument ` ` is not a valid argument of `GenerationConfig`…
validation error generation-config, api-misuse, validation
Expected exactly one kernel repo regardless of device/mode…
validation error kernels, kernel-mapping, config-validation, kernelize
Invalid image type
validation error image-processing, type-checking, numpy, argument-validation
You have provided `mel_filters` but `power` is `None`. Mel…
exception error audio, mel-spectrogram, argument-validation
Can't load the configuration of
exception error generation-config, huggingface-hub, network, loading
Invalid hub repo for layer
validation error kernel-config, validation, hub-kernels
`flex_attention` does not support `dropout`. Please use it…
exception error flex-attention, attention, dropout, config, training-vs-inference
Missing librosa dependency for audio transcription. Install…
exception error dependency, audio, serving, importerror
Could not convert size input to size dict
exception error image-processing, type-coercion, config, valueerror
You are attempting to pad samples but the tokenizer you are…
exception error data-collator, padding, tokenizer, pad-token
out_indices must be in the same order as stage_names…
exception error config, backbone, validation, ordering
The following layers have the mutually exclusive…
exception error heterogeneity, config, sliding-window, attention, mutually-exclusive
Unrecognized image type
validation error image-processing, type-checking, argument-validation
Invalid return_format
exception error deepspeed, trainer, lifecycle, dtype
list index out of range
validation error config, index-error, heterogeneity, off-by-one
Unknown exporter type, got
exception error export, config, registry, validation
Saving an FSDP-wrapped model requires torch.distributed to…
exception error fsdp, distributed, checkpointing, process-group
Unsupported config file format
exception error deepgemm, fp8, static-quantization, activations
Can't load feature extractor for
exception error python, transformers, feature-extractor, hub-download, from-pretrained
`crop` was called, but the current layer does not track…
exception error cache, kv-cache, sliding-window, generation
No module matched pattern
validation error hub-kernels, fusion, pattern-matching, model-structure
Passing both `cache_implementation` (used to initialize…
validation error generation, cache, past-key-values, cache-implementation, conflicting-arguments
`prompt_ignore_length` has to be a positive integer, but is
validation error generation, repetition-penalty, argument-validation
CUDA is not available in this environment; cannot export to…
exception error export, executorch, cuda, environment, hardware
No benchmark was run successfully
exception error deepgemm, fp8, scale-format, ue8m0, blackwell
Source pattern ' ' contains \\1 backreference, but no…
exception error weight-conversion, regex, backreference, programmer-error
Greedy methods (do_sample != True) without beam search do…
validation error generation, generation-config, decoding, validation
must have one of the following set of keys: , got
validation error image-processing, config, validation, valueerror
decompose_prefill_decode failed for
exception error export, generation, inputs, transformers
tokens and scores need to be passed for a LLaMa tokenizer…
exception error gguf, tokenizer, metadata-parsing, llama-spm