question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CUDA CODE not compiling

See original GitHub issue

I dont think the current code compiles the cuda code if you git clone and just do a python setup.py install. I inserted rubbish in cu file and followed your steps…no errors… Cant even see any nvcc in the code to compile the code.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
zhanghang1989commented, Jun 8, 2018

Have you installed the recent PyTorch version?

1reaction
Yozeycommented, Jun 11, 2018

Same issue with AT_ASSERT, which makes encoding kernel, sync batch normalization and ROI align modules not compatible with the 0.4.0 pytorch version

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compiling CUDA code fails - Using Clang
Hi, I am trying to build a CUDA code with Clang 14.0.0 following the instructions (Compiling CUDA with clang — LLVM 16.0.0git documentation)...
Read more >
cannot compile the CUDA code when splitted into several ...
The host compiler cannot handle CUDA-specific syntax, which is why you are getting the errors.
Read more >
CUDA Compiler Driver NVCC
CUDA programs are compiled in the whole program compilation mode by default, i.e., the device code cannot reference an entity from a separate...
Read more >
Fails to compile on NVCC CUDA 11.0 · Issue #53
The following code snippet will not compile in Nvidia's compiler. #include <boost/signals2/signal.hpp> // TODO: This is an example of a library ...
Read more >
Code not compiling, torch not working with CUDA?
When I try and run my program I get the error: raise AssertionError(“Torch not compiled with CUDA enabled”) AssertionError: Torch not compiled ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found