Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SlurmRay launcher and transform API for launchers #159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hemildesai
Copy link
Collaborator

@hemildesai hemildesai commented Feb 21, 2025

Example usage

SlurmExecutor(
    ...,
    launcher="slurm_ray"
)

nsys_folder: str = "nsys_profile"
nsys_trace: list[str] = field(default_factory=lambda: ["nvtx", "cuda"])

def get_nsys_prefix(self, profile_dir: str) -> Optional[list[str]]:

Check notice

Code scanning / CodeQL

Explicit returns mixed with implicit (fall through) returns Note

Mixing implicit and explicit returns may indicate an error as implicit returns always return None.
]
return args

def transform(self, cmd: list[str]) -> Optional[Script]: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
@hemildesai hemildesai requested a review from ryantwolf February 21, 2025 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant