Skip to content

Commit a568bcb

Browse files
ethanluoycGoogle-ML-Automation
authored andcommitted
Add missing dependencies in bzlmod.
PiperOrigin-RevId: 872956195
1 parent 2abc9b9 commit a568bcb

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

MODULE.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ use_repo(
9191
"XNNPACK",
9292
"cpuinfo",
9393
"cudnn_frontend_archive",
94+
"cutlass_archive",
9495
"dlpack",
9596
"ducc",
9697
"eigen_archive",
@@ -108,6 +109,7 @@ use_repo(
108109
"nvshmem",
109110
"onednn",
110111
"pthreadpool",
112+
"raft",
111113
"riegeli",
112114
"rocm_device_libs",
113115
"shardy",

third_party/cutlass/BUILD.bazel

Whitespace-only changes.

third_party/cutlass/workspace.bzl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
load("//third_party:repo.bzl", "tf_http_archive", "tf_mirror_urls")
2+
3+
def repo():
4+
tf_http_archive(
5+
name = "cutlass_archive",
6+
build_file = "//third_party:cutlass.BUILD",
7+
sha256 = "a7739ca3dc74e3a5cb57f93fc95224c5e2a3c2dff2c16bb09a5e459463604c08",
8+
strip_prefix = "cutlass-3.8.0",
9+
urls = tf_mirror_urls("https://github.com/NVIDIA/cutlass/archive/refs/tags/v3.8.0.zip"),
10+
)

third_party/extensions/third_party.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ load("//third_party/benchmark:workspace.bzl", benchmark = "repo")
44
load("//third_party/brotli:workspace.bzl", brotli = "repo")
55
load("//third_party/cpuinfo:workspace.bzl", cpuinfo = "repo")
66
load("//third_party/cudnn_frontend:workspace.bzl", cudnn_frontend = "repo")
7+
load("//third_party/cutlass:workspace.bzl", cutlass = "repo")
78
load("//third_party/dlpack:workspace.bzl", dlpack = "repo")
89
load("//third_party/ducc:workspace.bzl", ducc = "repo")
910
load("//third_party/eigen3:workspace.bzl", eigen3 = "repo")
@@ -84,6 +85,7 @@ def _third_party_ext_impl(mctx): # @unused
8485
uv()
8586
xnnpack()
8687
xxd()
88+
cutlass()
8789

8890
third_party_ext = module_extension(
8991
implementation = _third_party_ext_impl,

workspace2.bzl

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ load("//third_party/brotli:workspace.bzl", brotli = "repo")
1414
load("//third_party/clang_toolchain:cc_configure_clang.bzl", "cc_download_clang_toolchain")
1515
load("//third_party/cpuinfo:workspace.bzl", cpuinfo = "repo")
1616
load("//third_party/cudnn_frontend:workspace.bzl", cudnn_frontend = "repo")
17+
load("//third_party/cutlass:workspace.bzl", cutlass = "repo")
1718
load("//third_party/dlpack:workspace.bzl", dlpack = "repo")
1819
load("//third_party/ducc:workspace.bzl", ducc = "repo")
1920
load("//third_party/eigen3:workspace.bzl", eigen3 = "repo")
@@ -113,6 +114,7 @@ def _initialize_third_party():
113114
uv()
114115
xnnpack()
115116
xxd()
117+
cutlass()
116118

117119
# copybara: tsl vendor
118120

@@ -405,14 +407,6 @@ def _tf_repositories():
405407
urls = tf_mirror_urls("https://github.com/google/snappy/archive/refs/tags/1.2.1.tar.gz"),
406408
)
407409

408-
tf_http_archive(
409-
name = "cutlass_archive",
410-
build_file = "//third_party:cutlass.BUILD",
411-
sha256 = "a7739ca3dc74e3a5cb57f93fc95224c5e2a3c2dff2c16bb09a5e459463604c08",
412-
strip_prefix = "cutlass-3.8.0",
413-
urls = tf_mirror_urls("https://github.com/NVIDIA/cutlass/archive/refs/tags/v3.8.0.zip"),
414-
)
415-
416410
tf_http_archive(
417411
name = "nccl_archive",
418412
build_file = "//third_party/nccl:archive.BUILD",

0 commit comments

Comments
 (0)