forked from pytorch/audio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move RNNT Loss out of prototype (pytorch#1711)
- Loading branch information
Caroline Chen
authored
Aug 19, 2021
1 parent
b7d44d9
commit 2c11582
Showing
40 changed files
with
513 additions
and
653 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
BUILD_RNNT=1 BUILD_SOX=1 python setup.py install --single-version-externally-managed --record=record.txt | ||
BUILD_SOX=1 python setup.py install --single-version-externally-managed --record=record.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
import torch | ||
from .autograd_impl import Autograd | ||
from .autograd_impl import Autograd, AutogradFloat32 | ||
from torchaudio_unittest import common_utils | ||
|
||
|
||
class TestAutogradLfilterCPU(Autograd, common_utils.PytorchTestCase): | ||
dtype = torch.float64 | ||
device = torch.device('cpu') | ||
|
||
|
||
class TestAutogradRNNTCPU(AutogradFloat32, common_utils.PytorchTestCase): | ||
dtype = torch.float32 | ||
device = torch.device('cpu') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
import torch | ||
from .autograd_impl import Autograd | ||
from .autograd_impl import Autograd, AutogradFloat32 | ||
from torchaudio_unittest import common_utils | ||
|
||
|
||
@common_utils.skipIfNoCuda | ||
class TestAutogradLfilterCUDA(Autograd, common_utils.PytorchTestCase): | ||
dtype = torch.float64 | ||
device = torch.device('cuda') | ||
|
||
|
||
@common_utils.skipIfNoCuda | ||
class TestAutogradRNNTCUDA(AutogradFloat32, common_utils.PytorchTestCase): | ||
dtype = torch.float32 | ||
device = torch.device('cuda') |
Oops, something went wrong.