Skip to content

Commit

Permalink
fix ci failures
Browse files Browse the repository at this point in the history
  • Loading branch information
JackCaoG committed Oct 18, 2024
1 parent 8254db4 commit feb9a13
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ test_suite(
"//test/cpp:test_tensor",
"//test/cpp:test_xla_sharding",
"//torch_xla/csrc/runtime:pjrt_computation_client_test",
"//torch_xla/csrc/runtime:ifrt_computation_client_test",
# Disable IFRT test as it currently crashes
# "//torch_xla/csrc/runtime:ifrt_computation_client_test",
],
)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
_date = '20241015'
_libtpu_version = f'0.1.dev{_date}'
_libtpu_storage_path = f'https://storage.googleapis.com/libtpu-nightly-releases/wheels/libtpu-nightly/libtpu_nightly-{_libtpu_version}+nightly-py3-none-any.whl'
_jax_version = f'0.4.34.dev{_date}'
_jax_version = f'0.4.35.dev{_date}'


def _get_build_mode():
Expand Down
4 changes: 3 additions & 1 deletion torch_xla/csrc/runtime/runtime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ ComputationClient* GetComputationClient() {

std::unique_ptr<ComputationClient> client;

static bool use_ifrt = sys_util::GetEnvBool("XLA_USE_IFRT", false);
// Disable IFRT right now as it currently crashes.
// static bool use_ifrt = sys_util::GetEnvBool("XLA_USE_IFRT", false);
static bool use_ifrt = false;
if (sys_util::GetEnvString(env::kEnvPjRtDevice, "") != "") {
if (use_ifrt) {
client = std::make_unique<IfrtComputationClient>();
Expand Down

0 comments on commit feb9a13

Please sign in to comment.