LLaMA Factory (1) Rosen 2025-11-06 技术 LLM LLaMA Factory 使用笔记(一)安装需要注意的是 python 版本用 3.11。 安装步骤: 1234567891011121314151617# git clone https://gitee.com/hiyouga/LLaMA-Factory.gitconda create -n finetune python=3.11conda activate finetunepip install uv# cd LLaMA-Factoryuv pip install -e ".[torch,metrics]" -i https://mirrors.aliyun.com/pypi/simplellamafactory-cli versionpython -c "import torch; print('CUDA available:', torch.cuda.is_available())"llamafactory-cli webui