Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
a7bdedae
Unverified
Commit
a7bdedae
authored
Sep 29, 2021
by
moto
Committed by
GitHub
Sep 29, 2021
Browse files
Skip hubert_asr_xlarge TS test on Windows (#1800)
parent
a7854f33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
test/torchaudio_unittest/models/wav2vec2/model_test.py
test/torchaudio_unittest/models/wav2vec2/model_test.py
+6
-0
No files found.
test/torchaudio_unittest/models/wav2vec2/model_test.py
View file @
a7bdedae
import
os
import
torch
import
torch
import
torch.nn.functional
as
F
import
torch.nn.functional
as
F
...
@@ -192,6 +194,10 @@ class TestWav2Vec2Model(TorchaudioTestCase):
...
@@ -192,6 +194,10 @@ class TestWav2Vec2Model(TorchaudioTestCase):
@
finetune_factory_funcs
@
finetune_factory_funcs
def
test_finetune_torchscript
(
self
,
factory_func
):
def
test_finetune_torchscript
(
self
,
factory_func
):
"""Wav2Vec2Model should be scriptable"""
"""Wav2Vec2Model should be scriptable"""
if
factory_func
.
__name__
==
'hubert_asr_xlarge'
and
os
.
name
==
'nt'
:
self
.
skipTest
(
'hubert_asr_xlarge is known to fail on Windows CI. '
'See https://github.com/pytorch/pytorch/issues/65776'
)
self
.
_test_torchscript
(
factory_func
(
num_out
=
32
))
self
.
_test_torchscript
(
factory_func
(
num_out
=
32
))
def
_test_quantize_smoke_test
(
self
,
model
):
def
_test_quantize_smoke_test
(
self
,
model
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment