Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
KuuCi committed May 24, 2024
1 parent 0dac0c5 commit ab97972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llmfoundry/utils/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def _parse_source_dataset(cfg: TrainConfig) -> List[Tuple[str, str, str]]:
data_paths = []

# Handle train loader if it exists
train_dataset: Dict = cfg.train_loader.get('dataset', {})
train_dataset: TrainConfig = cfg.train_loader.get('dataset', {})
train_split = train_dataset.get('split', None)
train_source_path = cfg.source_dataset_train
_process_data_source(
Expand Down
2 changes: 1 addition & 1 deletion scripts/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def main(cfg: DictConfig) -> Trainer:
if train_cfg.log_config:
log.info('Logging config')
log_config(logged_cfg)
log_dataset_uri(logged_cfg)
log_dataset_uri(train_cfg)
torch.cuda.empty_cache()
gc.collect()

Expand Down

0 comments on commit ab97972

Please sign in to comment.