Skip to content

Commit 5f6366d

Browse files
committed
test: skip fp8 sparsity smoke cases under NNX (b/509790223)
fp8 Qwix stateful quant crashes under NNX (tracer leak / pytree ValueError via ToLinen). Skip the fp8_full and fp8_full_with_sparsity cases until b/509790223 is fixed.
1 parent afa96ee commit 5f6366d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/integration/sparsity_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
"""Smoke test for sparsity.
15-
"""
14+
"""Smoke test for sparsity."""
1615

1716
import os
1817
import tempfile
@@ -49,6 +48,8 @@ class Train(parameterized.TestCase):
4948
)
5049
@pytest.mark.tpu_only
5150
def test_different_quant_sparsity_configs(self, quantization: str, use_sparsity: bool):
51+
if quantization == "fp8_full":
52+
self.skipTest("fp8 quant is broken under NNX, see b/509790223")
5253
test_tmpdir = os.environ.get("TEST_TMPDIR", gettempdir())
5354
outputs_dir = os.environ.get("TEST_UNDECLARED_OUTPUTS_DIR", test_tmpdir)
5455
args = [

0 commit comments

Comments
 (0)