Skip to content

SLURM dependency example #105

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

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

SLURM dependency example #105

wants to merge 1 commit into from

Conversation

kohankhaki
Copy link
Contributor

Summary

This PR adds a new example for running a downstream SLURM job that waits for a vec-inf model server to be ready.

Changes

SLURM Dependency Example

  • Added examples/slurm_dependency/ with:
    • run_workflow.sh: launches a model server and submits a dependent job
    • downstream_job.sbatch: SLURM job script for the downstream task
    • run_downstream.py: waits for readiness and sends an OpenAI-style request
    • README.md: instructions for using the example
  • Updated examples/README.md to link to the new example

@codecov-commenter
Copy link

codecov-commenter commented May 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.90%. Comparing base (143f427) to head (85eb85a).
Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #105      +/-   ##
==========================================
+ Coverage   81.88%   81.90%   +0.02%     
==========================================
  Files          13       13              
  Lines         806      807       +1     
==========================================
+ Hits          660      661       +1     
  Misses        146      146              
Files with missing lines Coverage Δ
vec_inf/cli/_cli.py 75.67% <100.00%> (+0.22%) ⬆️

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kohankhaki kohankhaki requested review from XkunW and jwilles May 7, 2025 15:20
@@ -153,7 +154,7 @@ def launch(
# Display launch information
launch_formatter = LaunchResponseFormatter(model_name, launch_response.config)
if cli_kwargs.get("json_mode"):
click.echo(launch_response.config)
click.echo(json.dumps(launch_response.config))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change makes no difference in stdout

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.

3 participants