Skip to content

Commit

Permalink
Merge pull request oracle-samples#469 from gargnipungarg/master
Browse files Browse the repository at this point in the history
File execution permission
  • Loading branch information
liudmylaru authored Jul 29, 2024
2 parents cca2e60 + e6da38c commit 6cf1e42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion model-deployment/containers/nim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ FROM nvcr.io/nim/meta/llama3-8b-instruct:latest

USER root
COPY start.sh /opt/nim/start.sh
RUN chmod +x /opt/nim/start.sh

ENV NIM_CACHE_PATH /opt/ds/model/deployed_model
ENV NIM_SERVER_PORT 8080
ENV NIM_SERVER_PORT 8000
EXPOSE ${NIM_SERVER_PORT}

ENTRYPOINT [ "/bin/bash", "--login", "-c"]
Expand Down
1 change: 1 addition & 0 deletions model-deployment/containers/nim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ This file will be available to container on location `/opt/ds/model/deployed_mod
* Key: `MODEL_DEPLOY_PREDICT_ENDPOINT`, Value: `/v1/completions`
* Key: `MODEL_DEPLOY_HEALTH_ENDPOINT`, Value: `/v1/health/ready`
* Key: `NGC_API_KEY_FILE`, Value: `/opt/ds/model/deployed_model/token`
* Key: `SHM_SIZE`, Value: `5g`
* Under `Models` click on the `Select` button and select the Model Catalog entry we created earlier
* Under `Compute` and then `Specialty and previous generation` select the `VM.GPU.A10.1` instance
* Under `Networking` choose the `Custom Networking` option and bring the VCN and subnet, which allows Internet access.
Expand Down

0 comments on commit 6cf1e42

Please sign in to comment.