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

运行时Failed reason:[f 1013 20:23:11.079061 16 helper_cuda.h:128] CUDA error at /home/hstack/.local/lib/python3.10/site-packages/jittor/src/mem/allocator/cuda_host_allocator.cc:22 code=2( cudaErrorMemoryAllocation ) cudaMallocHost(&ptr, size) #76

Open
wulongyong2022 opened this issue Oct 13, 2023 · 0 comments

Comments

@wulongyong2022
Copy link

Traceback (most recent call last):
File "/home/hstack/JNeRF/tools/run_net.py", line 75, in
main()
File "/home/hstack/JNeRF/tools/run_net.py", line 59, in main
runner = Runner()
File "/home/hstack/JNeRF/python/jnerf/runner/runner.py", line 24, in init
self.dataset["train"] = build_from_cfg(self.cfg.dataset.train, DATASETS)
File "/home/hstack/JNeRF/python/jnerf/utils/registry.py", line 33, in build_from_cfg
module = obj_cls(**args)
File "/home/hstack/JNeRF/python/jnerf/dataset/dataset.py", line 48, in init
self.load_data()
File "/home/hstack/JNeRF/python/jnerf/dataset/dataset.py", line 158, in load_data
self.image_data=jt.array(self.image_data)
File "/home/hstack/.local/lib/python3.10/site-packages/jittor/init.py", line 376, in array
ret = ops.array(data)
RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.ops.array)).

Types of your inputs are:
self = module,
args = (list, ),

The function declarations are:
VarHolder* array__(PyObject* obj)

Failed reason:[f 1013 20:23:11.079061 16 helper_cuda.h:128] CUDA error at /home/hstack/.local/lib/python3.10/site-packages/jittor/src/mem/allocator/cuda_host_allocator.cc:22 code=2( cudaErrorMemoryAllocation ) cudaMallocHost(&ptr, size)

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