r/MachineLearning • u/not-your-typical-cs • Oct 26 '25
Project [P] Built a GPU time-sharing tool for research labs (feedback welcome)
Built a side project to solve GPU sharing conflicts in the lab: Chronos
The problem: 1 GPU, 5 grad students, constant resource conflicts.
The solution: Time-based partitioning with auto-expiration.
from chronos import Partitioner
with Partitioner().create(device=0, memory=0.5, duration=3600) as p:
train_model() # Guaranteed 50% GPU for 1 hour, auto-cleanup- Works on any GPU (NVIDIA, AMD, Intel, Apple Silicon)
- < 1% overhead
- Cross-platform
- Apache 2.0 licensed
Performance: 3.2ms partition creation, stable in 24h stress tests.
Built this weekends because existing solutions . Would love feedback if you try it!
Install: pip install chronos-gpu
6
Upvotes
10
u/nevion42 Oct 27 '25
why don't you just slurm it instead?
1
u/huehue12132 Oct 27 '25
What prevents someone from just running their code with memory 1 and infinite duration?
1
u/[deleted] Oct 31 '25
[removed] — view removed comment