tpu
This commit is contained in:
@@ -46,6 +46,7 @@ class BrainToTextDecoder_Trainer:
|
|||||||
gradient_accumulation_steps=args.get('gradient_accumulation_steps', 1),
|
gradient_accumulation_steps=args.get('gradient_accumulation_steps', 1),
|
||||||
log_with=None, # We'll use our own logging
|
log_with=None, # We'll use our own logging
|
||||||
project_dir=args.get('output_dir', './output'),
|
project_dir=args.get('output_dir', './output'),
|
||||||
|
even_batches=False, # Required for batch_size=None DataLoaders
|
||||||
)
|
)
|
||||||
|
|
||||||
# Note: even_batches is handled automatically by Accelerator based on our DataLoader configuration
|
# Note: even_batches is handled automatically by Accelerator based on our DataLoader configuration
|
||||||
|
Reference in New Issue
Block a user