Skip to content

没有GPU,应该怎么修改运行 #103

@xiaomujiang

Description

@xiaomujiang

因为没有GPU,所以在运行 make -j32就会报错
(pytor) [zhangshilin@JHL-q test]$ make -j32
python setup.py build_ext --inplace
Traceback (most recent call last):
File "setup.py", line 58, in
CUDA = locate_cuda()
File "setup.py", line 46, in locate_cuda
raise EnvironmentError('The nvcc binary could not be '
OSError: The nvcc binary could not be located in your $PATH. Either add it to your path, or set $CUDAHOME
make: *** [all] Error 1

请问,怎么修改让工程可以在CPU环境下运行?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions