try to fix env to workflow
This commit is contained in:
parent
a363bec25b
commit
0bf5f9b84d
@ -41,14 +41,8 @@ jobs:
|
||||
|
||||
# Step 4: Create a container and run the script
|
||||
- name: Run Docker container and generate wheels
|
||||
env:
|
||||
ROCM_VERSION: ${{ inputs.rocm_version }}
|
||||
TORCH_VERSION: ${{ inputs.torch_version }}
|
||||
run: |
|
||||
docker create --name prebuilt-container \
|
||||
-e ROCM_ARCH=${ROCM_ARCH} \
|
||||
-e TORCH_VERSION=${TORCH_VERSION} \
|
||||
prebuilt-wheels
|
||||
docker create --name prebuilt-container prebuilt-wheels
|
||||
docker start -a prebuilt-container
|
||||
|
||||
# Step 5: Copy bitsandbytes wheel artifact to host
|
||||
|
@ -1,3 +1,8 @@
|
||||
ARG ROCM_VERSION
|
||||
ARG TORCH_VERSION
|
||||
ENV ROCM_VERSION=${ROCM_VERSION}
|
||||
ENV TORCH_VERSION=${TORCH_VERSION}
|
||||
|
||||
FROM rocm/dev-ubuntu-22.04:${ROCM_VERSION}
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive \
|
||||
@ -6,7 +11,6 @@ ENV DEBIAN_FRONTEND=noninteractive \
|
||||
|
||||
# For bitsandbytes
|
||||
ENV BNB_GPU_TARGETS="gfx803;gfx900;gfx906;gfx908;gfx90a;gfx1010;gfx1030;gfx1100;gfx1101;gfx1102"
|
||||
|
||||
# For LLAMA
|
||||
ENV GPU_TARGETS="gfx803 gfx900 gfx906 gfx908 gfx90a gfx1010 gfx1030 gfx1100 gfx1101 gfx1102"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user