autooptm
Measured GPU speedups for your training and inference code, from the terminal, an agent, or Python. Diagnosis and measurement are free; credits move only when you unlock the patch.
pip install autooptm
autooptm login # email code, no browser needed
autooptm run https://github.com/you/repo --entrypoint train.py
autooptm unlock <jobId> # asks before spending credits
git apply autooptm.patch
Python:
from autooptm import AutoOptm
ao = AutoOptm()
job = ao.submit(".", entrypoint="bench.py", workload="inference")
done = ao.wait(job["jobId"])
print(done["speedup"], done["unlock_credits"])
MCP (Claude Code, Cursor, any MCP client), pip install 'autooptm[mcp]':
{ "mcpServers": { "autooptm": { "command": "autooptm-mcp" } } }
Tools: optimize_submit, optimize_status, optimize_wait,
unlock_patch (requires explicit user confirmation), download_patch,
account_balance.
API keys (CI and scripts)
autooptm login saves a 14-day token that slides on use, which is the right
credential for a laptop and the wrong one for a build machine: it expires
while the pipeline is idle, it needs a mailbox to renew, and it can spend
credits. A key fixes all three.
autooptm login # a key is minted from a session
autooptm keys create "CI pipeline" # printed once, never again
autooptm keys list
autooptm keys revoke aok_1a2b3c4d5e6f
Put it in CI as AUTOOPTM_TOKEN and it works everywhere a login token does.
Keys carry scopes, and the default is read,submit. unlock is opt-in,
so a build machine can submit work and read the result without being able to
spend a credit, whatever the build does. Add --scopes read,submit,unlock
only if you mean it, and --expires-in-days N to make it die on its own.
Release files for autooptm 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autooptm-0.3.0.tar.gz | 10.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autooptm-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.9 kB
Release files / autooptm-0.3.0.tar.gz
| Download URL | autooptm-0.3.0.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8eb6d655f57ce5e5f92f2c6cd44d9aa3df70747b3dc9929d127fd4d11674275
|
|
BLAKE2b-256 checksum How to use checksums |
02e005c7427df422624933c96f56d0e3a188a7ace21d0702b314e5d9de2eb7cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / autooptm-0.3.0-py3-none-any.whl
| Download URL | autooptm-0.3.0-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e3adc5c4beeae554e03cd0660ca16e3b7e4aa7928cd62aaf7f52b188def4c0f
|
|
BLAKE2b-256 checksum How to use checksums |
ab1b0d48bc21f9589cf86550bf6190a54974fa9d5e172d014a0450c122743c2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|