Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
add inference test for mosaicml-mpt-7b-chat
Browse files Browse the repository at this point in the history
Signed-off-by: jiafu zhang <[email protected]>
  • Loading branch information
jiafuzha committed Aug 22, 2023
1 parent d383568 commit d4cb9ca
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/chatbot-inference-llama-2-7b-chat-hf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Load environment variables
uses: dotenv-actions/setup-dotenv@v2
with:
dotenv_path: ~/itrex-actions-runner/.env

run: echo "token is $HF_ACCESS_TOKEN"


- name: Build Docker Image
run: docker build ./ --target cpu --build-arg http_proxy="${{ env.HTTP_PROXY_IMAGE_BUILD }}" --build-arg https_proxy="$HTTPS_PROXY_IMAGE_BUILD" -f workflows/chatbot/inference/docker/Dockerfile -t chatbotinfer:latest && yes | docker container prune && yes | docker image prune
run: echo "token is $HF_ACCESS_TOKEN"
run: docker build ./ --target cpu --build-arg http_proxy="${{ HTTP_PROXY_IMAGE_BUILD }}" --build-arg https_proxy="$HTTPS_PROXY_IMAGE_BUILD" -f workflows/chatbot/inference/docker/Dockerfile -t chatbotinfer:latest && yes | docker container prune && yes | docker image prune

- name: Start Docker Container
run: |
Expand Down

0 comments on commit d4cb9ca

Please sign in to comment.