Skip to content

add --venv_path option for running without containers#31

Merged
JeniaJitsev merged 100 commits intomainfrom
feature/venv-support
Feb 4, 2026
Merged

add --venv_path option for running without containers#31
JeniaJitsev merged 100 commits intomainfrom
feature/venv-support

Conversation

@timurcarstensen
Copy link
Collaborator

@timurcarstensen timurcarstensen commented Feb 3, 2026

Adds --venv_path to schedule-eval. If provided, jobs run using that venv instead of a container.

CI updated to test both modes.

merge after #28

Summary:

  • Add --venv_path CLI option to schedule-eval for running evaluations without containers
  • Update sbatch template to conditionally use venv activation or singularity exec based on whether venv_path is set
  • Add requirements-venv.txt defining dependencies for venv-based execution
  • Add docs/VENV.md documenting venv setup and usage
  • Update CI workflow to test both container and venv modes via matrix strategy

Add a GitHub Actions workflow that sets up a real SLURM cluster with
Apptainer on a GPU runner to test the schedule_evals workflow end-to-end.

- New workflow: slurm-integration.yml
  - Sets up SLURM (slurmctld + slurmd) on AWS GPU runner
  - Installs Apptainer and builds test container
  - Pre-downloads tiny-gpt2 model and arc_easy dataset
  - Runs integration test that validates full workflow

- New test container: tests/integration/ci.def
  - Based on PyTorch with CUDA support
  - Includes lm_eval and dependencies

- New integration test: tests/integration/test_slurm.py
  - Submits real SLURM job via schedule_evals
  - Waits for completion and validates results JSON

- Updated clusters.yaml with CI cluster configuration
Switch to CPU instances (i7ie) since GPU quota is not available:
- Remove GPU/GRES configuration from SLURM setup
- Update test to support --dry-run mode for CPU-only testing
- Validate sbatch script generation without actual job execution
- Update CI cluster config to use debug partition

Full GPU testing can be re-enabled later when quota is available.
@JeniaJitsev JeniaJitsev merged commit c015e51 into main Feb 4, 2026
5 checks passed
@JeniaJitsev JeniaJitsev deleted the feature/venv-support branch February 4, 2026 20:04
@timurcarstensen
Copy link
Collaborator Author

This wasn't meant to be merged yet @JeniaJitsev

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.

2 participants