File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ nanobind_extension(
357357 "//jaxlib:kernel_nanobind_helpers" ,
358358 "@local_config_rocm//rocm:hip_runtime" ,
359359 "@local_config_rocm//rocm:rocm_headers" ,
360- "@local_config_rocm//rocm:hip " ,
360+ "@local_config_rocm//rocm:rocm_hip " ,
361361 "@nanobind" ,
362362 ],
363363)
@@ -475,7 +475,7 @@ nanobind_extension(
475475 "@com_google_absl//absl/status:statusor" ,
476476 "@com_google_absl//absl/strings:string_view" ,
477477 "@local_config_rocm//rocm:hip_runtime" ,
478- "@local_config_rocm//rocm:hip " ,
478+ "@local_config_rocm//rocm:rocm_hip " ,
479479 "@nanobind" ,
480480 ],
481481)
Original file line number Diff line number Diff line change 1414
1515# buildifier: disable=module-docstring
1616load ("//third_party:repo.bzl" , "tf_http_archive" , "tf_mirror_urls" )
17- load ("//third_party/xla:revision.bzl" , "XLA_COMMIT" , "XLA_SHA256" )
17+
18+ # To update XLA to a new revision,
19+ # a) update XLA_COMMIT to the new git commit hash
20+ # b) get the sha256 hash of the commit by running:
21+ # curl -L https://github.com/ROCm/xla/archive/<git hash>.tar.gz | sha256sum
22+ # and update XLA_SHA256 with the result.
23+
24+ XLA_COMMIT = "74b4b8dedc12565e98cfb8383ae29305980eb39a"
25+ XLA_SHA256 = "5d7511b3d54fd1d22f317b3708e1467faf105f10a617980f079a162808235bf1"
1826
1927def repo ():
2028 tf_http_archive (
2129 name = "xla" ,
2230 sha256 = XLA_SHA256 ,
23- type = "tar.gz" ,
24- strip_prefix = "openxla-xla-{commit}" .format (commit = XLA_COMMIT [:7 ]),
25- # We use an automated tool to update the revision.bzl file. GitHub prohibits the crawling of
26- # web links (`/archive/`) links so we use the GitHub API endpoint to get the tarball
27- # instead.
28- urls = tf_mirror_urls ("https://api.github.com/repos/openxla/xla/tarball/{commit}" .format (commit = XLA_COMMIT )),
31+ strip_prefix = "xla-{commit}" .format (commit = XLA_COMMIT ),
32+ urls = tf_mirror_urls ("https://github.com/ROCm/xla/archive/{commit}.tar.gz" .format (commit = XLA_COMMIT )),
33+ patch_file = [],
2934 )
3035
3136 # For development, one often wants to make changes to the TF repository as well
You can’t perform that action at this time.
0 commit comments