Merge pull request #881 from QwenLM/fix-dockerfile-peft

Fix peft version in dockerfiles, causing a compatibility issue resulted from https://github.com/QwenLM/Qwen/pull/860
main
Ren Xuancheng 1 year ago committed by GitHub
commit 4aab1d490b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,7 +67,7 @@ if [ "$BUNDLE_FINETUNE" = "true" ]; then
cd /data/shared/Qwen cd /data/shared/Qwen
# Full-finetune / LoRA. # Full-finetune / LoRA.
pip3 install deepspeed peft pip3 install deepspeed "peft==0.5.0"
# Q-LoRA. # Q-LoRA.
apt update -y && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \ apt update -y && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \

@ -63,7 +63,7 @@ if [ "$BUNDLE_FINETUNE" = "true" ]; then
cd /data/shared/Qwen cd /data/shared/Qwen
# Full-finetune / LoRA. # Full-finetune / LoRA.
pip3 install deepspeed peft pip3 install deepspeed "peft==0.5.0"
# Q-LoRA. # Q-LoRA.
apt update -y && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \ apt update -y && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \

Loading…
Cancel
Save