# rapidx

A PyTorch Lightning toolbox that runs research codebases from one entry point, each in its own virtual environment, with parallel sweeps in tmux.

- Web page: https://pranavsastry.com/projects/rapidx
- Kind: Project
- Headline: One command for many **research codebases**.
- Stack: PyTorch Lightning
- Status: Experimental
- Year: 2023

## How it works

Each codebase becomes a module with a LightningModule and its own requirements, and its virtual environment is activated while it runs. One entry point runs any module, arguments are parsed per module, and every module logs to TensorBoard.

**Figure 1. Parallel runs, one record.** What rapidx takes in and where its metrics land.

What the animated figure shows: Repositories, environments and configurations go in, run in parallel on PyTorch Lightning, and every metric is logged to TensorBoard.

## Many configurations at once

A helper runs one module with different configurations in parallel, each in its own tmux window, for sweeps over hyperparameters.

## Links

- GitHub: [https://github.com/pranftw/rapidx](https://github.com/pranftw/rapidx)

## More projects

- [AutoPilot](https://pranavsastry.com/projects/autopilot.md) optimizes prompts, rules and agents the way PyTorch trains a model, and **rolls back** a change that does not hold up.
- [Aiter](https://pranavsastry.com/projects/aiter.md) is a terminal AI agent I wrote so I could change its **tools**, MCP servers and saved sessions.
- [RecLLM](https://pranavsastry.com/projects/recllm.md) is a prototype for **shopping by conversation**: an index of a store’s catalog, and a memory of what each shopper likes.
- [Neograd](https://pranavsastry.com/projects/neograd.md) is a deep-learning framework I wrote from scratch in Python and NumPy, to see **how autograd works**.
- [OpenReview Scraper](https://pranavsastry.com/projects/openreview-scraper.md) turns conference submissions into a **reading list** by searching their titles, abstracts and keywords.
- [ODDGen](https://pranavsastry.com/projects/oddgen.md) builds object-detection datasets from cut-out objects, with **the bounding boxes written for you**.
- [All projects](https://pranavsastry.com/projects.md)
- [Home and directory](https://pranavsastry.com/index.md)
