Skip to main content

heulistic

Fine-tune LLMs without the infrastructure.

Run the full Heulistic stack locally on your own hardware — no cloud account, no billing, no setup beyond Docker.

Installation

pip install heulistic

Requires Python 3.10+ and Docker Desktop (or Docker Engine + Compose plugin).

Quick start

pip install heulistic

heulistic init                        # starter config, sized to your GPU
heulistic validate-config config.yaml # check it — offline, no Docker needed
heulistic start                       # bring the local stack up
heulistic train config.yaml           # submit and follow the logs
heulistic download <job-id>           # collect the trained model

Training from the terminal

heulistic train config.yaml
heulistic train config.yaml --dataset ./data.jsonl
heulistic train config.yaml --hf-token hf_...   # gated base models
heulistic train config.yaml --detach            # submit without following
heulistic train config.yaml --no-validate       # skip the pre-flight check

The config is validated locally first, so a typo costs nothing. Logs stream until the run ends; Ctrl-C detaches without stopping the job. On success you are told where to get the model.

heulistic download <job-id>              # ./<job-id>-model.tar.gz
heulistic download <job-id> -o model.tgz
heulistic download <job-id> --url-only

Starting from a working config

heulistic init                    # writes config.yaml
heulistic init -m Qwen/Qwen2.5-0.5B
heulistic init -o experiments/run1.yaml

init reads your GPU and picks a base model that fits it, so your first run does not OOM twenty minutes in. The generated file passes validate-config with no findings.

Checking a config

Validate an Axolotl config before spending a GPU hour on it. Works offline — no Docker, no running stack, no account.

heulistic validate-config config.yaml
Checking config.yaml

  error   line 3   num_epochs        num_epochs must be greater than 0
  error   line 5   micro_batch_size  'micro_batch_size' expects int | None, got str
  warning line 2   lr                Unknown field 'lr' — did you mean 'learning_rate'?
  info             bf16              'bf16' is not set — it defaults to 'auto'

  2 errors, 1 warning, 1 suggestion

Field names, types, defaults and required-ness come from Axolotl's own config reference, so the checks track upstream rather than a hand-written list.

# Check it also fits your GPU
heulistic validate-config config.yaml --gpu

# ...or a card you don't have in front of you
heulistic validate-config config.yaml --vram 24
heulistic validate-config config.yaml --vram 88 --gpus 4

# Fail on warnings too, for CI
heulistic validate-config config.yaml --strict

# Errors only, or JSON for tooling
heulistic validate-config config.yaml --quiet
heulistic validate-config config.yaml --json

Exit codes: 0 clean, 1 problems found, 2 bad invocation.

Running the local stack

# Start the stack (opens your browser automatically)
heulistic start

# GPU-less mode (CPU only — training will be slow)
heulistic start --no-gpu

# Use a HuggingFace token for gated models
heulistic start --hf-token hf_...

# Custom ports
heulistic start --port 3001 --api-port 8001

# What's running, and what are my jobs doing?
heulistic status

# View logs
heulistic logs
heulistic logs -f   # follow

# Stop
heulistic stop

heulistic status exits 0 only when every service is up, so it can gate a script:

Heulistic local stack

  db          running (healthy)
  minio       running
  api         running             http://localhost:8000
  scheduler   running
  frontend    running             http://localhost:3000

  Jobs: 1 completed, 2 running

Managed Cloud

Need more GPU or don't want to manage infrastructure? Heulistic Cloud handles provisioning, scaling, and cost — pay only for what you use.

Metadata

Release files for heulistic 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for heulistic 0.1.2
File Size Uploaded
heulistic-0.1.2.tar.gz 27.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for heulistic 0.1.2
File Interpreter ABI Platform
heulistic-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 51.6 kB

Release files / heulistic-0.1.2.tar.gz

Download URL heulistic-0.1.2.tar.gz
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3b7fd7d0a95ee8e4bf2a723f9c279ca4857ecc3e86b1aca59afbe64ce0cf0d8e
BLAKE2b-256 checksum
How to use checksums
6d2a9a90d024bcaa34481b4b62b28b9d116af6649edcfdee00200bbf6803de7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / heulistic-0.1.2-py3-none-any.whl

Download URL heulistic-0.1.2-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a90639700a09b3cdc9c188922d810d7049cdb28ae432176d4fa32becff07b5dc
BLAKE2b-256 checksum
How to use checksums
1a7123ae7eaace895acca321b0bec1f2e31489bedfd54a5d763c88b91b803652
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page