00000080
bash corex-docker-installer-4.1.2-10.2-ubuntu20.04-py3.10-x86_64.run
docker run -d --shm-size="32g" -it -v /usr/src:/usr/src -v /lib/modules:/lib/modules -v /dev:/dev -v /home:/home --name=test --privileged --cap-add=ALL --pid=host corex:4.1.2
docker exec -it test /bin/bash
cd /home
bash text-generation-inference-2.1.1.run
bash llm-inference-benchmark-corex-4.1.2.run
下载并解压数据集:https://huggingface.co/datasets/THUDM/LongBench/resolve/main/data.zip
cp data.zip /home/llm-inference-benchmark/text-generation-inference
unzip data.zip
apt-get install git-lfs curl
git clone https://hf-mirror.com/TheBloke/Llama-2-7B-Chat-AWQ
cd /home/llm-inference-benchmark/text-generation-inference/scripts
bash test_dataset_acc.sh /home/Llama-2-7B-Chat-AWQ llama2-7b-chat-awq