Skip to content

Commit

Permalink
fix: falcon naming and cmd line params for download script
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaansehgal99 committed Oct 8, 2023
1 parent 41ad6eb commit 00a5db7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/preset-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
--build-arg FALCON_MODEL_NAME=tiiuae/falcon-7b-instruct \
.
falcon-13b:
falcon-40b:
needs: setup
runs-on: ubuntu-20.04
if: ${{ needs.setup.outputs.FALCON_MODIFIED == 'true'}}
Expand All @@ -197,13 +197,13 @@ jobs:

- name: Build and push Falcon model
run: |
az acr build -t aimodelsregistry.azurecr.io/falcon-13b:${{ needs.setup.outputs.image_tag }} \
az acr build -t aimodelsregistry.azurecr.io/falcon-40b:${{ needs.setup.outputs.image_tag }} \
-r aimodelsregistry \
-f docker/presets/falcon/Dockerfile \
--build-arg FALCON_MODEL_NAME=tiiuae/falcon-13b \
--build-arg FALCON_MODEL_NAME=tiiuae/falcon-40b \
.
falcon-13b-instruct:
falcon-40b-instruct:
needs: setup
runs-on: ubuntu-20.04
if: ${{ needs.setup.outputs.FALCON_MODIFIED == 'true'}}
Expand All @@ -230,10 +230,10 @@ jobs:

- name: Build and push Falcon model
run: |
az acr build -t aimodelsregistry.azurecr.io/falcon-13b-instruct:${{ needs.setup.outputs.image_tag }} \
az acr build -t aimodelsregistry.azurecr.io/falcon-40b-instruct:${{ needs.setup.outputs.image_tag }} \
-r aimodelsregistry \
-f docker/presets/falcon/Dockerfile \
--build-arg FALCON_MODEL_NAME=tiiuae/falcon-13b-instruct \
--build-arg FALCON_MODEL_NAME=tiiuae/falcon-40b-instruct \
.
llama-2-7b:
Expand Down
3 changes: 3 additions & 0 deletions docker/presets/download_script.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ func main() {
token := ""
baseURL := ""
if linkType == PrivateLink {
if len(os.Args) != 4 {
log.Fatalf("Usage (private link): %s <link_type> <model_version> <external_IP> <external_port>", os.Args[0])
}
token = os.Getenv("AUTH_TOKEN_ENV_VAR")
if token == "" {
log.Fatal("AUTH_TOKEN_ENV_VAR not set!")
Expand Down

0 comments on commit 00a5db7

Please sign in to comment.