Skip to content

Commit 273c15e

Browse files
committed
[ReactantExtra] Update XLA and adapt API.cpp
[skip tests]
1 parent e07bbe1 commit 273c15e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

deps/ReactantExtra/API.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ xla::CompileOptions GenerateCompileOptions(int64_t device_id, bool is_sharded,
837837
return options;
838838
}
839839

840-
extern "C" xla::PjRtLoadedExecutable *
840+
extern "C" xla::PjRtExecutable *
841841
ClientCompile(PjRtClient *client, MlirModule cmod, int64_t device_id,
842842
bool is_sharded, const int64_t *mesh_ids, int64_t num_mesh_ids,
843843
const char *xla_gpu_cuda_data_dir, bool use_shardy_partitioner) {

deps/ReactantExtra/WORKSPACE

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ http_archive(
99
urls = ["https://github.com/wsmoses/nsync/archive/{commit}.tar.gz".format(commit = NSYNC_COMMIT)],
1010
)
1111

12-
ENZYMEXLA_COMMIT = "0b0e36a3a78a4dcda5f50ca42b4cd4f2f6534fa1"
12+
ENZYMEXLA_COMMIT = "e0b13d70cab494c927c0bd9b3251f5ed8dcdc8a5"
1313
ENZYMEXLA_SHA256 = ""
1414

1515
http_archive(
@@ -129,7 +129,10 @@ http_archive(
129129
patches = ["@enzyme_ad//:patches/jax.patch"],
130130
)
131131

132-
load("@jax//third_party/xla:workspace.bzl", "XLA_COMMIT", "XLA_SHA256")
132+
# load("@jax//third_party/xla:workspace.bzl", "XLA_COMMIT", "XLA_SHA256")
133+
134+
XLA_COMMIT = "821715be3f7ded31723b9b4c0d5de8f0d2a30a6b"
135+
XLA_SHA256 = ""
133136

134137
http_archive(
135138
name = "xla",

0 commit comments

Comments
 (0)