我的Django/芹菜/PyCuda设置有一些问题。我将PyCuda用于亚马逊EC2 G2实例上的一些图像处理。以下是我的CUDA功能网格K520卡上的信息:检测到1个数据自动化系统设备。我在utils/tasks.py中定义了一组任务,并在尝试使用PyCuda之前进行测试和工作。我通过pip安装了PyCuda。:import time
i
行中在__rm ul__返回self.=keep中)文件et_elwise_kernel_and_types第251行,在"C:\Users\jmm\Anaconda\lib\site-packages\pycuda-2014.1-py2.7-win-amd64.egg\pycuda\compiler.py",__in it__ arch中,代码、cache_dir、include_dirs)文件it__第241行,在comp it
import pycuda.gpuarray as gpuarrayimport pycuda.autoinit文件"C:\Users\David\Anaconda3\lib\site-packages\pycuda\driver.py",第5行,从pycuda.driver interface, with an error
\pycuda\tools.py) ()函数,但它们在导入ImportError: cannot import name 'PooledDeviceAllocation' from 'pycuda.tools如果它应该在较新版本的Pycuda上工作,但只是我的Pycuda版本太老了,那么在我的版本或旧版本的Pycuda中是否还有其他方法来释放内存呢?我希望Pycuda的升级是最后的手段,因为我的NVidi