mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-14 06:27:45 +08:00
431 B
431 B
How to generate nvshmem_fast_build.patch?
- Build the project without applying the
nvshmem_fast_build.patch. - Link NVSHMEM to DeepEP with one NVSHMEM object file omitted.
- Repeat step 2 until no more object files can be omitted.
- Remove the unused files from NVSHMEM's
CMakelists.txt, and save the differences asnvshmem_fast_build.patch.
The script strip_nvshmem_helper.py automatically performs steps 2 and 3.