Autotune Python SDK
Typed synchronous and asynchronous interfaces for the autotune command-line tool. The CLI remains the execution engine and the authority for option validation.
Requirements
- Python 3.10 or newer
- Node.js 22 or newer
- An
autotuneexecutable onPATH
Select another executable with binary=..., AUTOTUNE_CLI_BIN, or AUTOTUNE_BIN.
Usage
from autotune_cli import Autotune
autotune = Autotune()
space = autotune.analyze("train.py", agent="codex")
result = autotune.run("train.py", trials=20, yes=True, agent="codex")
print(result.best_trial)
run() is intentionally noninteractive: pass yes=True, or provide config="search-space.yaml". A configured run is automatically passed to the CLI with --yes.
Use invoke() for raw CLI features:
print(autotune.invoke(["--help"]).stdout)
The async client has the same API:
from autotune_cli import AsyncAutotune
result = await AsyncAutotune().run("train.py", trials=20, yes=True)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autotune_cli-0.3.1.tar.gz.
File metadata
- Download URL: autotune_cli-0.3.1.tar.gz
- Upload date:
- Size: 26.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b7fc46428c860fa9b3fff9685ce22f1f9b345a4f8de68fe56c8c9b3d666d349
|
|
| MD5 |
1d64eafe818e9178e310f019b8bfe649
|
|
| BLAKE2b-256 |
71fdbd7f47b614176a75264b4b11c912fb49e480ec04b841c6a515baeab42fb5
|
Provenance
The following attestation bundles were made for autotune_cli-0.3.1.tar.gz:
Publisher:
release.yml on RobertTLange/autotune
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autotune_cli-0.3.1.tar.gz -
Subject digest:
7b7fc46428c860fa9b3fff9685ce22f1f9b345a4f8de68fe56c8c9b3d666d349 - Sigstore transparency entry: 2322788714
- Sigstore integration time:
-
Permalink:
RobertTLange/autotune@81ddd847135ff9fd8da95281be0fc67ef7bc827a -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/RobertTLange
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@81ddd847135ff9fd8da95281be0fc67ef7bc827a -
Trigger Event:
push
-
Statement type:
File details
Details for the file autotune_cli-0.3.1-py3-none-any.whl.
File metadata
- Download URL: autotune_cli-0.3.1-py3-none-any.whl
- Upload date:
- Size: 25.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0d63fcb05055e1d4a2accf73b96c4e3b6c1b6109ee2a97184079449341c0d0d
|
|
| MD5 |
5c382af218ce2697be754b6281454cf9
|
|
| BLAKE2b-256 |
ec91899b49524ff3c77462fd7cfe32a05329811117f7171bae9b223d9bc04097
|
Provenance
The following attestation bundles were made for autotune_cli-0.3.1-py3-none-any.whl:
Publisher:
release.yml on RobertTLange/autotune
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autotune_cli-0.3.1-py3-none-any.whl -
Subject digest:
f0d63fcb05055e1d4a2accf73b96c4e3b6c1b6109ee2a97184079449341c0d0d - Sigstore transparency entry: 2322788839
- Sigstore integration time:
-
Permalink:
RobertTLange/autotune@81ddd847135ff9fd8da95281be0fc67ef7bc827a -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/RobertTLange
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@81ddd847135ff9fd8da95281be0fc67ef7bc827a -
Trigger Event:
push
-
Statement type: