Skip to content

Commit

Permalink
[mosaic_gpu] Removed debug prints in jax._src.lib.mosaic_gpu
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 717913893
  • Loading branch information
superbobry authored and Google-ML-Automation committed Jan 21, 2025
1 parent c4643c6 commit dd773b9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions jax/_src/lib/mosaic_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@
try:
try:
from jaxlib.mosaic.gpu import _mosaic_gpu_ext # pytype: disable=import-error
except ImportError as e:
print(e)
except ImportError:
from jax_cuda12_plugin import _mosaic_gpu_ext # pytype: disable=import-error
except ImportError as e:
print("="*128)
print(e)
except ImportError:
raise ModuleNotFoundError("Failed to import the Mosaic GPU bindings") from e
else:
_mosaic_gpu_ext.register_passes()

0 comments on commit dd773b9

Please sign in to comment.