Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Cuda version #4

Open
EE-zim opened this issue Apr 11, 2024 · 0 comments
Open

About Cuda version #4

EE-zim opened this issue Apr 11, 2024 · 0 comments

Comments

@EE-zim
Copy link

EE-zim commented Apr 11, 2024

I am trying to run CODE on HPC. The error traceback is attached below. It seems like a CUDA Version problem. I am currently using CUDA/11.8.0. May I know the tested CUDA Vision?

Any reply would be greatly appreciated!

Traceback (most recent call last):
  File "/users/.../.conda/envs/rfgen/lib/python3.10/site-packages/mitsuba/__init__.py", line 107, in __getattribute__
    _import('mitsuba.mitsuba_' + variant + '_ext'),
  File "/users/.../.conda/envs/rfgen/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 674, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 571, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 1176, in create_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
ImportError: jit_init_thread_state(): the CUDA backend hasn't been initialized. Make sure to call jit_init(JitBackend::CUDA) to properly initialize this backend.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/users/.../RF-Genesis/run.py", line 4, in <module>
    from genesis.raytracing import pathtracer
  File "/users/.../RF-Genesis/genesis/raytracing/pathtracer.py", line 8, in <module>
    mi.set_variant('cuda_ad_rgb')
  File "/users/.../.conda/envs/rfgen/lib/python3.10/site-packages/mitsuba/__init__.py", line 317, in set_variant
    _import('mitsuba.ad.integrators')
  File "/users/.../.conda/envs/rfgen/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/users/.../.conda/envs/rfgen/lib/python3.10/site-packages/mitsuba/python/ad/__init__.py", line 2, in <module>
    from .integrators import *
  File "/users/.../.conda/envs/rfgen/lib/python3.10/site-packages/mitsuba/python/ad/integrators/__init__.py", line 25, in <module>
    importlib.import_module('mitsuba.ad.integrators.' + name)
  File "/users/.../.conda/envs/rfgen/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/users/.../.conda/envs/rfgen/lib/python3.10/site-packages/mitsuba/python/ad/integrators/prb.py", line 6, in <module>
    from .common import RBIntegrator, mis_weight
  File "/users/.../.conda/envs/rfgen/lib/python3.10/site-packages/mitsuba/python/ad/integrators/common.py", line 8, in <module>
    class ADIntegrator(mi.CppADIntegrator):
  File "/users/.../.conda/envs/rfgen/lib/python3.10/site-packages/mitsuba/__init__.py", line 253, in __getattribute__
    result = module.__getattribute__(key)
  File "/users/.../.conda/envs/rfgen/lib/python3.10/site-packages/mitsuba/__init__.py", line 115, in __getattribute__
    raise AttributeError(e)
AttributeError: jit_init_thread_state(): the CUDA backend hasn't been initialized. Make sure to call jit_init(JitBackend::CUDA) to properly initialize this backend.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant