You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check failed is triggered when the dtype parameter of these apis used to create tensors sets an unsupported type.
For example, jt.rand, jt.ones.
The error log suggests reporting this issue.
Full Log
[i 1203 10:51:16.452531 16 compiler.py:956] Jittor(1.3.9.10) src: /home/miniconda3/envs/jittor/lib/python3.9/site-packages/jittor
[i 1203 10:51:16.463305 16 compiler.py:957] g++ at /usr/bin/g++(11.2.0)
[i 1203 10:51:16.463787 16 compiler.py:958] cache_path: /home/.cache/jittor/jt1.3.9/g++11.2.0/py3.9.12/Linux-5.15.0-1x30/INTELRXEONRGOLx51/ef26/default
[i 1203 10:51:16.548175 16 install_cuda.py:93] cuda_driver_version: [12, 2]
[i 1203 10:51:16.562796 16 __init__.py:412] Found /home/.cache/jittor/jtcuda/cuda12.2_cudnn8_linux/bin/nvcc(12.2.140) at /home/.cache/jittor/jtcuda/cuda12.2_cudnn8_linux/bin/nvcc.
[i 1203 10:51:17.010878 16 __init__.py:412] Found gdb(12.0.90) at /usr/bin/gdb.
[i 1203 10:51:17.013349 16 __init__.py:412] Found addr2line(2.38) at /usr/bin/addr2line.
[i 1203 10:51:17.497462 16 compiler.py:1013] cuda key:cu12.2.140_sm_89
[i 1203 10:51:18.738920 16 __init__.py:227] Total mem: 251.50GB, using 16 procs for compiling.
[i 1203 10:51:18.976258 16 jit_compiler.cc:28] Load cc_path: /usr/bin/g++
[i 1203 10:51:19.225324 16 init.cc:63] Found cuda archs: [89,]
Traceback (most recent call last):
File "test.py", line 5, in <module>
testType = jt.dtype('testType')
RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.NanoString.__init__)).
Types of your inputs are:
self = NanoString,
args = (str, ),
The function declarations are:
inline NanoString(const char* s)
inline NanoString(const NanoString& other)
Failed reason:[f 1203 10:51:20.164367 16 nano_string.h:163] Check failed: iter != __string_to_ns.end() Something wrong... Could you please report this issue?
testType
Minimal Reproduce
import jittor as jt
testType = jt.dtype('testType')
unsupported_tensor = jt.ones(2, 2, dtype=testType)
Expected behavior
The dtype parameter needs to be checked to prevent Check failed
The text was updated successfully, but these errors were encountered:
Describe the bug
Check failed is triggered when the dtype parameter of these apis used to create tensors sets an unsupported type.
For example, jt.rand, jt.ones.
The error log suggests reporting this issue.
Full Log
Minimal Reproduce
Expected behavior
The dtype parameter needs to be checked to prevent Check failed
The text was updated successfully, but these errors were encountered: