-
Notifications
You must be signed in to change notification settings - Fork 740
Add wheel support for Newton-Schulz method via cuSolverMp #3004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
df140b3
0fe4daf
de2dd20
50f1753
ccaccd5
123f778
1316c1e
7993180
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,8 @@ | |
| from build_tools.utils import ( | ||
| cuda_archs, | ||
| cuda_version, | ||
| cublas_pypi_install_requirement, | ||
| cusolvermp_pypi_package_name, | ||
| get_frameworks, | ||
| remove_dups, | ||
| min_python_version_str, | ||
|
|
@@ -109,7 +111,11 @@ def setup_requirements() -> Tuple[List[str], List[str]]: | |
| "pydantic", | ||
| "importlib-metadata>=1.0", | ||
| "packaging", | ||
| cusolvermp_pypi_package_name(), | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The requirement should mirror the cmake-flag guard already used for cublasmp (line 75-80): if bool(int(os.getenv("NVTE_WITH_CUSOLVERMP", "0"))):
install_reqs.append(cusolvermp_pypi_package_name()) |
||
| ] | ||
| cublas_req = cublas_pypi_install_requirement() | ||
| if cublas_req is not None: | ||
| install_reqs.append(cublas_req) | ||
| test_reqs: List[str] = ["pytest>=8.2.1"] | ||
|
|
||
| # Framework-specific requirements | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description and title claim to enable
NVTE_WITH_CUSOLVERMP,NVTE_WITH_CUBLASMP,NVTE_ENABLE_NVSHMEM, andNVTE_UB_WITH_MPIin the wheel build. OnlyNVTE_WITH_CUSOLVERMPis exported here. NeitherNVTE_WITH_CUBLASMP,NVTE_ENABLE_NVSHMEM, norNVTE_UB_WITH_MPIare exported inbuild_wheels.sh, and no corresponding packages (cuBLASMP, NVSHMEM, OpenMPI) are installed in either Dockerfile. Wheels built from this script will silently omit those three features.