Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to run demo.py file - runtime error #30

Open
Trivenu opened this issue May 24, 2021 · 1 comment
Open

unable to run demo.py file - runtime error #30

Trivenu opened this issue May 24, 2021 · 1 comment

Comments

@Trivenu
Copy link

Trivenu commented May 24, 2021

got the below error while running:
on3.8 -I/home/karthik/.local/lib/python3.8/site-packages/pybind11/include
[i 0524 10:49:50.172849 52 compiler.py:898] extension_suffix: .cpython-38-x86_64-linux-gnu.so
[i 0524 10:49:50.427291 52 init.py:168] Total mem: 10.62GB, using 3 procs for compiling.
[i 0524 10:49:50.993130 52 jit_compiler.cc:20] Load cc_path: /usr/bin/g++
[i 0524 10:49:51.052464 52 init.py:249] Found mpicc(4.0.3) at /usr/bin/mpicc.
[i 0524 10:49:51.124027 52 compiler.py:653] handle pyjt_include/home/karthik/.local/lib/python3.8/site-packages/jittor/extern/mpi/inc/mpi_warper.h
Traceback (most recent call last):
File "demo.py", line 4, in
from WindowUI import WindowUI
File "/home/karthik/Documents/deeplearning/DeepFaceDrawing-Jittor/WindowUI.py", line 18, in
jt.flags.use_cuda = 1
RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.flags)).

Types of your inputs are:
self = flags,
arg = int,

The function declarations are:
void _set_use_cuda(int v)
void _set_use_cuda(bool v)

Failed reason:[f 0524 10:49:51.790183 52 cuda_flags.cc:30] Check failed: value==0 No CUDA found.

@tsv19su254052
Copy link

image

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

No branches or pull requests

2 participants