Skip to content

Commit 436e2bf

Browse files
committed
fix: Remove unsupported XLA options in AOT
GitOrigin-RevId: 2ad3def
1 parent beff73e commit 436e2bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

axlearn/experiments/run_aot_compilation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ def _compile_and_dump_programs(
7676
else:
7777
xla_options = None
7878

79-
# Remove XLA options that are not supported by JAX 0.4.38.
80-
# TODO(kelvin-zou): Remove this when we upgrade JAX.
79+
# Remove XLA options that are not supported in AOT.
8180
if xla_options is not None:
8281
xla_options.pop("megascale_graph_within_launch_hang_threshold", None)
8382
xla_options.pop("megascale_graph_hang_threshold", None)
8483
xla_options.pop("megascale_grpc_enable_xor_tracer", None)
8584
xla_options.pop("megascale_error_reporter_abort_on_hang", None)
8685
xla_options.pop("megascale_grpc_premap_memory_bytes", None)
8786
xla_options.pop("megascale_error_reporter_abort_on_error", None)
87+
xla_options.pop("megascale_debug_port", None)
8888

8989
programs = aot_compilation.compile_trainer_programs(
9090
trainer_config,

0 commit comments

Comments
 (0)