hantao-zhou commented on PR #18398:
URL: https://github.com/apache/tvm/pull/18398#issuecomment-3446587307

   (matopbench) hans@fedora:~/workspace/matopbench/external/tvm/build$ python 
/home/hans/workspace/matopbench/external/tvm/tests/python/codegen/test_target_codegen_cuda.py
   enabled targets: llvm; cuda; nvptx
   pytest marker: 
   
=====================================================================================================================================
 test session starts 
======================================================================================================================================
   platform linux -- Python 3.14.0, pytest-8.4.2, pluggy-1.6.0 -- 
/home/hans/workspace/matopbench/.pixi/envs/default/bin/python
   cachedir: .pytest_cache
   rootdir: /home/hans/workspace/matopbench/external/tvm
   configfile: pyproject.toml
   collected 27 items                                                           
                                                                                
                                                                                
                                                  
   
   ../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_vectorize_add 
PASSED                                                                          
                                                                                
                                            [  3%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_bf16_vectorize_add
 PASSED                                                                         
                                                                                
                                        [  7%]
   ../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_multiply_add 
PASSED                                                                          
                                                                                
                                             [ 11%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_vectorize_load 
PASSED                                                                          
                                                                                
                                           [ 14%]
   ../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_make_int8 
FAILED                                                                          
                                                                                
                                                [ 18%]
   ../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_inf_nan 
PASSED                                                                          
                                                                                
                                                  [ 22%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_crossthread_reduction1[cuda]
 PASSED                                                                         
                                                                                
                                   [ 25%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_crossthread_reduction1[rocm]
 SKIPPED (No device exists for target rocm)                                     
                                                                                
                                   [ 29%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_crossthread_reduction2[cuda]
 PASSED                                                                         
                                                                                
                                   [ 33%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_crossthread_reduction2[rocm]
 SKIPPED (No device exists for target rocm)                                     
                                                                                
                                   [ 37%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_reduction_binding
 PASSED                                                                         
                                                                                
                                         [ 40%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_const_float_to_half
 PASSED                                                                         
                                                                                
                                       [ 44%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_floordiv_with_vectorization
 PASSED                                                                         
                                                                                
                               [ 48%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_floormod_with_vectorization
 PASSED                                                                         
                                                                                
                               [ 51%]
   ../tests/python/codegen/test_target_codegen_cuda.py::test_vectorized_casts 
PASSED                                                                          
                                                                                
                                              [ 55%]
   ../tests/python/codegen/test_target_codegen_cuda.py::test_vectorized_intrin1 
PASSED                                                                          
                                                                                
                                            [ 59%]
   ../tests/python/codegen/test_target_codegen_cuda.py::test_vectorized_intrin2 
PASSED                                                                          
                                                                                
                                            [ 62%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_vectorized_popcount 
PASSED                                                                          
                                                                                
                                           [ 66%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_vectorize_load_permute_pad
 PASSED                                                                         
                                                                                
                                [ 70%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_try_unaligned_vector_load
 PASSED                                                                         
                                                                                
                                      [ 74%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_thread_sync_inside_condition
 PASSED                                                                         
                                                                                
                              [ 77%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_invalid_reinterpret 
PASSED                                                                          
                                                                                
                                           [ 81%]
   ../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_tensormap 
PASSED                                                                          
                                                                                
                                                [ 85%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_device_func_call 
PASSED                                                                          
                                                                                
                                         [ 88%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_cuda_float_const_hex_format
 PASSED                                                                         
                                                                                
                                    [ 92%]
   
../tests/python/codegen/test_target_codegen_cuda.py::test_device_host_call_same_func
 PASSED                                                                         
                                                                                
                                     [ 96%]
   ../tests/python/codegen/test_target_codegen_cuda.py::test_thread_return 
PASSED                                                                          
                                                                                
                                                 [100%]
   
   
===========================================================================================================================================
 FAILURES 
===========================================================================================================================================
   
_____________________________________________________________________________________________________________________________________
 test_cuda_make_int8 
______________________________________________________________________________________________________________________________________
   ../tests/python/codegen/test_target_codegen_cuda.py:205: in 
test_cuda_make_int8
       check_cuda(64, np.int8(0xAB), 4)
                      ^^^^^^^^^^^^^
   E   OverflowError: Python integer 171 out of bounds for int8
   
   This is the current result, as mentioned, i have mixed the error used to 
exist in the vectorized_casts part, 
   The current error is not related to the issue, it should be some kinda 
mismatch of numpy with the TVM


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to