Submititnow
A toolkit to create, launch and monitor SLURM jobs over existing python scripts.
Install / Use
/learn @maharshi95/SubmititnowREADME
:rocket: Submit it Now! :rocket:
A makeshift toolkit, built on top of submitit, to launch SLURM jobs over a range of hyperparameters from the command line. It is designed to be used with existing Python scripts and interactively monitor their status.
submititnow provides two command-line tools:
slaunchto launch a Python script as SLURM job(s).jt(job-tracker) to interactively monitor the jobs.
It also provides an abstracted experiment_lib.Experiment API to create, launch and monitor an experiment, or a group of job(s), from Python scripts with customized parameter-sweeping configurations, while being able to track them with jt.
slaunch : Launching a python script over SLURM
Let's say you have a Python script examples/annotate_queries.py which can be run using the following command:
python examples/annotate_queries.py --model='BERT-LARGE-uncased' \
--dataset='NaturalQuestions' --fold='dev'
You can launch a job that runs this script over a SLURM cluster using the following:
slaunch examples/annotate_queries.py \
--mem="16g" --gres="gpu:rtxa4000:1" \
--model='BERT-LARGE-uncased' --dataset='NaturalQuestions' --fold='dev'
You can put all the slurm params in a config file and pass it to slaunch using --slurm_config flag. For example, the above command can be written as:
slaunch examples/annotate_queries.py \
--config="examples/configs/gpu.json" \
--model='BERT-LARGE-uncased' --dataset='NaturalQuestions' --fold='dev'
Launching multiple jobs with parameter-sweep
slaunch examples/annotate_queries.py \
--config="examples/configs/gpu.json" \
--sweep fold model \
--model 'BERT-LARGE-uncased' 'Roberta-uncased' 'T5-cased-small' \
--dataset='NaturalQuestions' --fold 'dev' 'train'
This will launch a total of 6 jobs with the following configuration:

Any constraints on the target Python script that we launch?
The target Python script must have the following format:
import argparse
# User defined functions and classes
def main(args: argparse.Namespace):
# Code goes here
pass
def add_arguments(parser = None) -> argparse.ArgumentParser:
parser = parser or argparse.ArgumentParser()
# Return the parser after populating it with arguments.
return parser
if __name__ == '__main__':
parser = add_arguments()
main(parser.parse_args())
jt : Looking up info on previously launched experiments:
As instructed in the above screenshot of the Launch response, user can utilize the jt (short for job-tracker) command to monitor the job progress.
jt jobs EXP_NAME [EXP_ID]
Executing jt jobs examples.annotate_queries 227720 will give the following response:

In fact, user can also lookup all examples.annotate_queries jobs simply by removing [EXP_ID] from the previous command:
jt jobs examples.annotate_queries

jt {err, out} JOB_ID
Looking up stderr and stdout of a Job
Executing jt out 227720_2 reveals the stdout output of the corresponding Job:
Similarly, jt err 227720_2 reveals the stderr logs.
jt sh JOB_ID
Looking up SBATCH script for a Job
The submitit tool internally creates an SBATCH shell script per experiment to launch the jobs on a SLURM cluster. This command outputs this submission.sh file for inspection.
Executing jt sh 227720_2 reveals the following:

jt ls
Finally, user can use jt ls to simply list the experiments maintained by the submititnow tool.

The experiment names output by this command can then be passed into the jt jobs command.
Installing
Python 3.8+ is required.
pip install -U git+https://github.com/maharshi95/submititnow.git
Experiment API
Sometimes the slaunch command-line tool is not enough. For example, one may want to launch a job with customized parameter-sweep configurations, or vary a certain parameter (e.g. output_filepath) for each job in the launch. In such cases, one can use the Experiment API provided by submititnow to launch jobs from Python scripts and also get the benefits of being able to track them with jt.
examples/launch_demo_script.py provides a demo of how to use the Experiment API to launch a job with customized parameter-sweep configurations.
python examples/launch_demo_script.py
Related Skills
claude-opus-4-5-migration
90.0kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
343.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
50.3k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.7kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
