hiyouga/LlamaFactory
Documented errors, page 4 of 4. Back to hiyouga/LlamaFactory
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| vLLM not install, you may need to run `pip install vllm` or… | exception | error | installation, vllm, backend, import-error, inference |
| `context_parallel_size` must be >= 1. | validation | error | config, megatron, context-parallelism, long-context |
| HFModel instance is required for | validation | error | kernels, model-loading, validation |
| Cannot initialize PiSSA adapter on quantized models. | validation | error | pissa, qlora, lora-init, quantization |
| Cannot specify `val_size` if `dataset` is None. | exception | error | config, data-args, validation-split |
| Could not resolve hostname | http | error | security, ssrf, dns, network, http-400 |
| `expert_model_parallel_size` must be >= 1. | validation | error | config, megatron, moe, parallelism |
| Please specify export_dir. | validation | error | peft, export, configuration |
| Qwen3.5 packing-seq forwarding requires… | exception | error | |
| Cannot use `predict_with_generate` and `compute_accuracy`… | validation | error | evaluation, mutually-exclusive, compute-accuracy, predict-with-generate, config-validation |
| cross_entropy and fused_linear_cross_entropy cannot both be… | validation | error | kernels, liger, config, conflict |
| Cannot use device map for quantized models in training. | validation | error | quantization, device-map, qlora, training, config-validation |
| Please use `FORCE_TORCHRUN=1` to launch DeepSpeed training. | validation | error | deepspeed, distributed, torchrun, config-validation |
| dp_size * cp_size must equal to world_size, got | exception | error | distributed-training, v1, configuration, context-parallelism |
| `pipeline_model_parallel_size` must be >= 1. | validation | error | config, megatron, parallelism, distributed |
| `reward_model` is necessary for PPO training. | validation | critical | config, ppo, rlhf, reward-model |
| SGLang not install, you may need to run `pip install… | exception | error | installation, sglang, backend, import-error, inference |
| NpuSwiGluKernel requires torch_npu. | exception | error | dependencies, npu, torch-npu, swiglu |
| DPO trainer currently only supports cp_size == 1. | validation | error | dpo, distributed, context-parallelism, not-implemented |
| NpuFusedMoEKernel requires NPU, current accelerator is | exception | error | device-check, npu, moe, kernel-plugin |
| Tool utils ` ` not found. | exception | error | tools, config, typo |
| Liger kernel is not installed. | exception | error | kernels, liger, dependencies, install |
| ChatGLM model is not supported yet. | exception | error | gptq, export, chatglm, model-support |
| NpuSwiGluKernel requires NPU, current accelerator is | exception | error | device-check, npu, swiglu, kernel-plugin |
| Template does not exist. | exception | error | template, config, typo |
| The current model does not support `chat`. | exception | error | model-loading, hf-engine, inference, model-type |
| Evaluation will be deprecated in the future. | exception | warning | deprecated, eval, launcher, not-implemented |
| Megatron Bridge only supports `full` and `lora` finetuning. | validation | error | megatron, config, finetuning-type, validation |
| HQQ quantization is incompatible with DeepSpeed ZeRO-3 or… | exception | error | hqq, quantization, deepspeed, fsdp, zero3 |
| vLLM engine only supports auto-regressive models. | validation | error | vllm, infer-backend, stage, reward-model |
| Please specify `export_dir` to save model. | exception | error | export, config, merge |
| Invalid URL hostname. | http | error | security, ssrf, url-validation, http-400 |
| Dataset converter already exists. | exception | error | registry, plugin, dataset, converter |
| `--project` must be specified when using Trackio. | validation | error | trackio, reporting, config, llamafactory |
| Unsupported Flash Linear Attention kernels | validation | error | configuration, validation, version-skew, kernel-plugin |
| MOSS-VL encountered an incomplete video token block after… | exception | error | multimodal, moss-vl, video, truncation, cutoff-len, video-maxlen |
| Please specify dataset for training. | validation | error | dataset, training, config-validation, yaml |
| Unknown finetuning type | exception | error | finetuning-type, typo, config, not-implemented |
| Model type ` ` is not supported by the Megatron Bridge… | exception | error | |
| EETQ only accepts 8-bit quantization. | exception | error | eetq, quantization, config-validation |
| mcore_adapter is not installed. Please install it with `pip… | exception | error | mca, megatron-core, optional-dependency, installation |
| Invalid request | http | error | api, validation, scoring, http-400 |
| NpuFusedMoEKernel requires torch_npu. | exception | error | dependencies, npu, torch-npu, moe |
| RM trainer currently only supports cp_size == 1. | validation | error | reward-model, distributed, context-parallelism, not-implemented |
| Unknown dataset filetype | validation | error | data, file-format, dataset-loading, validation |
| Unsloth is incompatible with DeepSpeed ZeRO-3. | validation | error | unsloth, deepspeed, zero-3, lora, incompatible-flags |
| Multimodal plugin ` ` not found. | exception | error | plugin-registry, multimodal, config-typo, version-compat |
| Unsupported protocol in path | exception | error | cloud-storage, fsspec, dataset, config |
| Environment information is not implemented yet. | exception | warning | cli, not-implemented, v1-api, environment |
| NpuRMSNormKernel requires NPU, current accelerator is | exception | error | device-check, npu, rmsnorm, kernel-plugin |
| `pure_bf16` is incompatible with DeepSpeed ZeRO-3. | validation | error | pure-bf16, deepspeed, zero-3, incompatible-flags |
| AutoGPTQ only accepts 2/3/4/8-bit quantization. | exception | error | gptq, export, quantization, config-validation |
| NpuRoPEKernel requires NPU, current accelerator is | exception | error | device-check, npu, rope, kernel-plugin |
| EETQ quantization is incompatible with DeepSpeed ZeRO-3 or… | exception | error | eetq, quantization, deepspeed, fsdp, zero3 |
| kernel_config.name must contain at least one kernel name. | validation | error | kernels, config, validation |
| Unknown backend | exception | error | configuration, backend, enum, validation |
| Please specify `max_steps` in streaming mode. | validation | error | streaming, dataset, max-steps, config-validation |
| Undefined dataset in . | exception | error | dataset-config, config-typo, json, data-preparation |
| Unsupported dummy media modality | validation | error | multimodal, api-misuse, dummy-data, rendering |
| LFM2.5-VL model requires transformers>=4.58.0 or install… | exception | error | |
| LigerKernel requires CUDA or NPU, current accelerator is | exception | error | kernels, device, liger, hardware |
| kernel_config.name must be a string. | exception | error | kernels, config, type-error, validation |
| NpuRMSNormKernel requires torch_npu. | exception | error | dependencies, npu, torch-npu, rmsnorm |
| Unsloth is currently not supported for OFT. | validation | error | unsloth, oft, finetuning-type |
| FlashLinearAttentionKernel requires CUDA or NPU, current… | exception | error | kernels, device, fla, hardware |
| NpuRoPEKernel requires torch_npu. | exception | error | dependencies, npu, torch-npu, rope |
| Invalid index type . | validation | error | data, indexing, api-misuse, v1-api |
| MiniCPM-V model does not support input images and videos at… | exception | error | multimodal, minicpm-v, mixed-media, unsupported-feature |
| Cannot stream multiple responses. | http | error | api, streaming, sampling, http-400 |
| KTransformers only supports LoRA finetuning. | validation | error | ktransformers, lora, finetuning-type |
| megatron-bridge is not installed. Please install it with… | exception | error | |
| Model is not supported by mcore_adapter.You can try to… | exception | error | |
| MOSS-VL does not support audio inputs. | exception | error | multimodal, moss-vl, audio, unsupported-feature |
| Please download the internvl models in a Hugging… | exception | error | |
| Version information is not implemented yet. | exception | warning | cli, not-implemented, v1-api, version |
| HyperParallel CP training requires a map-style dataset… | exception | error | |
| Cannot inject into chat template: no ` ` block found. | exception | error | |
| Please download llava models with hf-compatible format… | exception | error | |
| HyperParallel trainer requires Accelerate FSDP2 mode to be… | exception | error | |
| InternLM3 model requires transformers>=4.47.1, please… | exception | error | |
| Failed to inject into chat template. | exception | error | |
| PPOTrainer does not support eval dataset yet. | exception | error | |
| Trainer: training requires a train_dataset. | exception | error | |
| Mismatched shape of inputs and labels. | exception | error | |
| Unknown loss type: . | exception | error | |
| Please update `transformers`. | exception | error |