Skip to content
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

Update to PyTorch 1.11 #2

Merged
merged 1 commit into from
Jun 29, 2022
Merged

Update to PyTorch 1.11 #2

merged 1 commit into from
Jun 29, 2022

Conversation

jaesong
Copy link

@jaesong jaesong commented Jun 23, 2022

PyTorch 1.11 removed THC APIs (which had been deprecated for a while) in favor of c10 APIs.
The change causes build failure of warp-transducer, since it relies on THC allocation APIs.
This pull request fixes it by replacing the removed functions with the new ones, following the instructions here.

@JaejinCho
Copy link

@jaesong Thanks a lot. The updated script worked for me!

@b-flo
Copy link
Owner

b-flo commented Jun 29, 2022

Hi @jaesong,

Sorry it seems I'm not receiving notifications for new PR!
The fix seems straightforward given doc and the links you shared!

Thanks a lot, I'm merging it!

@b-flo b-flo merged commit ad2b36d into b-flo:espnet_v1.1 Jun 29, 2022
@jaesong jaesong deleted the pytorch-1.11 branch June 30, 2022 11:31
zh794390558 pushed a commit to PaddlePaddle/warp-transducer that referenced this pull request Dec 21, 2022
Co-authored-by: Kazuhiro Saito <c-kazsaito@gpu001.intern.yjvoice.ssk.ynwt.yahoo.co.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants