-
Notifications
You must be signed in to change notification settings - Fork 217
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
y = k2.RaggedTensor(y).to(device) RuntimeError: Some bad things happened. Please read the above error messages and stack #1214
Comments
Could you post more error logs? |
File "train.py", line 1249, in -- Process 1 terminated with the following error:
|
I had used gdb ; |
Could you give even more error logs? |
The training log is as follows : 2023-06-21 10:17:20,038 INFO [train.py:951] (3/4) Training started All error logs had been posted |
Could you change
to
and post the output? |
ok, as follows 2023-06-21 12:15:43,212 INFO [train.py:1201] (3/4) Sanity check -- see if any of the batches in epoch 1 would cause OOM. |
Does it crash after printing? |
no crash. then print the log: [F] /home/runner/work/k2/k2/k2/csrc/device_guard.h:66:static int32_t k2::DeviceGuard::GetDevice() k2 compiled without CUDA support [ Stack-Trace: ] 2023-06-21 12:21:57,449 INFO [train.py:1179] (3/4) Saving batch to pruned_transducer_stateless7_bbpe/exp/batch-24933b83-7577-50a9-a491-f0b2ea1fca65.pt |
You are using a CPU version of k2. Please install a CUDA version. Please follow the documentation to check that you have indeed installed a CUDA version by running python3 -m k2.version |
Many thanks,i'll try |
./pruned_transducer_stateless7_bbpe/train.py
Exception:
-- Process 3 terminated with the following error:
y = k2.RaggedTensor(y).to(device) RuntimeError: Some bad things happened. Please read the above error messages and stack
The text was updated successfully, but these errors were encountered: