You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i use cupy compile for snn, after one epoch train, i got this problem. how could i fix it ?
my seq length is about 128, does something wrong with this setting?
To Reproduce
File"/root/conda/envs/ess/lib/python3.9/site-packages/torch/_tensor.py", line488, inbackwardtorch.autograd.backward(
File"/root/conda/envs/ess/lib/python3.9/site-packages/torch/autograd/__init__.py", line197, inbackwardVariable._execution_engine.run_backward( # Calls into the C++ engine to run the backward passFile"/root/conda/envs/ess/lib/python3.9/site-packages/torch/autograd/function.py", line267, inapplyreturnuser_fn(self, *args)
File"/root/conda/envs/ess/lib/python3.9/site-packages/spikingjelly/clock_driven/neuron_kernel.py", line2676, inbackwardkernel(
File"cupy/_core/raw.pyx", line93, incupy._core.raw.RawKernel.__call__File"cupy/_core/raw.pyx", line100, incupy._core.raw.RawKernel.kernel.__get__File"cupy/_core/raw.pyx", line117, incupy._core.raw.RawKernel._kernelFile"cupy/_util.pyx", line64, incupy._util.memoize.decorator.retFile"cupy/_core/raw.pyx", line538, incupy._core.raw._get_raw_moduleFile"cupy/_core/core.pyx", line2236, incupy._core.core.compile_with_cacheFile"cupy/_core/core.pyx", line2254, incupy._core.core.compile_with_cacheFile"/root/conda/envs/ess/lib/python3.9/site-packages/cupy/cuda/compiler.py", line484, in_compile_module_with_cachereturn_compile_with_cache_cuda(
File"/root/conda/envs/ess/lib/python3.9/site-packages/cupy/cuda/compiler.py", line562, in_compile_with_cache_cudaptx, mapping=compile_using_nvrtc(
File"/root/conda/envs/ess/lib/python3.9/site-packages/cupy/cuda/compiler.py", line317, incompile_using_nvrtccu_file.write(source)
UnicodeEncodeError: 'ascii'codeccan'tencodecharactersinposition663-665: ordinalnotinrange(128)
Installation
None
Environment
# Paste the output here
Additional Information
No response
The text was updated successfully, but these errors were encountered:
File "/root/conda/envs/ess/lib/python3.9/site-packages/spikingjelly/clock_driven/neuron_kernel.py", line 2676, in backward
kernel(
It seems this is the package that contains non-ascii characters in the kernel code. I'd suggest to reach out to the maintainers. The offending code is not coming from CuPy.
Description
when i use cupy compile for snn, after one epoch train, i got this problem. how could i fix it ?
my seq length is about 128, does something wrong with this setting?
To Reproduce
Installation
None
Environment
Additional Information
No response
The text was updated successfully, but these errors were encountered: