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 run this command: python setup.py install (inside libgpuarray), i get the following cython error:
[1/2] Cythonizing pygpu/collectives.pyx /usr/local/lib/python3.6/site-packages/Cython-3.0a5-py3.6-linux-x86_64.egg/Cython/Compiler/Main.py:344: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /home/datadrivenbirding/BirdNET/libgpuarray/pygpu/collectives.pxd tree = Parsing.p_module(s, pxd, full_module_name) Error compiling Cython file: try: if is_c_cont: # Smallest in index dimension has the largest stride if src.ga.dimensions[0] % gpucount == 0: chosen_dim_size = src.ga.dimensions[0] / gpucount ^ pygpu/collectives.pyx:394:55: Cannot assign type 'double' to 'size_t' Error compiling Cython file: else: raise TypeError, "Source GpuArray cannot be split in %d c-contiguous arrays" % (gpucount) else: # Largest in index dimension has the largest stride if src.ga.dimensions[nd - 1] % gpucount == 0: chosen_dim_size = src.ga.dimensions[nd - 1] / gpucount ^ pygpu/collectives.pyx:408:60: Cannot assign type 'double' to 'size_t' Traceback (most recent call last): File "setup.py", line 158, in <module> ext_modules=cythonize(exts), File "/usr/local/lib/python3.6/site-packages/Cython-3.0a5-py3.6-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1110, in cythonize cythonize_one(*args) File "/usr/local/lib/python3.6/site-packages/Cython-3.0a5-py3.6-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1277, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pygpu/collectives.pyx
The text was updated successfully, but these errors were encountered:
when i run this command:
python setup.py install
(inside libgpuarray), i get the following cython error:[1/2] Cythonizing pygpu/collectives.pyx /usr/local/lib/python3.6/site-packages/Cython-3.0a5-py3.6-linux-x86_64.egg/Cython/Compiler/Main.py:344: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /home/datadrivenbirding/BirdNET/libgpuarray/pygpu/collectives.pxd tree = Parsing.p_module(s, pxd, full_module_name) Error compiling Cython file: try: if is_c_cont: # Smallest in index dimension has the largest stride if src.ga.dimensions[0] % gpucount == 0: chosen_dim_size = src.ga.dimensions[0] / gpucount ^ pygpu/collectives.pyx:394:55: Cannot assign type 'double' to 'size_t' Error compiling Cython file: else: raise TypeError, "Source GpuArray cannot be split in %d c-contiguous arrays" % (gpucount) else: # Largest in index dimension has the largest stride if src.ga.dimensions[nd - 1] % gpucount == 0: chosen_dim_size = src.ga.dimensions[nd - 1] / gpucount ^ pygpu/collectives.pyx:408:60: Cannot assign type 'double' to 'size_t' Traceback (most recent call last): File "setup.py", line 158, in <module> ext_modules=cythonize(exts), File "/usr/local/lib/python3.6/site-packages/Cython-3.0a5-py3.6-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1110, in cythonize cythonize_one(*args) File "/usr/local/lib/python3.6/site-packages/Cython-3.0a5-py3.6-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1277, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pygpu/collectives.pyx
The text was updated successfully, but these errors were encountered: