部分错误修正
1、光源镜像拉取命令和创建容器命令存在错误,同时缺少目录映射,建议修改为:
docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:fastertransformer-dtk23.04-latest
docker run -it --name llama --shm-size=32G --device=/dev/kfd --device=/dev/dri/ --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --ulimit memlock=-1:-1 --ipc=host --network host --group-add video **-v /host/path/data:/container/data** image.sourcefind.cn:5000/dcu/admin/base/custom:fastertransformer-dtk23.04-latest /bin/bash
2、llama-7b 的head_number 和 inter_size对应不上,需要修改为:
./bin/gpt_gemm 1 1 20 32 128 11008 32000 1 1
同理,./examples/cpp/llama/llama_config.ini 中对应参数也需要修改
3、../examples/cpp/llama//start_ids.csv 修改为 ../examples/cpp/llama/start_ids.csv