We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9366503 commit e4292e6Copy full SHA for e4292e6
jax/_src/pallas/mosaic/tpu_info.py
@@ -78,6 +78,12 @@ def is_split_chip(self) -> bool:
78
# Is this a multi-core chip being used in single-core mode?
79
return self.num_cores == 1 and not self.is_lite
80
81
+ @property
82
+ def supports_sparse_core(self) -> bool:
83
+ return (
84
+ self.chip_version == ChipVersion.TPU_V5P and not self.is_split_chip
85
+ ) or self.chip_version in {ChipVersion.TPU_7X, ChipVersion.TPU_V6E}
86
+
87
def is_matmul_supported(
88
self,
89
lhs_dtype: jnp.dtype | str,
0 commit comments