Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: cpu-function altered to support cpus-per-gpu, too (#28)
This PR works in combination with snakemake/snakemake-executor-plugin-slurm#173, only. It sees changes in the function to get the cpu settings. - it is possible to ommit cpu-settins upon submission, now. Required, because apparently some clusters do not allow this for GPU jobs (which is crazy, but the way we do it know, should not break workflows) - it is possible now to require CPUs using `--cpus-per-gpu`, too. (Only for GPU jobs, of course.) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced SLURM executor plugin with improved GPU job support - Added more flexible CPU and GPU resource allocation handling - **Bug Fixes** - Improved resource specification logic for different cluster configurations - Better handling of CPU allocation for GPU and non-GPU jobs <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information