dockerfile
vim Dockerfile
FROM ubuntu:jammy |
构建镜像
docker build -t ubuntu:llama-factory-v1.0.0 . |
运行镜像
docker run --shm-size 8g --name ubuntu -itd --gpus all ubuntu:llama-factory-v1.0.0 |
注意
宿主机要安装 英伟达驱动和cuda。
参考链接
- https://github.com/fengwang/LLaMA-Factory-docker/blob/main/Dockerfile
- https://github.com/hiyouga/LLaMA-Factory/tree/main
- https://hub.docker.com/r/ljxha471758/llama-factory
- https://github.com/QwenLM/Qwen2.5?tab=readme-ov-file
- https://modelscope.cn/models/Qwen/Qwen2.5-14B-Instruct/files
- https://huggingface.co/Qwen/Qwen2.5-14B-Instruct
- https://qwen.readthedocs.io/zh-cn/latest/
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 htdocs!