mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-07-01 01:27:54 -04:00
remove qemu arm64 docker
This commit is contained in:
@@ -19,27 +19,27 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- fa-self:/var/lib/docker
|
- fa-self:/var/lib/docker
|
||||||
|
|
||||||
runner-arm:
|
# runner-arm:
|
||||||
platform: linux/arm64
|
# platform: linux/arm64
|
||||||
privileged: true
|
# privileged: true
|
||||||
restart: always
|
# restart: always
|
||||||
env_file:
|
# env_file:
|
||||||
- .env.arm
|
# - .env.arm
|
||||||
environment:
|
# environment:
|
||||||
REPOSITORY_URL: https://github.com/mjun0812/flash-attention-prebuild-wheels
|
# REPOSITORY_URL: https://github.com/mjun0812/flash-attention-prebuild-wheels
|
||||||
RUNNER_NAME: self-hosted-runner-arm
|
# RUNNER_NAME: self-hosted-runner-arm
|
||||||
RUNNER_GROUP: default
|
# RUNNER_GROUP: default
|
||||||
TARGET_ARCH: arm64
|
# TARGET_ARCH: arm64
|
||||||
build:
|
# build:
|
||||||
context: .
|
# context: .
|
||||||
dockerfile: Dockerfile
|
# dockerfile: Dockerfile
|
||||||
args:
|
# args:
|
||||||
GH_RUNNER_VERSION: 2.329.0
|
# GH_RUNNER_VERSION: 2.329.0
|
||||||
TARGET_ARCH: arm64
|
# TARGET_ARCH: arm64
|
||||||
PLATFORM: linux/arm64
|
# PLATFORM: linux/arm64
|
||||||
volumes:
|
# volumes:
|
||||||
- fa-self-arm:/var/lib/docker
|
# - fa-self-arm:/var/lib/docker
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
fa-self:
|
fa-self:
|
||||||
fa-self-arm:
|
# fa-self-arm:
|
||||||
|
|||||||
@@ -1,17 +1,20 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
ARCH=$(uname -m)
|
# ARCH=$(uname -m)
|
||||||
|
#
|
||||||
if [ "$ARCH" = "aarch64" ]; then
|
# if [ "$ARCH" = "aarch64" ]; then
|
||||||
echo "Architecture is aarch64 (ARM64). Applying QEMU workarounds..."
|
# echo "Architecture is aarch64 (ARM64). Applying QEMU workarounds..."
|
||||||
mkdir -p /etc/docker
|
# mkdir -p /etc/docker
|
||||||
cat <<EOF > /etc/docker/daemon.json
|
# cat <<EOF > /etc/docker/daemon.json
|
||||||
{
|
# {
|
||||||
"iptables": false,
|
# "iptables": false,
|
||||||
"ip6tables": false
|
# "ip6tables": false,
|
||||||
}
|
# "storage-driver": "vfs",
|
||||||
EOF
|
# "exec-opts": ["native.cgroupdriver=cgroupfs"],
|
||||||
fi
|
# "default-cgroupns-mode": "host"
|
||||||
|
# }
|
||||||
|
# EOF
|
||||||
|
# fi
|
||||||
|
|
||||||
# Start docker daemon
|
# Start docker daemon
|
||||||
service docker start
|
service docker start
|
||||||
|
|||||||
Reference in New Issue
Block a user