Skip to content

Commit

Permalink
fix: miscelleanous updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaansehgal99 committed Jan 26, 2024
1 parent cf325ea commit e33e56d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-preset-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ jobs:
run: |
# Set the ACR based on the tag value
if [[ "${{ needs.setup.outputs.image_tag }}" == "latest" ]]; then
echo "ACR_NAME=aimodelsregistry" >> $GITHUB_OUTPUT
echo "ACR_NAME=${{secrets.ACR_AMR_USERNAME}}" >> $GITHUB_OUTPUT
else
echo "ACR_NAME=aimodelsregistrytest" >> $GITHUB_OUTPUT
echo "ACR_NAME=${{secrets.ACR_AMRT_USERNAME}}" >> $GITHUB_OUTPUT
fi
- name: Install Azure CLI latest
Expand Down
8 changes: 6 additions & 2 deletions presets/models/falcon/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ var (
PresetFalcon7BInstructModel = PresetFalcon7BModel + "-instruct"
PresetFalcon40BInstructModel = PresetFalcon40BModel + "-instruct"

baseCommandPresetFalcon = "accelerate launch --use_deepspeed"
falconRunParams = map[string]string{}
baseCommandPresetFalcon = "accelerate launch"

falconRunParams = map[string]string{
"torch_dtype": "bfloat16",
"pipeline": "text-generation",
}
)

var falconA falcon7b
Expand Down
3 changes: 2 additions & 1 deletion presets/models/llama2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ Use the following command to build the llama2 inference service image from the r
docker build \
--file docker/presets/llama-2/Dockerfile \
--build-arg WEIGHTS_PATH=$LLAMA_WEIGHTS_PATH \
--build-arg MODEL_PRESET_PATH=presets/models/llama2 \
--build-arg MODEL_TYPE=llama2-completion \
--build-arg VERSION=0.0.1 \
-t $LLAMA_MODEL_NAME:latest .
```

Expand Down
3 changes: 2 additions & 1 deletion presets/models/llama2chat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ Use the following command to build the llama2chat inference service image from t
docker build \
--file docker/presets/llama-2/Dockerfile \
--build-arg WEIGHTS_PATH=$LLAMA_WEIGHTS_PATH \
--build-arg MODEL_PRESET_PATH=presets/models/llama2chat \
--build-arg MODEL_TYPE=llama2-chat \
--build-arg VERSION=0.0.1 \
-t $LLAMA_MODEL_NAME:latest .
```

Expand Down

0 comments on commit e33e56d

Please sign in to comment.