Files
enginex-ascend-910-vllm/docs/source/community/user_stories/llamafactory.md

20 lines
1010 B
Markdown
Raw Normal View History

2025-09-09 09:40:35 +08:00
# LLaMA-Factory
## Introduction
2025-09-09 09:40:35 +08:00
[LLaMA-Factory](https://github.com/hiyouga/LlamaFactory) is an easy-to-use and efficient platform for training and fine-tuning large language models. With LLaMA-Factory, you can fine-tune hundreds of pre-trained models locally without writing any code.
2025-09-09 09:40:35 +08:00
LLaMA-Factory users need to evaluate the model and perform inference after fine-tuning.
2025-09-09 09:40:35 +08:00
## Business challenge
2025-09-09 09:40:35 +08:00
LLaMA-Factory uses Transformers to perform inference on Ascend NPUs, but the speed is slow.
2025-09-09 09:40:35 +08:00
## Benefits with vLLM Ascend
2025-09-09 09:40:35 +08:00
With the joint efforts of LLaMA-Factory and vLLM Ascend ([LLaMA-Factory#7739](https://github.com/hiyouga/LlamaFactory/pull/7739)), LLaMA-Factory has achieved significant performance gains during model inference. Benchmark results show that its inference speed is now up to 2× faster compared to the Transformers implementation.
2025-09-09 09:40:35 +08:00
## Learn more
2025-09-09 09:40:35 +08:00
For more details about LLaMA-Factory, please refer to the [official documentation](https://llamafactory.readthedocs.io/en/latest/index.html).