Llama Factory 报错:importlib.metadata.PackageNotFoundError: No package metadata was found for The 'unsloth' distribution was not found and is required by this application.
Please install unsloth: https://github.com/unslothai/unsloth
1、更新pip
pip install --upgrade pip
2、运行
pip install "unsloth[cu121-torch240] @ git+https://github.com/unslothai/unsloth.git"
成功安装后即可正常运行