Skip to content

Commit

Permalink
[Refactor] Refactor install oneapi and start ray cluster scripts (#45)
Browse files Browse the repository at this point in the history
* refactor scripts

* pass auth token to from_pretrained

* revert
  • Loading branch information
Deegue authored Jan 10, 2024
1 parent f26343d commit 87ffd4f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow_inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Start Ray Cluster
run: |
TARGET=${{steps.target.outputs.target}}
docker exec "${TARGET}" bash -c "./inference/deep/start-ray-cluster.sh"
docker exec "${TARGET}" bash -c "./dev/scripts/start-ray-cluster.sh"
- name: Run Inference Test
run: |
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/Dockerfile.bigdl-cpu
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ RUN --mount=type=cache,target=/root/.cache/pip pip install -e .[bigdl-cpu] -f ht

# Used to invalidate docker build cache with --build-arg CACHEBUST=$(date +%s)
ARG CACHEBUST=1
COPY ./inference/deep/install-oneapi.sh /tmp
COPY ./dev/scripts/install-oneapi.sh /tmp
RUN /tmp/install-oneapi.sh
2 changes: 1 addition & 1 deletion dev/docker/Dockerfile.cpu_and_deepspeed
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ RUN ds_report

# Used to invalidate docker build cache with --build-arg CACHEBUST=$(date +%s)
ARG CACHEBUST=1
COPY ./inference/deep/install-oneapi.sh /tmp
COPY ./dev/scripts/install-oneapi.sh /tmp
RUN /tmp/install-oneapi.sh
File renamed without changes.
File renamed without changes.

0 comments on commit 87ffd4f

Please sign in to comment.