Jittor 打印的 log 有什么用

Jittor 为什么要打印这些信息呢,它们代表着什么?

Import jittor 时,jittor 会打印关于运行环境信息。如果遇到了安装或者运行错误,这些能帮助我们找到问题。下面是值得注意的信息

Jittor(1.3.0.4) src: /home/lzhengning/.local/lib/python3.7/site-packages/jittor
g++ at /usr/bin/g++(7.5.0)
cache_path: /home/lzhengning/.cache/jittor/default/g++
Found /usr/local/cuda/bin/nvcc(10.2.89) at /usr/local/cuda/bin/nvcc.
Found gdb(8.1.0) at /usr/bin/gdb.
Found addr2line(2.30) at /usr/bin/addr2line.

打印 Jittor, g++, nvcc, addr2line 的版本号与目录

py_include: -I/usr/include/python3.7m -I/usr/include/python3.7m
extension_suffix: .cpython-37m-x86_64-linux-gnu.so

Python 的版本号

found /usr/local/cuda/include/cublas.h
found /usr/lib/x86_64-linux-gnu/libcublas.so
found /usr/lib/x86_64-linux-gnu/libcublasLt.so.10
found /usr/local/cuda/include/cudnn.h
found /usr/local/cuda/lib64/libcudnn.so
found /usr/local/cuda/include/curand.h
found /usr/local/cuda/include/curand.so

是否找到了 cuda 加速库,与其位置

CUDA enabled.

是否启用了 CUDA (GPU)