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

NoneType' object has no attribute 'split #3

Open
wxthu opened this issue Mar 4, 2022 · 3 comments
Open

NoneType' object has no attribute 'split #3

wxthu opened this issue Mar 4, 2022 · 3 comments

Comments

@wxthu
Copy link

wxthu commented Mar 4, 2022

when I run the kernel code in main branch or master branch, the same error occured as following:
image

@DeMoriarty
Copy link
Owner

DeMoriarty commented Mar 4, 2022

please make sure you have nvcc installed on your system, run:

which nvcc

on linuxs, or:

where nvcc

on windows. it should return the path of nvcc.

if nvcc isn't installed on your system, please go to https://developer.nvidia.com/cuda-downloads to download cuda toolkit. Do NOT download v11.6, it isn't supported by cupy yet.

Install the latest version of cupy that matches your cuda toolkit version (or upgrade cupy to the latest version if you have already installed). For example, if your cuda toolkit version is 11.5, run:

pip3 install cupy-cuda115

to install cupy. If your cuda toolkit version is 11.5, but you've already installed cupy-cuda112, first uninstal cupy-cuda-112, then install cupy-cuda115.

if you're confident that nvcc is installed, but the above command doesn't return the path of nvcc, then make sure /usr/local/cuda-{version}/bin (on linux) or C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v{version}\bin (on windows) is included in PATH variable.

@wxthu
Copy link
Author

wxthu commented Mar 5, 2022

I am sure that I have installed nvcc and it has been included in PATH variable. However, it seems still no work
image
image

@DeMoriarty
Copy link
Owner

if /home/oushou/cuda-11.0/ is where cuda is installed, then you should use the nvcc in /home/oushou/cuda-11.0/bin/. also make sure the installed version of cupy is cuda-cupy110

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