CUDA 11 Test: `TestFftAllocate`
See original GitHub issueI built the latest master and fixed #3757 with #3775, and the only error I got from all FFT tests we have is this:
$ pytest tests/cupy_tests/fft_tests/test_fft.py
========================================================================= test session starts =========================================================================
platform linux -- Python 3.7.8, pytest-6.0.1, py-1.9.0, pluggy-0.13.1
rootdir: /home/leofang/cupy_cuda11, configfile: setup.cfg
collected 717 items
tests/cupy_tests/fft_tests/test_fft.py ........................................................................................................................ [ 16%]
............................................................................................................................................................... [ 38%]
............................................................................................................................................................... [ 61%]
............................................................................................................................................................... [ 83%]
.....................................................................................................................F.. [100%]
============================================================================== FAILURES ===============================================================================
__________________________________________________________________ TestFftAllocate.test_fft_allocate __________________________________________________________________
self = <cupy_tests.fft_tests.test_fft.TestFftAllocate testMethod=test_fft_allocate>
def test_fft_allocate(self):
# Check CuFFTError is not raised when the GPU memory is enough.
# See https://github.com/cupy/cupy/issues/1063
# TODO(mizuno): Simplify "a" after memory compaction is implemented.
a = []
for i in range(10):
a.append(cupy.empty(100000000))
del a
b = cupy.empty(100000007, dtype=cupy.float32)
> cupy.fft.fft(b)
tests/cupy_tests/fft_tests/test_fft.py:336:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cupy/fft/fft.py:567: in fft
return _fft(a, (n,), (axis,), norm, cupy.cuda.cufft.CUFFT_FORWARD)
cupy/fft/fft.py:182: in _fft
a = _fft_c2c(a, direction, norm, axes, overwrite_x, plan=plan)
cupy/fft/fft.py:152: in _fft_c2c
a = _exec_fft(a, direction, 'C2C', norm, axis, overwrite_x, plan=plan)
cupy/fft/fft.py:109: in _exec_fft
plan = cufft.Plan1d(out_size, fft_type, batch, devices=devices)
cupy/cuda/cufft.pyx:277: in cupy.cuda.cufft.Plan1d.__init__
self._single_gpu_get_plan(plan, nx, fft_type, batch)
cupy/cuda/cufft.pyx:306: in cupy.cuda.cufft.Plan1d._single_gpu_get_plan
check_result(result)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> raise CuFFTError(result)
E cupy.cuda.cufft.CuFFTError: CUFFT_INTERNAL_ERROR
cupy/cuda/cufft.pyx:147: CuFFTError
======================================================================= short test summary info =======================================================================
FAILED tests/cupy_tests/fft_tests/test_fft.py::TestFftAllocate::test_fft_allocate - cupy.cuda.cufft.CuFFTError: CUFFT_INTERNAL_ERROR
=================================================================== 1 failed, 716 passed in 13.16s ====================================================================
Issue Analytics
- State:
- Created 3 years ago
- Comments:54 (48 by maintainers)
Top Results From Across the Web
CUDA Samples
As of CUDA 11.6, all CUDA samples are now only available on the GitHub repository. They are no longer available via CUDA toolkit....
Read more >Install CUDA 11.2, cuDNN 8.1.0, PyTorch v1.8.0 (or ... - Medium
8.0 (or v1.9.0), and python 3.9 on RTX3090 for deep learning. This tutorial is tested with RTX3090 on Ubuntu 20.04 LTS. The refereed...
Read more >CUDA 11.5 bandwidth test sample build fails with Visual ...
When i turned on verbosity it says "The system cannot find the path specified." and i have this in the build command: "C:\Program...
Read more >Installing CUDA Toolkit on Windows - YouTube
2022: Latest Updates to CUDA : https://www.youtube.com/watch?v=4IpFuKtSDaI&t=2sSee how to install the CUDA Toolkit followed by a quick ...
Read more >The pmemd.cuda GPU Implementation
CUDA versions 7.5 to 11.x are supported. Note the CPU compiler has ... cd $AMBERHOME export CUDA_VISIBLE_DEVICES=2 make test.cuda.serial.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I heard back from cuFFT developers, and the issue has been prioritized for the CUDA 11.2 release, I don’t have further details at this time though.
Yeah tried that too, still reproducible.