Skip to content

CUFFT_INTERNAL_ERROR when finetuning #39

Description

@lukeandsee

Hi! I'm attempting to finetune on openmic, I have the dataset and am running the recommended:

python ex_openmic.py --cuda --train --pretrained --model_name=dymn10_as --lr=2e-5 --batch_size=32

I get:

Dataset from /home/ltaylor/data/sonar/PaSST/audioset_hdf5s/mp3/openmic_train.csv_mp3.hdf with length 14915.
Mixing up waveforms from dataset of len 14915
Dataset from /home/ltaylor/data/sonar/PaSST/audioset_hdf5s/mp3/openmic_test.csv_mp3.hdf with length 5085.
Epoch 1/80: mAP: nan, val_loss: nan:   0%|                                                                     | 0/467 [00:02<?, ?it/s]
Traceback (most recent call last):
  File "/home/ltaylor/data/sonar/EfficientAT/ex_openmic.py", line 254, in <module>
    train(args)
  File "/home/ltaylor/data/sonar/EfficientAT/ex_openmic.py", line 100, in train
    x = _mel_forward(x, mel)
  File "/home/ltaylor/data/sonar/EfficientAT/ex_openmic.py", line 155, in _mel_forward
    x = mel(x)
  File "/home/ltaylor/data/sonar/EfficientAT/EAT/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/ltaylor/data/sonar/EfficientAT/models/preprocess.py", line 42, in forward
    x = torch.stft(x, self.n_fft, hop_length=self.hopsize, win_length=self.win_length,
  File "/home/ltaylor/data/sonar/EfficientAT/EAT/lib/python3.10/site-packages/torch/functional.py", line 632, in stft
    return _VF.stft(input, n_fft, hop_length, win_length, window,  # type: ignore[attr-defined]
RuntimeError: cuFFT error: CUFFT_INTERNAL_ERROR

I have a suspicion that it may be an incompatibility thing and I just have a different set of pytorch, CUDA etc than you. Would you kindly share the full set of packages for which this works? pip freeze > requirements.txt In particular I have pytorch 1.13.0+cu117

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions