bugbakery / bugbakery/transcribee
Torchaudio warning in alignment
- Dominant language
- TypeScript
- Stars
- 515
- Forks
- 39
- Avg merge
- 19h 36m
- Merged PRs (30d)
- 15
Description
Turing alignment the worker currently logs a warning:
```
worker | worker/transcribee_worker/torchaudio_align.py:141: UserWarning: The given NumPy array is not writable, and PyTorch does not support non-writable tensors. This means writing to this tensor will result in undefined behavior. You may want to copy the array to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:212.)
worker | audio = torch.from_numpy(audio)
```
This doesn't seem to affect us, since we don't write to the tensor AFAIKa, so it can probably be fixed by just making the tensor writable
Contributor guide
Assessment
This issue has not been assessed yet.