Skip to content

[2025秋季][T1-1-3] xu-zhengzhong#75

Open
xu-zhengzhong wants to merge 6 commits intoInfiniTensor:masterfrom
xu-zhengzhong:2025-autumn-xu-zhengzhong-T1-1-3
Open

[2025秋季][T1-1-3] xu-zhengzhong#75
xu-zhengzhong wants to merge 6 commits intoInfiniTensor:masterfrom
xu-zhengzhong:2025-autumn-xu-zhengzhong-T1-1-3

Conversation

@xu-zhengzhong
Copy link

@xu-zhengzhong xu-zhengzhong commented Mar 4, 2026

pytest output:

============================= test session starts ==============================
platform linux -- Python 3.10.19, pytest-9.0.2, pluggy-1.6.0
rootdir: /data/home/xuzz/ntops
configfile: pyproject.toml
plugins: cov-7.0.0
collected 952 items

tests/test_abs.py ........                                               [  0%]
tests/test_addmm.py ..                                                   [  1%]
tests/test_add.py ........                                               [  1%]
tests/test_avg_pool2d.py ..ssss..ssss..ssss....ss....ss....ss            [  5%]
tests/test_bitwise_and.py ................                               [  7%]
tests/test_bitwise_not.py ................                               [  9%]
tests/test_bitwise_or.py ................                                [ 10%]
tests/test_bmm.py ..                                                     [ 10%]
tests/test_celu.py ................                                      [ 12%]
tests/test_clamp.py ........                                             [ 13%]
tests/test_conv2d.py ................................................... [ 18%]
.........................................................                [ 24%]
tests/test_cos.py ........                                               [ 25%]
tests/test_div.py .s..s..s..s..s..s..s..s.                               [ 28%]
tests/test_dropout.py ........                                           [ 28%]
tests/test_eq.py ........                                                [ 29%]
tests/test_exp.py ........                                               [ 30%]
tests/test_gelu.py .s.s.s.s.s.s.s.s                                      [ 32%]
tests/test_ge.py ........                                                [ 33%]
tests/test_gt.py ........                                                [ 34%]
tests/test_isinf.py ........                                             [ 34%]
tests/test_isnan.py ........                                             [ 35%]
tests/test_layer_norm.py ............................................... [ 40%]
.................................................                        [ 45%]
tests/test_le.py ........                                                [ 46%]
tests/test_lt.py ........                                                [ 47%]
tests/test_matmul.py ........                                            [ 48%]
tests/test_max_pool2d.py ......ssssssssssss......ssssssssssss......sssss [ 53%]
sssssss............ssssss............ssssss............ssssss            [ 59%]
tests/test_mm.py ..                                                      [ 59%]
tests/test_mul.py ........                                               [ 60%]
tests/test_neg.py ........                                               [ 61%]
tests/test_ne.py ........                                                [ 62%]
tests/test_pow.py ........                                               [ 63%]
tests/test_relu.py ................                                      [ 64%]
tests/test_rms_norm.py ................................................. [ 70%]
...............                                                          [ 71%]
tests/test_rotary_position_embedding.py ................................ [ 75%]
........................................................................ [ 82%]
........................                                                 [ 85%]
tests/test_rsqrt.py ........                                             [ 85%]
tests/test_scaled_dot_product_attention.py ............................. [ 88%]
.................................................                        [ 94%]
tests/test_sigmoid.py ........                                           [ 94%]
tests/test_silu.py ........                                              [ 95%]
tests/test_sin.py ........                                               [ 96%]
tests/test_softmax.py ........                                           [ 97%]
tests/test_sub.py ........                                               [ 98%]
tests/test_tanh.py ........                                              [ 99%]
tests/test_threshold.py ........                                         [100%]

=============================== warnings summary ===============================
tests/test_isinf.py: 12 warnings
  /data/home/xuzz/.ninetoothed/9649b2724dd6cd16e46da5065ea038e6ee90afc56f9fd78dade455f21272245e.py:13: UserWarning: Logical operators 'and' and 'or' are deprecated for non-scalar tensors; please use '&' or '|' instead
    triton.language.store(ninetoothed_tensor_2199_pointers + (ninetoothed_tensor_2199_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74)[::,]) * ninetoothed_ninetoothed_tensor_2199_stride_0, pos_result or neg_result, mask=True & (ninetoothed_tensor_2199_index_0 < (ninetoothed_ninetoothed_tensor_2199_size_0 - (ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74 - 1) - 1 + ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74 - 1) // ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74 + 1) & (ninetoothed_tensor_2199_index_0 >= 0) & (triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74)[::,] < ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74) & (triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74)[::,] >= 0) & (ninetoothed_tensor_2199_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74)[::,] < ninetoothed_ninetoothed_tensor_2199_size_0) & (ninetoothed_tensor_2199_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74)[::,] >= 0) & (ninetoothed_tensor_2199_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74)[::,] < ninetoothed_ninetoothed_tensor_2199_size_0) & (ninetoothed_tensor_2199_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_74)[::,] >= 0))
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/test_isinf.py: 12 warnings
  /data/home/xuzz/.ninetoothed/005a38cb4a7441c597614cceb039eedc227e219227bb123bf0424a8082423442.py:13: UserWarning: Logical operators 'and' and 'or' are deprecated for non-scalar tensors; please use '&' or '|' instead
    triton.language.store(ninetoothed_tensor_2207_pointers + ((ninetoothed_tensor_2207_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75)[::,]) // ninetoothed_ninetoothed_tensor_2207_size_1 * ninetoothed_ninetoothed_tensor_2207_stride_0 + (ninetoothed_tensor_2207_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75)[::,]) % ninetoothed_ninetoothed_tensor_2207_size_1 * ninetoothed_ninetoothed_tensor_2207_stride_1), pos_result or neg_result, mask=True & (ninetoothed_tensor_2207_index_0 < (ninetoothed_ninetoothed_tensor_2207_size_0 * ninetoothed_ninetoothed_tensor_2207_size_1 - (ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75 - 1) - 1 + ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75 - 1) // ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75 + 1) & (ninetoothed_tensor_2207_index_0 >= 0) & (triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75)[::,] < ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75) & (triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75)[::,] >= 0) & (ninetoothed_tensor_2207_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75)[::,] < ninetoothed_ninetoothed_tensor_2207_size_0 * ninetoothed_ninetoothed_tensor_2207_size_1) & (ninetoothed_tensor_2207_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75)[::,] >= 0) & ((ninetoothed_tensor_2207_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75)[::,]) // ninetoothed_ninetoothed_tensor_2207_size_1 < ninetoothed_ninetoothed_tensor_2207_size_0) & ((ninetoothed_tensor_2207_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75)[::,]) // ninetoothed_ninetoothed_tensor_2207_size_1 >= 0) & ((ninetoothed_tensor_2207_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75)[::,]) % ninetoothed_ninetoothed_tensor_2207_size_1 < ninetoothed_ninetoothed_tensor_2207_size_1) & ((ninetoothed_tensor_2207_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_75)[::,]) % ninetoothed_ninetoothed_tensor_2207_size_1 >= 0))
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/test_isinf.py: 12 warnings
  /data/home/xuzz/.ninetoothed/3b45aba9fbd4e34a16d0a1f810c7b4f0c85fd0e4ba19ffeadcad355c54ea3ff5.py:13: UserWarning: Logical operators 'and' and 'or' are deprecated for non-scalar tensors; please use '&' or '|' instead
    triton.language.store(ninetoothed_tensor_2215_pointers + ((ninetoothed_tensor_2215_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,]) // (ninetoothed_ninetoothed_tensor_2215_size_1 * ninetoothed_ninetoothed_tensor_2215_size_2) * ninetoothed_ninetoothed_tensor_2215_stride_0 + (ninetoothed_tensor_2215_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,]) % (ninetoothed_ninetoothed_tensor_2215_size_1 * ninetoothed_ninetoothed_tensor_2215_size_2) // ninetoothed_ninetoothed_tensor_2215_size_2 * ninetoothed_ninetoothed_tensor_2215_stride_1 + (ninetoothed_tensor_2215_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,]) % (ninetoothed_ninetoothed_tensor_2215_size_1 * ninetoothed_ninetoothed_tensor_2215_size_2) % ninetoothed_ninetoothed_tensor_2215_size_2 * ninetoothed_ninetoothed_tensor_2215_stride_2), pos_result or neg_result, mask=True & (ninetoothed_tensor_2215_index_0 < (ninetoothed_ninetoothed_tensor_2215_size_0 * ninetoothed_ninetoothed_tensor_2215_size_1 * ninetoothed_ninetoothed_tensor_2215_size_2 - (ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 - 1) - 1 + ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 - 1) // ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + 1) & (ninetoothed_tensor_2215_index_0 >= 0) & (triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,] < ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76) & (triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,] >= 0) & (ninetoothed_tensor_2215_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,] < ninetoothed_ninetoothed_tensor_2215_size_0 * ninetoothed_ninetoothed_tensor_2215_size_1 * ninetoothed_ninetoothed_tensor_2215_size_2) & (ninetoothed_tensor_2215_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,] >= 0) & ((ninetoothed_tensor_2215_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,]) // (ninetoothed_ninetoothed_tensor_2215_size_1 * ninetoothed_ninetoothed_tensor_2215_size_2) < ninetoothed_ninetoothed_tensor_2215_size_0) & ((ninetoothed_tensor_2215_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,]) // (ninetoothed_ninetoothed_tensor_2215_size_1 * ninetoothed_ninetoothed_tensor_2215_size_2) >= 0) & ((ninetoothed_tensor_2215_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,]) % (ninetoothed_ninetoothed_tensor_2215_size_1 * ninetoothed_ninetoothed_tensor_2215_size_2) // ninetoothed_ninetoothed_tensor_2215_size_2 < ninetoothed_ninetoothed_tensor_2215_size_1) & ((ninetoothed_tensor_2215_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,]) % (ninetoothed_ninetoothed_tensor_2215_size_1 * ninetoothed_ninetoothed_tensor_2215_size_2) // ninetoothed_ninetoothed_tensor_2215_size_2 >= 0) & ((ninetoothed_tensor_2215_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,]) % (ninetoothed_ninetoothed_tensor_2215_size_1 * ninetoothed_ninetoothed_tensor_2215_size_2) % ninetoothed_ninetoothed_tensor_2215_size_2 < ninetoothed_ninetoothed_tensor_2215_size_2) & ((ninetoothed_tensor_2215_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_76)[::,]) % (ninetoothed_ninetoothed_tensor_2215_size_1 * ninetoothed_ninetoothed_tensor_2215_size_2) % ninetoothed_ninetoothed_tensor_2215_size_2 >= 0))
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/test_isinf.py: 12 warnings
  /data/home/xuzz/.ninetoothed/6e9f9a7a539fa7e38ac4ad10568cd7b5cb306905bf0e16bc67a7bc5499295770.py:13: UserWarning: Logical operators 'and' and 'or' are deprecated for non-scalar tensors; please use '&' or '|' instead
    triton.language.store(ninetoothed_tensor_2223_pointers + ((ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) // (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) * ninetoothed_ninetoothed_tensor_2223_stride_0 + (ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) % (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) // (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3) * ninetoothed_ninetoothed_tensor_2223_stride_1 + (ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) % (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) % (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3) // ninetoothed_ninetoothed_tensor_2223_size_3 * ninetoothed_ninetoothed_tensor_2223_stride_2 + (ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) % (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) % (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3) % ninetoothed_ninetoothed_tensor_2223_size_3 * ninetoothed_ninetoothed_tensor_2223_stride_3), pos_result or neg_result, mask=True & (ninetoothed_tensor_2223_index_0 < (ninetoothed_ninetoothed_tensor_2223_size_0 * ninetoothed_ninetoothed_tensor_2223_size_1 * ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3 - (ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 - 1) - 1 + ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 - 1) // ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + 1) & (ninetoothed_tensor_2223_index_0 >= 0) & (triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,] < ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77) & (triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,] >= 0) & (ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,] < ninetoothed_ninetoothed_tensor_2223_size_0 * ninetoothed_ninetoothed_tensor_2223_size_1 * ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3) & (ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,] >= 0) & ((ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) // (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) < ninetoothed_ninetoothed_tensor_2223_size_0) & ((ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) // (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) >= 0) & ((ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) % (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) // (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3) < ninetoothed_ninetoothed_tensor_2223_size_1) & ((ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) % (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) // (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3) >= 0) & ((ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) % (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) % (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3) // ninetoothed_ninetoothed_tensor_2223_size_3 < ninetoothed_ninetoothed_tensor_2223_size_2) & ((ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) % (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) % (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3) // ninetoothed_ninetoothed_tensor_2223_size_3 >= 0) & ((ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) % (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) % (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3) % ninetoothed_ninetoothed_tensor_2223_size_3 < ninetoothed_ninetoothed_tensor_2223_size_3) & ((ninetoothed_tensor_2223_index_0 * ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77 + triton.language.arange(0, ninetoothed_meta_prefix_ninetoothed_BLOCK_SIZE_77)[::,]) % (ninetoothed_ninetoothed_tensor_2223_size_1 * (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3)) % (ninetoothed_ninetoothed_tensor_2223_size_2 * ninetoothed_ninetoothed_tensor_2223_size_3) % ninetoothed_ninetoothed_tensor_2223_size_3 >= 0))
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========== 864 passed, 88 skipped, 48 warnings in 5568.76s (1:32:48) ===========

Compatibility Notes :

  1. ResNet operators (avg_pool2d, conv2d, max_pool2d) depend on ninetoothed.Tensor.pad, which is not yet supported in the latest v0.23.0 release on PyPI. Resolve by cloning source code and running pip install . (not direct PyPI install).
  2. Correct output for rot90 and quantile operators requires triton library version >= 3.4.0, while the conv2d operator requires triton library version >= 3.5.0.

@xu-zhengzhong xu-zhengzhong changed the title 2025 autumn xu zhengzhong t1 1 3 [2025秋季][T1-1-3] xu-zhengzhong Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant