test segfault again

This commit is contained in:
zibokapi
2025-08-06 21:55:45 +08:00
parent 406ef32b12
commit 56fc5f03e7
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

View File

@@ -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