Repository navigation
Conversation
Signed-off-by: Xiakun Lu <xiakunl@nvidia.com>
|
No actionable comments were generated in the recent review. Summary
Change: Feature Merge Risk:
|
|
Signed-off-by: Xiakun Lu <xiakunl@nvidia.com>
|
No actionable comments were generated in the recent review. Summary
Change: Feature Merge Risk:
|
|
Description
Related to #2200, #2201, and #2302.
NCCL and NVSHMEM installations that ship per-SM device bitcode need a way to select the file for a specific GPU target. Add the keyword-only
sm_archargument tofind_bitcode_lib()andlocate_bitcode_lib(). For example,find_bitcode_lib("nvshmem_device", sm_arch="100")looks forlibnvshmem_device_sm_100.bcwhen the installation provides it.Pathfinder owns the filename convention. A library can declare an exact SM filename or a template for SMs without an explicit entry. If the selected file is missing, lookup raises
BitcodeLibNotFoundError. Calls that omitsm_archcontinue to use the existing default filename and search order.Validation
mainmatched for default lookup, including relative roots, symlinked files, diagnostics, and caching.git diff --checkpassed. The future NCCL wheel that ships per-SM files was not available for validation.Checklist