Skip to content

libcudart.so not found when compiling with NO_DISTRIBUTED=1 #14805

@mfuntowicz

Description

@mfuntowicz

When compiling PyTorch from sources (a80a46a) with the flag NO_DISTRIBUTED=1 it ends up with the Following error :

couldn't find libcudart. Make sure CUDA libraries are installed in adefault location, or that they're in LD_LIBRARY_PATH comming from there : https://github.com/pytorch/pytorch/blob/master/torch/cuda/__init__.py#L66

Compiling with Distributed support makes the error disappear.

Happened on Fedora 29, using GCC/G++ 7.3.1 with CUDA 9.2 / CuDNN 7.4.1 / GTX 1080 Ti

Metadata

Metadata

Assignees

Labels

oncall: distributedAdd this issue/PR to distributed oncall triage queue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions