mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-07-01 01:27:54 -04:00
Merge pull request #5 from mjun0812/feature/add-self-hosted-runner
change workflow container image
This commit is contained in:
@@ -8,7 +8,7 @@ jobs:
|
||||
- self-hosted
|
||||
timeout-minutes: 10
|
||||
container:
|
||||
image: docker:dind
|
||||
image: ghcr.io/actions/actions-runner:latest
|
||||
steps:
|
||||
- run: ls
|
||||
- run: pwd
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
# https://developer.nvidia.com/cuda-toolkit-archive
|
||||
cuda-version: ["12.8.1"]
|
||||
container:
|
||||
image: ubuntu:22.04
|
||||
image: ghcr.io/actions/actions-runner
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
|
||||
@@ -44,8 +44,7 @@ RUN echo '%sudo ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
||||
USER runner
|
||||
WORKDIR /home/runner
|
||||
|
||||
RUN mkdir -p /home/runner/actions-runner \
|
||||
&& curl -fsSL -o actions-runner.tar.gz -L "https://github.com/actions/runner/releases/download/v${GH_RUNNER_VERSION}/actions-runner-linux-${TARGET_ARCH}-${GH_RUNNER_VERSION}.tar.gz" \
|
||||
RUN curl -fsSL -o actions-runner.tar.gz -L "https://github.com/actions/runner/releases/download/v${GH_RUNNER_VERSION}/actions-runner-linux-${TARGET_ARCH}-${GH_RUNNER_VERSION}.tar.gz" \
|
||||
&& tar xf actions-runner.tar.gz \
|
||||
&& rm actions-runner.tar.gz \
|
||||
&& sudo ./bin/installdependencies.sh \
|
||||
@@ -56,6 +55,7 @@ RUN mkdir -p /home/runner/actions-runner \
|
||||
--name $RUNNER_NAME \
|
||||
--runnergroup $RUNNER_GROUP \
|
||||
--labels "${RUNNER_LABELS},${TARGET_ARCH}" \
|
||||
--work /home/runner/actions-runner
|
||||
--work /home/runner/actions-runner \
|
||||
--replace
|
||||
|
||||
CMD ["./run.sh"]
|
||||
Reference in New Issue
Block a user