@@ -11,7 +11,7 @@ http_archive(
11
11
urls = ["https://github.com/wsmoses/nsync/archive/{commit}.tar.gz" .format (commit = NSYNC_COMMIT )],
12
12
)
13
13
14
- ENZYMEXLA_COMMIT = "05b4c93ab2f581eae42f44599a1993311ad72c63 "
14
+ ENZYMEXLA_COMMIT = "fec4f6a25c046ff6acc29161656745fefa2fccda "
15
15
16
16
ENZYMEXLA_SHA256 = ""
17
17
@@ -286,19 +286,36 @@ load("@jax//third_party/flatbuffers:workspace.bzl", flatbuffers = "repo")
286
286
flatbuffers ()
287
287
288
288
load (
289
- "@xla//third_party/gpus/cuda/hermetic:cuda_json_init_repository.bzl" ,
289
+ "@rules_ml_toolchain//cc_toolchain/deps:cc_toolchain_deps.bzl" ,
290
+ "cc_toolchain_deps" ,
291
+ )
292
+
293
+ cc_toolchain_deps ()
294
+
295
+ register_toolchains ("@rules_ml_toolchain//cc_toolchain:lx64_lx64" )
296
+
297
+ register_toolchains ("@rules_ml_toolchain//cc_toolchain:lx64_lx64_cuda" )
298
+
299
+ load (
300
+ "@rules_ml_toolchain//third_party/gpus/cuda/hermetic:cuda_json_init_repository.bzl" ,
290
301
"cuda_json_init_repository" ,
291
302
)
292
303
293
304
cuda_json_init_repository ()
294
305
306
+ load (
307
+ "@cuda_redist_json//:distributions.bzl" ,
308
+ "CUDA_REDISTRIBUTIONS" ,
309
+ "CUDNN_REDISTRIBUTIONS" ,
310
+ )
311
+
295
312
load (
296
313
"@cuda_redist_json//:distributions.bzl" ,
297
314
"CUDA_REDISTRIBUTIONS" ,
298
315
"CUDNN_REDISTRIBUTIONS" ,
299
316
)
300
317
load (
301
- "@xla //third_party/gpus/cuda/hermetic:cuda_redist_init_repositories.bzl" ,
318
+ "@rules_ml_toolchain //third_party/gpus/cuda/hermetic:cuda_redist_init_repositories.bzl" ,
302
319
"cuda_redist_init_repositories" ,
303
320
"cudnn_redist_init_repository" ,
304
321
)
@@ -312,28 +329,28 @@ cudnn_redist_init_repository(
312
329
)
313
330
314
331
load (
315
- "@xla //third_party/gpus/cuda/hermetic:cuda_configure.bzl" ,
332
+ "@rules_ml_toolchain //third_party/gpus/cuda/hermetic:cuda_configure.bzl" ,
316
333
"cuda_configure" ,
317
334
)
318
335
319
336
cuda_configure (name = "local_config_cuda" )
320
337
321
338
load (
322
- "@xla //third_party/nccl/hermetic:nccl_redist_init_repository.bzl" ,
339
+ "@rules_ml_toolchain //third_party/nccl/hermetic:nccl_redist_init_repository.bzl" ,
323
340
"nccl_redist_init_repository" ,
324
341
)
325
342
326
343
nccl_redist_init_repository ()
327
344
328
345
load (
329
- "@xla //third_party/nccl/hermetic:nccl_configure.bzl" ,
346
+ "@rules_ml_toolchain //third_party/nccl/hermetic:nccl_configure.bzl" ,
330
347
"nccl_configure" ,
331
348
)
332
349
333
350
nccl_configure (name = "local_config_nccl" )
334
351
335
352
load (
336
- "@xla //third_party/nvshmem/hermetic:nvshmem_json_init_repository.bzl" ,
353
+ "@rules_ml_toolchain //third_party/nvshmem/hermetic:nvshmem_json_init_repository.bzl" ,
337
354
"nvshmem_json_init_repository" ,
338
355
)
339
356
@@ -344,17 +361,10 @@ load(
344
361
"NVSHMEM_REDISTRIBUTIONS" ,
345
362
)
346
363
load (
347
- "@xla //third_party/nvshmem/hermetic:nvshmem_redist_init_repository.bzl" ,
364
+ "@rules_ml_toolchain //third_party/nvshmem/hermetic:nvshmem_redist_init_repository.bzl" ,
348
365
"nvshmem_redist_init_repository" ,
349
366
)
350
367
351
368
nvshmem_redist_init_repository (
352
369
nvshmem_redistributions = NVSHMEM_REDISTRIBUTIONS ,
353
370
)
354
-
355
- load (
356
- "@xla//third_party/nvshmem/hermetic:nvshmem_configure.bzl" ,
357
- "nvshmem_configure" ,
358
- )
359
-
360
- nvshmem_configure (name = "local_config_nvshmem" )
0 commit comments