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_skills/pipeline/utils/generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_remaining_jobs(cluster_config, output_dir, random_seeds, chunk_ids, reru
check_commands.append(f'if [ ! -f "{unmounted_path}" ]; then echo "MISSING:{seed_str}:{chunk_str}"; fi')
# If random_seeds has more than N elements, split commands into groups of N
request_size = len(check_commands[0]) // 10
if len(random_seeds) > request_size:
if len(expected_files) > request_size:
outputs = []
for i in range(0, len(check_commands), request_size):
group = check_commands[i : i + request_size]
Expand Down