SmartSlurm VSCode Extension
Published on
But I actually made this thing back in like late '24 or early '25, I think. And I haven't touched it since then and honestly I think most of the code and this text was LLM generated back in the early days of ChatGPT. Use at your own risk.
Automate the generation of Slurm parameters for your HPC bash scripts using AI! This VSCode extension analyzes your bash scripts and predicts optimal Slurm parameters such as memory, time, and CPUs. Save time, avoid guesswork, and ensure efficient resource allocation.
I created a VS Code extension that uses AI (currently ChatGPT) to automatically generate Slurm parameters based on the contents of your bash script. Once installed and configured, it will inject slurm parameters at the top of your Bash script in the format:
#SBATCH --time=<time>
#SBATCH --mem=<memory>
#SBATCH --cpus-per-task=<cpus>
Check out more details here: https://github.com/bwentzloff/smartSlurm