Skip to content
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion nemo/collections/llm/gpt/data/pre_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def validate_dataset_asset_accessibility(paths):
raise PermissionError(f"Expected {str(path)} to be readable.")
return
for suffix in suffices:
file_path = path.with_suffix(suffix)
file_path = path.with_name(path.name + suffix)
if not file_path.exists():
raise FileNotFoundError(f"Expected {str(file_path)} to exist.")
if not os.access(file_path, os.R_OK):
Expand Down
Loading