Skip to content

Commit 9f70085

Browse files
authored
CUDA in Docker Container Debug (#101)
Debugging CUDA in Container Removed echo and cat commands for output file. CUDA in Docker Container Debug
1 parent 2b89299 commit 9f70085

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/flash_attention.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
--ulimit stack=67108864 \
4646
--tty \
4747
--detach \
48+
--privileged \
4849
--security-opt seccomp=unconfined \
4950
--shm-size=4g \
5051
-v "${GITHUB_WORKSPACE}:/tmp/workspace" \
@@ -54,13 +55,12 @@ jobs:
5455
5556
# Build and run FlashAttention CuTe DSL
5657
docker exec -t "${container_name}" bash -c "
57-
set -x
58+
nvidia-smi
59+
5860
pushd fa4
5961
python setup.py install
6062
pip install -e flash_attn/cute/
6163
62-
nvidia-smi
63-
6464
echo '<h1>B200' >> /tmp/workspace/fa4_output.txt
6565
nvidia-smi -q -d POWER | grep 'Current Power Limit' | head -1 | cut -d : -f 2 >> /tmp/workspace/fa4_output.txt
6666
echo '</h1>' >> /tmp/workspace/fa4_output.txt

0 commit comments

Comments
 (0)