From 56fc5f03e7dbb76394154ae56d032de677596260 Mon Sep 17 00:00:00 2001 From: zibokapi Date: Wed, 6 Aug 2025 21:55:45 +0800 Subject: [PATCH] test segfault again --- .github/workflows/test.yml | 2 +- tinygrad/tensor.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c642a7d9e..5a44b59c04 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -792,7 +792,7 @@ jobs: - name: Run real world test run: METAL=1 python -m pytest -n=auto test/models/test_real_world.py --durations=20 - name: Test models (Metal) - run: METAL=1 python -m pytest -n=auto test/models -v --durations=20 + run: TRACEMETA=0 METAL=1 python -m pytest -n=auto test/models -v --durations=20 - name: Run ONNX run: METAL=1 python -m pytest -n=auto test/external/external_test_onnx_backend.py --durations=20 - name: Test tensor core ops (fake) diff --git a/tinygrad/tensor.py b/tinygrad/tensor.py index 9bac472c83..c4226e25fa 100644 --- a/tinygrad/tensor.py +++ b/tinygrad/tensor.py @@ -4405,6 +4405,7 @@ def _metadata_wrapper(fn: Callable[P, T]) -> Callable[P, T]: return ret return _wrapper +# asfd if TRACEMETA >= 1: for name, fn in inspect.getmembers(Tensor, inspect.isfunction): if name in ["__class__", "__init__", "__new__", "__repr__", "backward", "sequential", "gradient"]: continue