remove qemu arm64 docker

This commit is contained in:
Junya Morioka
2025-12-21 11:15:26 +09:00
parent 232329fd63
commit 6502b392f9
2 changed files with 36 additions and 33 deletions
+21 -21
View File
@@ -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:
+15 -12
View File
@@ -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 <<EOF > /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 <<EOF > /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