Run python setup.py bdist_wheel --verbose and see the errors. Can we fix them on Windows?
- User
Run
python setup.py bdist_wheel --verboseand see the errors. Can we fix them on Windows? - User
Summarize what is gsan
- Assistant
gsanis Triton's experimental Global Memory Sanitizer — basically a GPU race detector for Triton CUDA kernels.- It instruments Triton kernels when
triton.knobs.compilation.instrumentation_mode = "gsan"or when you runpython -m triton.tools.gsan ...; seepython/triton/tools/gsan.py. - Its job is to catch unsynchronized global-memory races like read-after-write, write-after-read, and write-after-write; those messages come from
python/triton/experimental/gsan/src/GSanLibrary.cu. - Under the hood, it keeps shadow memory plus per-thread/per-SM clock metadata so it can reason about whether one access "happened before" another; the design is described in
python/triton/experimental/gsan/README.md. - It also uses a custom CUDA allocator so GSan-managed allocations live in a reserved virtual address range with corresponding shadow state; that code lives in .
- It instruments Triton kernels when
- User
Is there a build option to disable gsan? If not, let's add one, and you may check how Proton is disabled.