diff --git a/self-hosted-runner/compose.yml b/self-hosted-runner/compose.yml index eb2c6d0..3a10aa7 100644 --- a/self-hosted-runner/compose.yml +++ b/self-hosted-runner/compose.yml @@ -19,27 +19,27 @@ services: volumes: - fa-self:/var/lib/docker - runner-arm: - platform: linux/arm64 - privileged: true - restart: always - env_file: - - .env.arm - environment: - REPOSITORY_URL: https://github.com/mjun0812/flash-attention-prebuild-wheels - RUNNER_NAME: self-hosted-runner-arm - RUNNER_GROUP: default - TARGET_ARCH: arm64 - build: - context: . - dockerfile: Dockerfile - args: - GH_RUNNER_VERSION: 2.329.0 - TARGET_ARCH: arm64 - PLATFORM: linux/arm64 - volumes: - - fa-self-arm:/var/lib/docker + # runner-arm: + # platform: linux/arm64 + # privileged: true + # restart: always + # env_file: + # - .env.arm + # environment: + # REPOSITORY_URL: https://github.com/mjun0812/flash-attention-prebuild-wheels + # RUNNER_NAME: self-hosted-runner-arm + # RUNNER_GROUP: default + # TARGET_ARCH: arm64 + # build: + # context: . + # dockerfile: Dockerfile + # args: + # GH_RUNNER_VERSION: 2.329.0 + # TARGET_ARCH: arm64 + # PLATFORM: linux/arm64 + # volumes: + # - fa-self-arm:/var/lib/docker volumes: fa-self: - fa-self-arm: + # fa-self-arm: diff --git a/self-hosted-runner/entrypoint.sh b/self-hosted-runner/entrypoint.sh index f357170..b7403b6 100644 --- a/self-hosted-runner/entrypoint.sh +++ b/self-hosted-runner/entrypoint.sh @@ -1,17 +1,20 @@ #!/bin/bash -ARCH=$(uname -m) - -if [ "$ARCH" = "aarch64" ]; then - echo "Architecture is aarch64 (ARM64). Applying QEMU workarounds..." - mkdir -p /etc/docker - cat < /etc/docker/daemon.json -{ - "iptables": false, - "ip6tables": false -} -EOF -fi +# ARCH=$(uname -m) +# +# if [ "$ARCH" = "aarch64" ]; then +# echo "Architecture is aarch64 (ARM64). Applying QEMU workarounds..." +# mkdir -p /etc/docker +# cat < /etc/docker/daemon.json +# { +# "iptables": false, +# "ip6tables": false, +# "storage-driver": "vfs", +# "exec-opts": ["native.cgroupdriver=cgroupfs"], +# "default-cgroupns-mode": "host" +# } +# EOF +# fi # Start docker daemon service docker start