tracebloc is a Python library for uploading models, linking them with datasets, configuring training parameters, and launching experiments on the tracebloc platform.
Install and import the SDK as
tracebloc: pip install tracebloc, then from tracebloc import User. The package took this name in 0.8.0, so a notebook written for an older release should switch its install line and imports to tracebloc.Installation
Requires Python 3.11 or later (>=3.11,<3.15); 3.11 or 3.12 is recommended.
Pick the extra that matches your ML framework — the default install ships the core SDK only (~140 MB, ~30 sec) instead of every framework (~8 GB):
training extra installs exactly the versions of torch, transformers, timm, scikit-learn and the other libraries that training runs with, which is what converting a model needs. It supports Python 3.11, 3.12 and 3.13. Install it in a fresh virtual environment; Bring your model shows when you need it.
There is no
tensorflow extra, and all does not include TensorFlow — it
resolves to pytorch, sklearn, lifelines and scikit-survival. The
published extras are exactly: pytorch, sklearn, xgboost, catboost,
lightgbm, lifelines, scikit-survival, all, training and dev.The umbrella [boosting] and [survival] extras were removed in 0.10.0, along
with [huggingface] (the Hugging Face stack now ships inside [pytorch]).This matters because of how pip behaves: an unknown extra is a warning, not an
error, and pip still exits 0. Asking for one that does not exist therefore
appears to succeed while installing the core SDK only, and the failure surfaces
much later as an ImportError.Key Features
- Upload model files and pretrained weights
- Link models with datasets from your use cases
- Configure training parameters (epochs, optimizer, learning rate, augmentation, callbacks)
- Review the experiment’s settings before starting
- Launch remote training on secure infrastructure
Quick Start
Model Zoo
Use a ready-made model from the tracebloc model zoo or bring your own. Supported tasks: image classification, object detection, keypoint detection, semantic segmentation, text classification, sentence pair classification, token classification, masked language modeling, causal language modeling, seq2seq, embeddings, tabular classification and regression, time series classification and forecasting, and time-to-event prediction. Many model zoo templates are pretrained models, but the repository ships only their code. Uploaded without weights, they train from random weights. Fetch the pretrained seed weights into the model file’s directory first, then upload withweights=True:
fetch_seed_weights raises an error saying so. See Start training for details.
Quickstart notebook
To train from your own notebook, run the step-by-step quickstart notebook on your machine. Start training walks you through it.Next Steps
- Start training — detailed walkthrough of the training workflow
- Hyperparameters — full reference for all training configuration options
- FAQs
- Key terms