File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -669,18 +669,21 @@ def get_binding_lib(subdirectory, name):
669669 "deep_ep" ,
670670 deep_ep_dir ,
671671 dirs_exist_ok = True )
672+
672673 (lib_dir / "nvshmem" ).mkdir (exist_ok = True )
673- install_file (
674- build_dir / "tensorrt_llm/deep_ep/nvshmem-build/License.txt" ,
675- lib_dir / "nvshmem" )
676- install_file (
677- build_dir /
678- "tensorrt_llm/deep_ep/nvshmem-build/src/lib/nvshmem_bootstrap_uid.so.3" ,
679- lib_dir / "nvshmem" )
680- install_file (
681- build_dir /
682- "tensorrt_llm/deep_ep/nvshmem-build/src/lib/nvshmem_transport_ibgda.so.103" ,
683- lib_dir / "nvshmem" )
674+ nvshmem_license = build_dir / "tensorrt_llm/deep_ep/nvshmem-build/License.txt"
675+ if nvshmem_license .exists ():
676+ install_file (
677+ build_dir / "tensorrt_llm/deep_ep/nvshmem-build/License.txt" ,
678+ lib_dir / "nvshmem" )
679+ install_file (
680+ build_dir /
681+ "tensorrt_llm/deep_ep/nvshmem-build/src/lib/nvshmem_bootstrap_uid.so.3" ,
682+ lib_dir / "nvshmem" )
683+ install_file (
684+ build_dir /
685+ "tensorrt_llm/deep_ep/nvshmem-build/src/lib/nvshmem_transport_ibgda.so.103" ,
686+ lib_dir / "nvshmem" )
684687 if not skip_stubs :
685688 with working_directory (project_dir ):
686689 if binding_type == "nanobind" :
You can’t perform that action at this time.
0 commit comments