Skip to content

Commit

Permalink
[benchmarks] Disallow XRT for XLA:CUDA. (#8006)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysiraichi committed Sep 13, 2024
1 parent abb07e4 commit afbd7bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmarks/benchmark_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ def _is_available(self,
if cfg_xla is None:
return False
elif cfg_accelerator in ("cpu", "cuda"):
pass
if cfg_xla == "XRT":
return False
else:
raise NotImplementedError

Expand Down

0 comments on commit afbd7bd

Please sign in to comment.