Skip to content

docker容器内没有example和data文件 #4456

@yaya159456

Description

@yaya159456

Reminder

  • I have read the README and searched the existing issues.

System Info

根据readme中的说法,我先用git clone把llama factory整个仓库拉去下来,用docker命令运行的容器内部 没有example和data文件夹。
我查看了dockerfile,里面有COPY . /app/
1719277681625

Reproduction

’‘’docker build -f ./docker/docker-cuda/Dockerfile
--build-arg INSTALL_BNB=false
--build-arg INSTALL_VLLM=false
--build-arg INSTALL_DEEPSPEED=false
--build-arg PIP_INDEX=https://pypi.org/simple
-t llamafactory:latest .

docker run -dit --gpus=all
-v ./hf_cache:/root/.cache/huggingface
-v ./ms_cache:/root/.cache/modelscope
-v ./data:/app/data
-v ./output:/app/output
-p 7860:7860
-p 7861:8000
--shm-size 16G
--name llamafactory
llamafactory:latest
docker exec -it llamafactory /bin/bash
‘’‘

Expected behavior

1719283603462
容器里面应该有data文件夹啊?怎么没有呢?Dockerfile里面有COPY命令啊?
我是想在容器里面微调qwen2,是不是这样启动docker后,再容器内llamafactory-cli train命令启动?

Others

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    solvedThis problem has been already solved

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions