-
Notifications
You must be signed in to change notification settings - Fork 18
Rewrite flash attention workflow to avoid using GH container #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Huy Do <huydhn@gmail.com>
Signed-off-by: Huy Do <huydhn@gmail.com>
Signed-off-by: Huy Do <huydhn@gmail.com>
Credit to Claude code Signed-off-by: Huy Do <huydhn@gmail.com>
Signed-off-by: Huy Do <huydhn@gmail.com>
Some notes I have while debugging the issue:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit regarding the output of nvidia-smi.
I can fix in post...
export PYTHONPATH=$(pwd) | ||
python benchmarks/benchmark_attn.py >> $GITHUB_STEP_SUMMARY | ||
echo '<h1>B200 1000W</h1>' >> /tmp/workspace/fa4_output.txt | ||
nvidia-smi >> /tmp/workspace/fa4_output.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The output of nvidia-smi makes the output hard to read. I prefer that we run it (so I can check the logs and confirm we are on the right class of machine) without piping into /tmp/workspace/fa4_output.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I can remove this quickly
GitHub container doesn't work with multi-tenant rootless Docker in Docker setup https://github.com/pytorch/pytorch-integration-testing/actions/runs/16742012333/job/47392166734, maybe we want to look closer into this to understand the why.
I'm rewriting the workflow to call Docker directly. Credit to Claude code.