参考:
https://github.com/hiyouga/LLaMA-Factory
报错解决:
1)Docker 构建报错 RuntimeError: can’t start new thread:
https://github.com/hiyouga/LLaMA-Factory/issues/3859
修改后的Dockerfile:
FROM nvcr.io/nvidia/pytorch:24.01-py3WORKDIR /appCOPY requirements.txt /app/RUN pip config --user set global.progress_bar offRUN pip install