Dear foundry Team
I have a question about hardware support of foundry.
Question
Is NVIDIA Ampere (sm_80, e.g. A100) a supported target for Foundry's graph capture/replay?
The published examples are all on H100/H200 (sm_90), and on my A100 box libcuda_hook.so
aborts replay with a memory-offset mismatch:
[HOOK] ERROR: Memory offset mismatch during replay
[HOOK] Current offset: 0x60089a800000 (35240.00 MB from base)
[HOOK] Expected start: 0x60089a600000 (35238.00 MB from base)
[HOOK] Difference: 2.00 MB
It is properly working on H100 GPU (compute capability 9.0 (Hopper).
The drift is small (2 MB) and reproducible. Happy to gather more diagnostics
if the team can point at what to capture.
Environment
| Component |
Version |
| Foundry |
0.0.2 (main @ eef1201, "[sglang] Release Foundry 0.0.2") |
| vLLM |
0.22.1.dev0+g0b3ba88f1 (I patched Foundry's modification into vLLM) |
| PyTorch |
2.11.0+cu130 |
| CUDA |
13.0 |
| Python |
3.11 |
| OS |
RHEL 9.6 (kernel 5.14.0-570.12.1.el9_6) |
| GPU |
4× NVIDIA A100-SXM4-40GB, compute capability 8.0 (Ampere) |
| Driver |
590.48.01 |
For reference, I add patchelf --add-needed libtbb.so.2 on
libcuda_hook.so and the four $ORIGIN symlinks for boost/tbb due to the libtbb.so.2 difference in my library.
The shim loads cleanly (from vllm.compilation.foundry_shim import _AVAILABLE →True) and install_hooks resolves. The failure is at replay time, not load time.
Specific questions
- Is Ampere (sm_80) intended to work today, or is the hook's
offset-tracking specific to Hopper's allocator behavior?
- If supported, is a 2 MB drift indicative of a known issue (alignment,
workspace, NCCL buffer placement, …) or something I should investigate further on my side?
Thanks!
Dear foundry Team
I have a question about hardware support of foundry.
Question
Is NVIDIA Ampere (sm_80, e.g. A100) a supported target for Foundry's graph capture/replay?
The published examples are all on H100/H200 (sm_90), and on my A100 box
libcuda_hook.soaborts replay with a memory-offset mismatch:
It is properly working on H100 GPU (compute capability 9.0 (Hopper).
The drift is small (2 MB) and reproducible. Happy to gather more diagnostics
if the team can point at what to capture.
Environment
main@eef1201, "[sglang] Release Foundry 0.0.2")For reference, I add
patchelf --add-needed libtbb.so.2onlibcuda_hook.soand the four$ORIGINsymlinks for boost/tbb due to the libtbb.so.2 difference in my library.The shim loads cleanly (
from vllm.compilation.foundry_shim import _AVAILABLE→True) andinstall_hooksresolves. The failure is at replay time, not load time.Specific questions
offset-tracking specific to Hopper's allocator behavior?
workspace, NCCL buffer placement, …) or something I should investigate further on my side?
Thanks!