trainfabric
v0.1.73
Published
Trainfabric CLI for launching GPU training jobs on the hosted Trainfabric backend.
Downloads
10,134
Readme
Trainfabric CLI
Launch and monitor GPU training jobs on Trainfabric.
Install
npm install -g trainfabricAuthenticate
trainfabric loginFor service-account flows:
trainfabric config:set-api-key <api-key>Secrets are stored in macOS Keychain when available. Other platforms use an encrypted file under ~/.trainfabric with restricted permissions.
Run A Job
trainfabric projects:list
trainfabric projects:create --name <name>
trainfabric projects:delete <projectId>
trainfabric datasets:upload ./train.jsonl --project <projectId>
trainfabric runs:quote --summary --project <projectId> --dataset <datasetId> --model llama-3-8b
trainfabric runs:create --yes --quote <quoteId>
trainfabric runs:watch <runId> --timeout 30m
trainfabric runs:cost-breakdown <runId> --summaryThe CLI defaults to https://api.trainfabric.com. Override with:
trainfabric config:set-base-url https://your-api.example.comPricing, supplier costs, and profitability are estimates unless invoice-grade supplier reconciliation is explicitly configured.
