error: unknown file type '.pyx' (from 'tsne/bh_sne.pyx')

pip install "xinference[all]" Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting xinference[all] Using cached https://pypi.tuna.tsinghua.edu.cn/packages/b6/a0/d0754f1b6d7278bf40cf35832656cf52b18f138aa77cc026588f0e6ad5c0/xinference-1.3.1.post1-py3-none-any.whl (33.2 MB) Collecting xoscar>=0.4.4 (from xinference[all]) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/92/10/bf763c5367b73536bcac15de0af795a10bdbe87aae657e12cc157260a298/xoscar-0.4.6.tar.gz (128 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [32 lines of output] Compiling xoscar\context.pyx because it changed. Compiling xoscar\core.pyx because it changed. Compiling xoscar\_utils.pyx because it changed. Compiling xoscar\backends\message.pyx because it changed. Compiling xoscar\serialization\core.pyx because it changed. [1/5] Cythonizing xoscar\_utils.pyx [2/5] Cythonizing xoscar\backends\message.pyx [3/5] Cythonizing xoscar\context.pyx [4/5] Cythonizing xoscar\core.pyx [5/5] Cythonizing xoscar\serialization\core.pyx warning: xoscar\backends\message.pyx:74:18: Annotation ignored since class-level attributes must be Python objects. Were you trying to set up an instance attribute? warning: xoscar\backends\message.pyx:227:22: Unknown type declaration 'BaseException' in annotation, ignoring warning: xoscar\core.pyx:596:62: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: xoscar\core.pyx:602:29: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: xoscar\core.pyx:634:73: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: xoscar\core.pyx:640:40: Strings should no longer be used for
03-18
/home/vuxuanni/.conda/envs/yxn_pytorch_1/bin/python /home/vuxuanni/code/Compaired-HIT-IIL/train_fivek_skff_no_patches.py CUDA visible devices: 4 CUDA Device Name: NVIDIA GeForce RTX 3090 batch_size:1 Total_params: 8946598 length of dataset:10 Train loader length: 10 /home/vuxuanni/.conda/envs/yxn_pytorch_1/lib/python3.8/site-packages/cupy/cuda/compiler.py:464: UserWarning: cupy.cuda.compile_with_cache has been deprecated in CuPy v10, and will be removed in the future. Use cupy.RawModule or cupy.RawKernel instead. warnings.warn( Traceback (most recent call last): File "/home/vuxuanni/code/Compaired-HIT-IIL/train_fivek_skff_no_patches.py", line 123, in <module> train() File "/home/vuxuanni/code/Compaired-HIT-IIL/train_fivek_skff_no_patches.py", line 67, in train GCMModel_out_warp, rgb_mask, raw_demosaic_warp, raw_demosaic_mask = get_backwarp(x, GCMModel_out, target, File "/home/vuxuanni/code/Compaired-HIT-IIL/model/warp_modules.py", line 65, in get_backwarp flow = get_flow(tenFirst, tenSecond, net) File "/home/vuxuanni/code/Compaired-HIT-IIL/model/warp_modules.py", line 82, in get_flow flow = estimate(tenFirst, tenSecond, net) File "/home/vuxuanni/code/Compaired-HIT-IIL/model/warp_modules.py", line 33, in estimate input=net(tenPreprocessedFirst, tenPreprocessedSecond), File "/home/vuxuanni/.conda/envs/yxn_pytorch_1/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl return forward_call(*input, **kwargs) File "/home/vuxuanni/.conda/envs/yxn_pytorch_1/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 166, in forward return self.module(*inputs[0], **kwargs[0]) File "/home/vuxuanni/.conda/envs/yxn_pytorch_1/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl return forward_call(*input, **kwargs) File "/home/vuxuanni/code/Compaired-HIT-IIL/pwc_net/pwc_net.py", line 270, in forward objEstimate = self.netSix(tenFirst[-1], tenSecond[-1], None) File "/home/vuxuanni/.conda/envs/yxn_pytorch_1/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl return forward_call(*input, **kwargs) File "/home/vuxuanni/code/Compaired-HIT-IIL/pwc_net/pwc_net.py", line 147, in forward tenVolume = torch.nn.functional.leaky_relu(input=correlation.FunctionCorrelation( File "/home/vuxuanni/code/Compaired-HIT-IIL/pwc_net/correlation/correlation.py", line 398, in FunctionCorrelation return _FunctionCorrelation.apply(tenFirst, tenSecond) File "/home/vuxuanni/code/Compaired-HIT-IIL/pwc_net/correlation/correlation.py", line 316, in forward cupy_launch('kernel_Correlation_updateOutput', cupy_kernel('kernel_Correlation_updateOutput', { File "cupy/_util.pyx", line 64, in cupy._util.memoize.decorator.ret File "/home/vuxuanni/code/Compaired-HIT-IIL/pwc_net/correlation/correlation.py", line 276, in cupy_launch return cupy.cuda.compile_with_cache(strKernel).get_function(strFunction) File "/home/vuxuanni/.conda/envs/yxn_pytorch_1/lib/python3.8/site-packages/cupy/cuda/compiler.py", line 468, in compile_with_cache return _compile_module_with_cache(*args, **kwargs) File "/home/vuxuanni/.conda/envs/yxn_pytorch_1/lib/python3.8/site-packages/cupy/cuda/compiler.py", line 496, in _compile_module_with_cache return _compile_with_cache_cuda( File "/home/vuxuanni/.conda/envs/yxn_pytorch_1/lib/python3.8/site-packages/cupy/cuda/compiler.py", line 565, in _compile_with_cache_cuda mod.load(cubin) File "cupy/cuda/function.pyx", line 263, in cupy.cuda.function.Module.load File "cupy/cuda/function.pyx", line 265, in cupy.cuda.function.Module.load File "cupy_backends/cuda/api/driver.pyx", line 210, in cupy_backends.cuda.api.driver.moduleLoadData File "cupy_backends/cuda/api/driver.pyx", line 60, in cupy_backends.cuda.api.driver.check_status cupy_backends.cuda.api.driver.CUDADriverError: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered Traceback (most recent call last): File "cupy_backends/cuda/api/driver.pyx", line 217, in cupy_backends.cuda.api.driver.moduleUnload File "cupy_backends/cuda/api/driver.pyx", line 60, in cupy_backends.cuda.api.driver.check_status cupy_backends.cuda.api.driver.CUDADriverError: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered Exception ignored in: 'cupy.cuda.function.Module.__dealloc__' Traceback (most recent call last): File "cupy_backends/cuda/api/driver.pyx", line 217, in cupy_backends.cuda.api.driver.moduleUnload File "cupy_backends/cuda/api/driver.pyx", line 60, in cupy_backends.cuda.api.driver.check_status cupy_backends.cuda.api.driver.CUDADriverError: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered 如何解决该问题
最新发布
08-05
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值