Skip to content

Commit

Permalink
need peft and accelerate (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
daanelson authored Feb 12, 2025
1 parent 39ecc45 commit 6f71d3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions model-cog-configs/hotswap-lora.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
build:
python_packages:
- "accelerate==1.3.0"
- "peft==0.14.0"

predict: "predict.py:HotswapPredictor"
3 changes: 1 addition & 2 deletions script/select.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ if [ -z $1 ]; then
exit 1
fi

cat cog.yaml.template > cog.yaml
cat model-cog-configs/$1.yaml >> cog.yaml
yq eval-all 'select(fileIndex == 0) *+ select(fileIndex == 1)' cog.yaml.template "model-cog-configs/$1.yaml" > cog.yaml

cp safe-push-configs/$1.yaml cog-safe-push.yaml

0 comments on commit 6f71d3d

Please sign in to comment.