-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SpecAug/MaskAlongAxis: RuntimeError: random_ expects 'from' to be less than 'to' #5628
Labels
Bug
bug should be fixed
Comments
Closed
It might be a hardware issue. On that node, I get now:
And
|
I was just looking at the code. There is: mask_length = torch.randint(
mask_width_range[0],
mask_width_range[1],
(B, num_mask),
device=spec.device,
) And it calls the function like this (as you see from the stacktrace):
So, But then you see later in the stacktrace:
So, I guess it's clear that this is some hardware issue. So I guess we can close this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I got the exception
RuntimeError: random_ expects 'from' to be less than 'to', but got from=0 >= to=-4752614986133393697
inSpecAug
/MaskAlongAxis
.Basic environments:
Linux 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
3.11.2 (main, Feb 7 2023, 13:52:42) [GCC 11.3.0]
espnet 202310
pytorch 2.1.0+cu121
Fri Jan 19 08:44:17 2024 -0500
Environments from
torch.utils.collect_env
:Task information:
Using RETURNN for training on Librispeech.
To Reproduce
(Not sure yet whether this always reproduces or whether this was a random hickup, maybe hardware issue related...)
This was using RETURNN for training an ESPnet model. Specifically, exactly the
egs2/librispeech/asr1/conf/tuning/train_asr_e_branchformer.yaml
config for the model.Error logs
Detailed stacktrace:
The text was updated successfully, but these errors were encountered: