Skip to content

cuda runtime error (8) : invalid device function #10113

@huwei1024

Description

@huwei1024

how can i fix this problem:

RuntimeError: cuda runtime error (8) : invalid device function at c:\new-builder_2\win-wheel\pytorch\aten\src\thcunn\generic/Threshold.cu:34

Collecting environment information...
PyTorch version: 0.4.1
Is debug build: No
CUDA used to build PyTorch: 8.0

OS: Microsoft Windows 10 企业版
GCC version: Could not collect
CMake version: Could not collect

Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 8.0.60
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: Probably one of the following:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\cudnn64_7.dll

Versions of relevant libraries:
[pip] Could not collect
[conda] Could not collect

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions