Skip to content

Commit b2f5f4d

Browse files
committed
Add HF_HUB_OFFLINE to audio codec tests
Signed-off-by: Ryan <rlangman@nvidia.com>
1 parent 4a8f4c8 commit b2f5f4d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/functional_tests/L2_TTS_Fast_dev_runs_AcousticCodec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1 coverage run -a --data-file=/workspace/.coverage --source=/workspace/nemo examples/tts/audio_codec.py \
14+
HF_HUB_OFFLINE=1 TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1 coverage run -a --data-file=/workspace/.coverage --source=/workspace/nemo examples/tts/audio_codec.py \
1515
--config-name acoustic_codec_16000.yaml \
1616
semantic_codec_path="/home/TestData/tts/TestSemanticCodec.nemo" \
1717
+train_ds_meta.an4.manifest_path="/home/TestData/an4_dataset/an4_train_context_v1.json" \

tests/functional_tests/L2_TTS_Fast_dev_runs_AudioCodec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1 coverage run -a --data-file=/workspace/.coverage --source=/workspace/nemo examples/tts/audio_codec.py \
14+
HF_HUB_OFFLINE=1 TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=1 coverage run -a --data-file=/workspace/.coverage --source=/workspace/nemo examples/tts/audio_codec.py \
1515
--config-name audio_codec_22050.yaml \
1616
+train_ds_meta.an4.manifest_path="/home/TestData/an4_dataset/an4_train_context_v1.json" \
1717
+train_ds_meta.an4.audio_dir="/" \

0 commit comments

Comments
 (0)