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

[TTS] enforced pin_memory = True #4341

Merged
merged 2 commits into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/tts/conf/aligner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ model:
shuffle: true
batch_size: 64
num_workers: 4
pin_memory: false
pin_memory: true

validation_ds:
dataset:
Expand All @@ -110,7 +110,7 @@ model:
shuffle: false
batch_size: 64
num_workers: 1
pin_memory: false
pin_memory: true

preprocessor:
_target_: nemo.collections.asr.modules.AudioToMelSpectrogramPreprocessor
Expand Down
2 changes: 2 additions & 0 deletions examples/tts/conf/fastpitch_align_44100.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ model:
shuffle: true
batch_size: 32
num_workers: 12
pin_memory: true


validation_ds:
Expand Down Expand Up @@ -140,6 +141,7 @@ model:
shuffle: false
batch_size: 32
num_workers: 8
pin_memory: true

preprocessor:
_target_: nemo.collections.asr.modules.AudioToMelSpectrogramPreprocessor
Expand Down
2 changes: 2 additions & 0 deletions examples/tts/conf/fastpitch_align_v1.05.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ model:
shuffle: true
batch_size: 32
num_workers: 12
pin_memory: true

validation_ds:
dataset:
Expand Down Expand Up @@ -140,6 +141,7 @@ model:
shuffle: false
batch_size: 32
num_workers: 8
pin_memory: true

preprocessor:
_target_: nemo.collections.asr.modules.AudioToMelSpectrogramPreprocessor
Expand Down
1 change: 1 addition & 0 deletions examples/tts/conf/hifigan/model/train_ds/train_ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dataloader_params:
shuffle: true
batch_size: 16
num_workers: 4
pin_memory: true
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ dataloader_params:
shuffle: true
batch_size: 16
num_workers: 4
pin_memory: true
1 change: 1 addition & 0 deletions examples/tts/conf/hifigan/model/validation_ds/val_ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dataloader_params:
shuffle: false
batch_size: 16
num_workers: 1
pin_memory: true
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ dataloader_params:
shuffle: false
batch_size: 16
num_workers: 4
pin_memory: true
4 changes: 2 additions & 2 deletions examples/tts/conf/mixer-tts-x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ model:
shuffle: true
batch_size: 64
num_workers: 4
pin_memory: false
pin_memory: true

validation_ds:
dataset:
Expand Down Expand Up @@ -131,7 +131,7 @@ model:
shuffle: false
batch_size: 64
num_workers: 1
pin_memory: false
pin_memory: true

preprocessor:
_target_: nemo.collections.asr.modules.AudioToMelSpectrogramPreprocessor
Expand Down
4 changes: 2 additions & 2 deletions examples/tts/conf/mixer-tts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ model:
shuffle: true
batch_size: 64
num_workers: 4
pin_memory: false
pin_memory: true

validation_ds:
dataset:
Expand Down Expand Up @@ -133,7 +133,7 @@ model:
shuffle: false
batch_size: 64
num_workers: 1
pin_memory: false
pin_memory: true

preprocessor:
_target_: nemo.collections.asr.modules.AudioToMelSpectrogramPreprocessor
Expand Down
4 changes: 2 additions & 2 deletions examples/tts/conf/tacotron2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ model:
shuffle: true
batch_size: 48
num_workers: 4
pin_memory: false
pin_memory: true

validation_ds:
dataset:
Expand All @@ -105,7 +105,7 @@ model:
shuffle: false
batch_size: 24
num_workers: 8
pin_memory: false
pin_memory: true

preprocessor:
_target_: nemo.collections.asr.parts.preprocessing.features.FilterbankFeatures
Expand Down
2 changes: 2 additions & 0 deletions examples/tts/conf/tacotron2_44100.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ model:
shuffle: true
batch_size: 48
num_workers: 4
pin_memory: true


validation_ds:
Expand All @@ -90,6 +91,7 @@ model:
shuffle: false
batch_size: 48
num_workers: 8
pin_memory: true

preprocessor:
_target_: nemo.collections.asr.parts.preprocessing.features.FilterbankFeatures
Expand Down
1 change: 1 addition & 0 deletions examples/tts/conf/univnet/model/train_ds/train_ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dataloader_params:
shuffle: true
batch_size: 32
num_workers: 4
pin_memory: true
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ dataloader_params:
shuffle: true
batch_size: 32
num_workers: 4
pin_memory: true
1 change: 1 addition & 0 deletions examples/tts/conf/univnet/model/validation_ds/val_ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dataloader_params:
shuffle: false
batch_size: 16
num_workers: 1
pin_memory: true
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ dataloader_params:
shuffle: false
batch_size: 16
num_workers: 4
pin_memory: true
2 changes: 2 additions & 0 deletions examples/tts/conf/waveglow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ model:
shuffle: true
batch_size: 12
num_workers: 4
pin_memory: true

validation_ds:
dataset:
Expand All @@ -45,6 +46,7 @@ model:
shuffle: false
batch_size: 8
num_workers: 4
pin_memory: true

preprocessor:
_target_: nemo.collections.asr.parts.preprocessing.features.FilterbankFeatures
Expand Down