mirror of
https://github.com/QwenLM/Qwen.git
synced 2026-05-21 00:45:48 +08:00
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
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user