Skip to content

Add persistent AI model path on SLURM (issue #16)#25

Draft
maartenpaul wants to merge 1 commit intoNL-BioImaging:mainfrom
maartenpaul:feature/model-path
Draft

Add persistent AI model path on SLURM (issue #16)#25
maartenpaul wants to merge 1 commit intoNL-BioImaging:mainfrom
maartenpaul:feature/model-path

Conversation

@maartenpaul
Copy link
Copy Markdown
Member

Add slurm_models_path config parameter for persistent model storage on the HPC cluster. Per-workflow subdirectories are created automatically and bound to /tmp/models inside containers via Singularity --bind. This enables model caching across runs and custom trained model support.

  • Add slurm_models_path to SlurmClient (config, constructor, from_config)
  • Pass MODELS_PATH env var per-workflow in get_workflow_command()
  • Add conditional --bind mount in job_template.sh
  • Add get_available_models() method to list models via SSH
  • Update slurm-config.ini template with new config key

Add slurm_models_path config parameter for persistent model storage on
the HPC cluster. Per-workflow subdirectories are created automatically
and bound to /tmp/models inside containers via Singularity --bind.
This enables model caching across runs and custom trained model support.

- Add slurm_models_path to SlurmClient (config, constructor, from_config)
- Pass MODELS_PATH env var per-workflow in get_workflow_command()
- Add conditional --bind mount in job_template.sh
- Add get_available_models() method to list models via SSH
- Update slurm-config.ini template with new config key

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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