Skip to content

Commit

Permalink
Cleanup jlaunch with multi-backend support
Browse files Browse the repository at this point in the history
  • Loading branch information
kylevedder committed Apr 11, 2024
1 parent 2f82587 commit 8ba3695
Show file tree
Hide file tree
Showing 13 changed files with 401 additions and 617 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ cluster_tb_logs/
dataset_count_compute_save_dir/
checkpoint_eval_launch_dir/
screenshots/
eval_results/
eval_results/
launch_files/
22 changes: 0 additions & 22 deletions data_prep_scripts/check_nsfp_status.py

This file was deleted.

58 changes: 0 additions & 58 deletions data_prep_scripts/compute_total_runtime.py

This file was deleted.

125 changes: 0 additions & 125 deletions data_prep_scripts/investigate_bucket_sizes.py

This file was deleted.

153 changes: 0 additions & 153 deletions data_prep_scripts/investigate_pointclouds.py

This file was deleted.

20 changes: 20 additions & 0 deletions data_prep_scripts/jlaunch.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env python3
import sys

sys.path.insert(0, ".")

import click

from data_prep_scripts.jlaunch_backends import backends_list


@click.group()
def cli():
pass


for backend in backends_list:
cli.add_command(backend)

if __name__ == "__main__":
cli()
5 changes: 5 additions & 0 deletions data_prep_scripts/jlaunch_backends/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from .slurm import backend_slurm
from .ngc import backend_ngc
from .shared_utils import run_cmd

backends_list = [backend_slurm, backend_ngc]
Loading

0 comments on commit 8ba3695

Please sign in to comment.