"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "1ec28a2c770546e4483a5109c4e98d6e1b298968"
Commit d0fbe2cb authored by Daniel L. Lu's avatar Daniel L. Lu Committed by Facebook GitHub Bot
Browse files

fix typo pucuda.gl --> pycuda.gl (#1379)

Summary:
Every time I try to run code, I get this warning:

```
  warnings.warn("Can't import pucuda.gl, not importing MeshRasterizerOpenGL.")
```

Of course, `pucuda` is a typo of `pycuda`.

This PR fixes the typo

Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1379

Reviewed By: kjchalup

Differential Revision: D41295562

Pulled By: bottler

fbshipit-source-id: 2bfa2a2dbe20a5347861d36fbff5094994c1253d
parent 719c33a7
...@@ -24,7 +24,7 @@ def _can_import_egl_and_pycuda(): ...@@ -24,7 +24,7 @@ def _can_import_egl_and_pycuda():
try: try:
import pycuda.gl import pycuda.gl
except (ImportError, ImportError, ModuleNotFoundError): except (ImportError, ImportError, ModuleNotFoundError):
warnings.warn("Can't import pucuda.gl, not importing MeshRasterizerOpenGL.") warnings.warn("Can't import pycuda.gl, not importing MeshRasterizerOpenGL.")
return False return False
return True return True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment