Skip to content

Commit

Permalink
disable nvfuser
Browse files Browse the repository at this point in the history
Signed-off-by: ericharper <[email protected]>
  • Loading branch information
ericharper committed Mar 15, 2022
1 parent d6a6a8d commit a18e493
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ model:
splits_string: 900,50,50
seq_length: ${model.encoder_seq_length}
skip_warmup: True
num_workers: 0
num_workers: 2
dataloader_type: single # cyclic
reset_position_ids: False # Reset position ids after end-of-document token
reset_attention_mask: False # Reset attention mask after end-of-document token
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,8 @@ def build_train_valid_test_datasets(self):

logging.info('Building GPT datasets.')
global_batch_size = self.trainer.world_size * self.cfg.micro_batch_size / self.cfg.tensor_model_parallel_size
# Compute trianing micro-batch steps: total_global_batch_steps x grad_acumms_per_global_batch
max_train_steps = self.trainer.max_steps * self.trainer.accumulate_grad_batches
global_batch_size = self.cfg.global_batch_size
max_train_steps = self.trainer.max_steps
eval_iters = (max_train_steps // self.trainer.val_check_interval + 1) * self.trainer.limit_val_batches
test_iters = self.trainer.limit_test_batches

Expand Down

0 comments on commit a18e493

Please sign in to comment.