mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-06-30 23:57:53 -04:00
remove qemu arm64 docker
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user