Choose LlamaFactory for shared training configurations
Use LlamaFactory when reusable configurations and a browser interface save repeated trainer work; skip it when every selected model must reach serving without conversion. Our October 11 run at commit 1fded91 installed in 122 seconds and built in 5 seconds, then tests exited 1 with three collection/setup errors. In issue #8086, hongshi97 describes additional conversion and file handling before working InternVL3 inference.
LlamaFactory fine-tunes language and vision-language models through a command line or browser interface. Fine-tuning changes a model using training examples; the project brings several model families and training methods into a shared workflow. Its README lists Llama, Qwen, Mistral, Gemma and multimodal tasks, alongside training, inference and export commands. The practical attraction is reusing that workflow when you change experiments rather than writing another trainer.
The selection decision includes the exported result. Training configuration determines what the job learns, while the serving configuration determines how an application loads and uses it. The README separates training, chatting and adapter merging into distinct commands. That separation gives a useful acceptance sequence: prepare the examples, train the selected configuration, evaluate its answers, and load the resulting artifact in the intended inference engine.
What people use LlamaFactory for
LlamaFactory's tutorial authors report image identification, basketball action recognition and Chinese chess transcription results, with different evaluation methods for each task. The Qwen3.5 robot tutorial uses Qwen3.5-9B with LoRA, which trains adapter weights rather than the entire model. Its authors report identifying MagicBot Z1 in a manual chat check after the original model described the robot as a person in a costume.
The MOSS-VL basketball tutorial reports correcting a layup classification to a two-point jump shot after full fine-tuning. The clip was outside the training set. The original model already identified the player, shot attempt and made basket; the reported change concerned the action label. This is a concrete task for adaptation because the desired difference is specific enough to inspect in the output.
The MOSS-VL authors evaluated Chinese chess transcription on 200 synthetic videos excluded from training. They report LCS Recall increasing from 7.1% to 83.1%. LCS Recall measures the longest move sequence shared by the prediction and reference in the correct order, divided by the reference length. That makes the result more informative than a single attractive example: it names the evaluation set, metric and reported change.
Noob ML Dude's identity-training video shows the model using Noob Gamma and then confusing the model and creator identities. The presenter tries follow-up prompts and clears the history while examining the answers. The sequence illustrates a useful evaluation habit: include questions that distinguish related facts, rather than accepting one response containing the desired name as the entire result.
What happened when we ran it
Our run at commit 1fded91 installed in 122 seconds and built in 5 seconds. The October 11, 2026 measurements recorded 161 dependencies and 6,340 MB on disk. The sandbox configuration specified 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. The source checkout contained 615 files, approximately 64,825 source lines and 13.9 MB; the scan found eight CI workflow files and a tests directory.
| Recorded step | Answer | Verdict | Why |
|---|---|---|---|
| October source installation | 122 seconds; 161 dependencies; 6,340 MB | Passed | The installation step exited 0 |
| October build | 5 seconds | Passed | The build step exited 0 |
| October tests | 738 seconds; 327 passed; 0 failed assertions; 23 skipped; 3 collection/setup errors | Failed | The test command exited 1 |
| October pip-audit | 63 known vulnerabilities | Findings recorded | The audit count requires dependency-level investigation |
| November application attempt | Safety check rejected the repository because no accepted Compose filename was found | Stopped | The lab required a Compose file before proceeding |
| November teardown | ok | Completed | The teardown record reports completion |
The test tail names errors in scripts/api_example/test_image.py, scripts/api_example/test_toolcall.py and tests_v1/plugins/data_plugins/test_converter.py. Pytest also reports 3 expected failures, 4 unexpected passes and 18 warnings, with an internal duration of 708.16 seconds. The enclosing test step took 738 seconds. Those durations describe different scopes; neither changes the command's exit status or the three recorded errors.
The warning immediately above the summary says pinned memory was enabled although no accelerator was found. The checkout scan detected no Dockerfile or Compose file, while the current README gives hardware-specific Docker instructions. The October scan and the November safety rejection describe the lab's checks. The upstream CUDA instructions begin in docker/docker-cuda/, so a root-level Compose requirement and the documented container route examine different locations.
The November 20 setup record describes a deployment with ports bound to 127.0.0.1. The subsequent safety step failed with unsafe repo: none of compose.yaml, compose.yml, docker-compose.yaml, docker-compose.yml exists (rule: a compose file is required). Our November application attempt stopped at that Compose-file safety check, and teardown returned ok.
Where people get stuck: training and serving use different artifacts
Issue #8086 reports working InternVL3 inference after adapter merging, checkpoint conversion, configuration handling and removal of an index file. The discussion distinguishes converting an adapter from converting the complete merged checkpoint. That distinction belongs in an export decision because the artifact produced during training must match the format and accompanying files expected by the selected inference implementation.
| Report | What happened | Reported remedy and status |
|---|---|---|
| hongshi97, issue #8086 | The discussed InternVL3-HF checkpoint needed conversion for vLLM | Merge LoRA, convert the complete checkpoint and use matching configurations; the user also removed model.safetensors.index.json and reported working inference |
| Luffy966, issue #7767 | Qwen2.5-Omni training hung with role images in the system message | Put the role setup in the first user turn, followed by an assistant acknowledgment; the reporter said this alternative ran |
| sweetning0809, issue #4388 | Phi-3 tokenizer loading attempted an external download despite a local tokenizer file | Configure TIKTOKEN_CACHE_DIR and the expected hashed filename; the download problem was resolved and a separate FlashAttention blocker followed |
| ChatGLM3 users, issue #1307 | An exported model failed to load, followed by tokenizer problems | Replies suggested original non-weight files and replacement tokenizer configuration; a later user reported unchanged model behavior |
In the InternVL3 thread, hongshi97 says removing model.safetensors.index.json from the replacement weight directory was necessary for vLLM to run. The file removal followed the conversion advice and configuration handling. Preserve an untouched checkpoint before applying that thread's workaround: the report concerns a particular directory state, and deleting an index file changes how a loader discovers model weights.
The Omni report concerns conversation layout. Luffy966 wanted role instructions and images in the system message; the successful alternative put them in the first user message and added an assistant acknowledgment before the real conversation. In ChatGLM3's thread, the initial error names a missing config.json. These reports make auxiliary files and message structure part of troubleshooting, alongside the trained weights themselves.
Qwen performance reports name different workloads
Issue #10221 reports Qwen3.5-27B full supervised fine-tuning taking at least four times as long as Qwen3 14B/32B in the reporter's setup, with fluctuating GPU utilization. Supervised fine-tuning, or SFT, learns from examples of desired responses. The reporter says switching to qwen3_5_nothink had little effect; participants discuss Flash Linear Attention and compatible Triton installations.
The robot tutorial uses LoRA, while #10221 describes full fine-tuning with a text dataset and DeepSpeed configuration. Those jobs update different sets of weights and use different workloads. A useful configuration record therefore includes the exact model, training method, template and dependency versions. A tutorial's result for one recipe supplies a starting point for that recipe rather than a general throughput estimate.
In issue #9282, kanqgg reports ValueError: Processor was not found, please check and update your model file. A commenter suggests an older Transformers version is responsible, but kanqgg replies that Transformers is already 4.57.1 and LlamaFactory freshly pulled. The exchange records a disputed diagnosis. Preserve the complete loading error and package versions when comparing it with your own configuration.
Local execution includes assets, caches and experiment logs
Our installation occupied 6,340 MB, and pip-audit reported 63 known vulnerabilities. The measured dependency audit belongs alongside the successful installation result because installation success and an acceptable dependency inventory answer different questions. The environment also needs model assets and training data, which are separate from the recorded checkout and installed dependency sizes.
The Phi-3 report in issue #4388 describes tokenizer code attempting an external download. The user resolved that download problem using TIKTOKEN_CACHE_DIR and an expected hashed filename, then encountered a separate FlashAttention assertion. A local weight directory and a tokenizer cache serve different loading steps. An offline deployment checklist needs both assets, with the cache naming expected by the tokenizer implementation.
The README permits datasets from local disk, model hubs and cloud storage. It also documents W&B and SwanLab logging, including their account credentials. Model access, dataset access and experiment logging are therefore separate configuration choices. Decide which storage and monitoring services a training job may use before adopting an example configuration, particularly when the dataset contains material restricted to a specific environment.
English documentation separates hardware routes
LlamaFactory has an English README and English documentation covering model families and training methods. The source installation instructions use pip install -e ., while Windows and Ascend have additional instructions. Windows users receive GPU PyTorch, bitsandbytes and FlashAttention guidance; Ascend instructions require extra dependencies, the CANN toolkit and kernels. Several troubleshooting threads discussed here contain Chinese replies with model-specific details.
For CUDA containers, the README starts with cd docker/docker-cuda/ before docker compose up -d. Ascend has separate paths and profiles. The official agent-assisted SFT tutorial describes Qwen3.5-2B LoRA training, validation and export on an AMD Radeon PRO W7900 with ROCm 7.2.1. These are distinct environment recipes, so retain the hardware route with the configuration you choose.
LlamaFactory vs Unsloth, llama.cpp and FrameTrain
LlamaFactory's README lists Unsloth among its practical training integrations. The README's feature list makes the choice partly about workflow ownership: you can choose LlamaFactory's configurations while using a supported acceleration integration. Studio's interface, an existing GGUF inference stack and a desktop training application address additional decisions about preparing data and running the resulting model.
| Option | Evidence-backed role | When to consider it |
|---|---|---|
| LlamaFactory with Unsloth | The README lists Unsloth as an integration | You want LlamaFactory configurations with a supported acceleration option |
| Unsloth Studio | A representative describes visual Data Recipes, side-by-side model comparison and UI export | Those interface functions address your dataset and evaluation workflow |
| llama.cpp with Open WebUI | Rohit_RSS reports using this stack for GGUF inference alongside LlamaFactory training | You want to retain an existing inference arrangement |
| FrameTrain | Its vendor describes a desktop app covering datasets, image models, versioning and testing | A desktop workflow is a primary requirement |
Rohit_RSS reports using llama.cpp with Open WebUI for inference and LlamaFactory for fine-tuning. In the r/unsloth comparison thread, the user asks about consolidating that stack, including GPU and CPU offloading and retrieval over documents. A Studio representative replies with interface features. FrameTrain's own comparison page describes its desktop positioning, so attribute those product descriptions to the vendor when weighing the options.
What the other reviews get wrong
AIIndigo's two reviews describe freemium pricing, while the LlamaFactory paper identifies Apache-2.0 licensing. The Pragmatic Choice for Model Fine-Tuning calls the pricing model freemium; The Swiss Army Knife of Model Fine-Tuning describes a free tier and possible paid options. The paper's licensing statement supports describing the repository as open source. Compute charges are a separate expense from repository licensing.
The Swiss Army Knife review also calls LLaVA the option for multimodal tasks. The Qwen3.5 image and MOSS-VL video tutorials document other choices. SourceForge describes LlamaFactory around Meta's LLaMA models, while the project's own documentation includes Qwen, Mistral and Gemma. These corrections affect which model a reader would consider, rather than merely changing the wording of a feature list.
A video's claim of no format-conversion scripts conflicts with the conversion sequence in #8086. Ruby Thalib's tutorial uses data/datasetinfo.json, filename and modelnameorpath; the repository instructions and configuration examples use data/dataset_info.json, file_name and model_name_or_path. The README also names SGLang alongside other inference routes, extending the two-engine description in the older documentation.
AIIndigo's statement that nothing leaves the environment also needs correction: issue #4388 records an external tokenizer download attempt. The current upstream README supplies another correction to older coverage: it lists Qwen3.8 at 27B and 2.4T with template qwen3_8. Keep that current documentation separate from what ran at commit 1fded91; the documented model table and the October measurements answer different questions.
FAQ
LlamaFactory's current README lists Qwen3.8 at 27B and 2.4T with template qwen3_8. That answers the model-list question directly from the upstream supported-model table. Other recurring questions concern the WebUI command, custom dataset registration and whether Studio can replace an existing training and inference stack. The answers below distinguish documented commands from attributed tutorial and community outcomes.
Does LlamaFactory support Qwen3.8?
The current README lists Qwen3.8 at 27B and 2.4T with template qwen3_8. Its model-table notes require the same template in training and inference, and some model entries have additional Transformers requirements. Use the requirements associated with your selected revision. The Qwen3.5 robot tutorial covers a different model and recipe; it is not the source for the Qwen3.8 listing.
How does LlamaFactory compare with Unsloth?
The README lists Unsloth as an integration, while the Studio discussion describes dataset preparation, model comparison and export through its interface. Choose around the workflow you need to change. If training already works and inference is the concern, include your current serving engine in the comparison rather than treating the training interface as the entire application.
Why does my shell say llamafactory-cli command not found?
The README makes installation mandatory and installs the source project with pip install -e .. Establish whether that installation completed in the environment your shell uses, then inspect the command's availability there. The documented CLI includes help, training, chat, export and WebUI entry points, which separates locating the installed command from troubleshooting a particular model-loading error.
How do I launch the LlamaFactory WebUI?
The README launches the interface with llamafactory-cli webui. Its quick start separately documents training, chat and export commands using YAML configurations. The browser interface exposes configuration and monitoring, while the selected model, training method and hardware route determine the job's requirements. Keep the model identifier and configuration alongside any saved experiment result.
How do I fine-tune Qwen3.5 with LlamaFactory?
The robot tutorial uses Qwen3.5-9B, an image-conversation dataset and LoRA through the WebUI. Its reported outcome is a manual identification of MagicBot Z1 after training. That recipe addresses a narrow image distinction. For a different task, prepare representative examples and acceptance questions that describe the behavior you want to change, then retain the exact model and template with the experiment.
Can Unsloth Studio replace both LlamaFactory and llama.cpp with Open WebUI?
Rohit_RSS asks that question after reporting LlamaFactory training alongside llama.cpp and Open WebUI inference. The user's concerns include GGUF optimizations, GPU and CPU offloading, and retrieval over documents. The representative's reply describes visual dataset recipes, side-by-side models and UI export. Those are concrete features to compare against the functions your existing stack performs.
Does Unsloth Studio support AMD ROCm GPUs for training?
A commenter in the Studio discussion reports a warning requiring NVIDIA for training and GPU inference. Attribute that warning to the reported Studio setup. The separate LlamaFactory W7900 tutorial concerns LlamaFactory on ROCm 7.2.1. Keep application name, hardware and software version together when reading those accounts, because an AMD example for one application addresses that application's workflow.
How do I resolve conflicting PyTorch requirements when using Qwen in the WebUI?
A user in r/machinelearningnews reports PyTorch requirements of 2.5.1+cu124 and 2.7.1 during the attempted workflow. The thread records the conflict rather than a working replacement configuration. Retain the full dependency resolver error, model identifier and installed versions when troubleshooting. The README's general requirements and model-specific exceptions are the relevant starting points for selecting a compatible environment.
Can beginners fine-tune an LLM without writing training code?
The five-minute setup presenter completes a small training exercise through LlamaBoard on an M1 Max. LlamaBoard supplies the interface for that exercise. The identity-training video adds the next practical lesson: examine follow-up answers after training, including questions that distinguish the model's name from its creator's name. Configuring a trainer and evaluating its result are separate parts of the work.
How do I create and format my own fine-tuning dataset?
The README requires custom dataset registration in data/dataset_info.json and points to the data format guide. The MOSS-VL example maps conversation messages and video files explicitly. Match those mappings to the records you actually have, and keep a small inspectable sample with the configuration. A JSON file's extension alone does not describe its conversation layout or media references.
Can I train a small model locally on an Apple Silicon Mac?
The setup presenter reports training a 270-million-parameter model with 100 Alpaca demo samples on an M1 Max. The video shows training finishing and discusses its loss curve. This gives a concrete small-model exercise to examine when learning the interface. Preserve those model and sample sizes when describing the example, rather than turning it into a hardware recommendation for larger training jobs.
How can I change a model's identity or branding with the identity dataset?
Noob ML Dude edits the identity examples and trains through the WebUI. The model eventually answers with Noob Gamma, then confuses the creator and assistant identities under further questioning. Include both facts in your evaluation questions and vary their wording. The useful acceptance result is consistent answers to those distinctions, rather than the appearance of the desired name in one response.
What does the LlamaFactory GRPO discussion show?
Issue #6792 requests integrating GRPO for reasoning-model training. The current README separately announces EasyR1 as a framework for efficient GRPO training. These are different project references: one is an integration request in LlamaFactory, and the other names a separate framework. Keep the requested algorithm, project and installed revision together when deciding which documented workflow to follow.
What we have not tested yet
Our October run measured installation, build, tests and an audit count at commit 1fded91; the November application attempt stopped before an application task. GPU training, task quality, training memory, WebUI behavior, successful export and inference serving remain outside our lab results. The blocked attempt produced no screenshots or known-answer task outcomes. The setup record's deployment wording does not demonstrate a running application after the safety rejection.
The current README documents Qwen3.8 sizes and template, but we have not tested those models or established their support at measured commit 1fded91. Actual runtime and operating-system versions require raw toolchain logs. The test tail omits the exceptions behind the three collection/setup errors, and the audit summary omits package and severity details. Neither the image label nor the accelerator warning resolves those evidence gaps.
A controlled LlamaFactory-versus-Unsloth speed, memory or quality comparison remains untested. The Studio thread supplies no completed migration covering all the requested inference functions, and the Qwen dependency discussions supply no confirmed general fix. Built-in GRPO execution at the measured revision, offline completeness, interface language behavior and deployment authentication also remain outside our assessed scope. Historical workarounds apply to their reported configurations rather than guaranteeing current compatibility.
The robot and MOSS-VL outcomes are their authors' evaluations; the 200-video chess result concerns synthetic recordings. Anonymous production case studies lack named customers and a measurement method in the extracts, so they do not establish measured adoption. The next useful result is a small held-out task that survives training and loading in the intended serving engine, with the configuration and resulting answers kept together.


