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
8686af1f
Unverified
Commit
8686af1f
authored
Sep 30, 2021
by
moto
Committed by
GitHub
Sep 30, 2021
Browse files
Skip hubert_xlarge TS test on Windows (#1807)
Writing scripted HuBERT XLarge models fail on Windows CI.
parent
95e82ea9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
test/torchaudio_unittest/models/wav2vec2/model_test.py
test/torchaudio_unittest/models/wav2vec2/model_test.py
+6
-2
No files found.
test/torchaudio_unittest/models/wav2vec2/model_test.py
View file @
8686af1f
...
...
@@ -189,14 +189,18 @@ class TestWav2Vec2Model(TorchaudioTestCase):
@
pretrain_factory_funcs
def
test_pretrain_torchscript
(
self
,
factory_func
):
"""Wav2Vec2Model should be scriptable"""
if
factory_func
is
hubert_xlarge
and
os
.
name
==
'nt'
and
os
.
environ
.
get
(
'CI'
)
==
'true'
:
self
.
skipTest
(
'hubert_xlarge is known to fail on Windows CI. '
'See https://github.com/pytorch/pytorch/issues/65776'
)
self
.
_test_torchscript
(
factory_func
())
@
finetune_factory_funcs
def
test_finetune_torchscript
(
self
,
factory_func
):
"""Wav2Vec2Model should be scriptable"""
if
factory_func
is
hubert_ft_xlarge
and
os
.
name
==
'nt'
:
if
factory_func
is
hubert_ft_xlarge
and
os
.
name
==
'nt'
and
os
.
environ
.
get
(
'CI'
)
==
'true'
:
self
.
skipTest
(
'hubert_
asr
_xlarge is known to fail on Windows CI. '
'hubert_
ft
_xlarge is known to fail on Windows CI. '
'See https://github.com/pytorch/pytorch/issues/65776'
)
self
.
_test_torchscript
(
factory_func
(
num_out
=
32
))
...
...
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