Build AI with anyone. On data that can't move. SDK for the tracebloc collaborative AI workspace.
Project description
tracebloc
Build AI with anyone. On data that can't move.
tracebloc is a collaborative AI workspace you deploy on your own infrastructure. Invite researchers, partners, vendors, or your own teams to train, fine-tune, and benchmark models on your private data — without the data ever leaving your environment.
Install
Pick the extra for your ML framework — the default install contains the core SDK only (~140 MB, ~30 sec) instead of every framework (~8 GB).
pip install "tracebloc_package[pytorch]" # most users
pip install "tracebloc_package[tensorflow]" # TensorFlow
pip install "tracebloc_package[sklearn]" # scikit-learn only
pip install "tracebloc_package[boosting]" # XGBoost / CatBoost / LightGBM
pip install "tracebloc_package[survival]" # lifelines / scikit-survival
pip install "tracebloc_package[all]" # everything
Upgrading from 0.6.32 or earlier? See MIGRATION.md.
Quick Start
from tracebloc_package.user import User
# 1. Log in to your workspace
user = User()
user.login()
# 2. Upload your model to a use case
user.upload_model(model_name="my_model")
# 3. Link your model to the dataset — returns a training-plan facade
training_plan = user.link_model_dataset(dataset_id="<your-dataset-id>")
# 4. Start training
training_plan.start()
For a full walkthrough, open the Quickstart Notebook on Google Colab.
Supported Frameworks
| Framework | Use Cases |
|---|---|
| PyTorch | Image classification, object detection, semantic segmentation, tabular, text classification, time series, keypoint detection, survival analysis |
| TensorFlow | Image classification, tabular classification |
| scikit-learn | Tabular classification, tabular regression |
| XGBoost | Tabular classification, tabular regression |
| CatBoost | Tabular classification, tabular regression |
| LightGBM | Tabular classification, tabular regression |
| lifelines | Survival analysis (time-to-event) |
| scikit-survival | Survival analysis (time-to-event) |
How It Works
- Deploy a tracebloc workspace on any machine or Kubernetes cluster
- Define a use case — select datasets, set evaluation metrics
- Invite anyone — researchers, partners, your own teams across locations
- Build — contributors train models inside your environment using this SDK
- Compare — every submission benchmarked under identical conditions on one leaderboard
Local development setup
To work on the tracebloc_package and test changes with the "start-training" Jupyter Notebook (also running locally), clone the start-training repository and set up a virtual environment using a Python version compatible with TensorFlow (ideally 3.11 or 3.12).
Set up virtual environment:
python3.12 -m venv {venv_location}
source {venv_location}/bin/activate
pip install jupyter
Or with Pyenv:
pyenv virtualenv 3.12 start-training
pyenv activate start-training
pip install jupyter
Register the venv as a Jupyter kernel so the notebook uses it:
python -m ipykernel install --user --name=start-training --display-name "start-training"
Option 1: Editable install (recommended for iterating on source)
pip install -e {path_to}/tracebloc_package
Source changes are picked up immediately — no reinstall needed. Best for day-to-day development.
Option 2: Local install (non-editable)
pip install {path_to}/tracebloc_package
Installs a snapshot into site-packages. You must re-run this command after every change. Useful for verifying the package works when installed normally.
Option 3: Install from a built distribution
Build a wheel or sdist first, then install it:
cd {path_to}/tracebloc_package
python -m build
cd {path_to}/start-training
pip install {path_to}/tracebloc_package/dist/tracebloc_package-*.whl
Use this to catch packaging issues (missing files, incorrect metadata, incomplete install_requires) before publishing to PyPI.
Switching between options
pip install on the same package name replaces the previous installation automatically. To remove the package entirely:
pip uninstall tracebloc_package -y
Running the notebook
jupyter notebook notebooks/traceblocTrainingGuide.ipynb
Select the "start-training" kernel if it isn't already selected.
Note: skip the !pip install tracebloc_package[pytorch] cell in the notebook — the package is already installed locally via one of the options above.
Links
License
MIT
Project details
Release history Release notifications | RSS feed
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 tracebloc_package-0.7.0.tar.gz.
File metadata
- Download URL: tracebloc_package-0.7.0.tar.gz
- Upload date:
- Size: 149.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe78d6da1d39f4925e946c96de5c406b8bb231b27d8446110568acd35669183f
|
|
| MD5 |
707b808c793d2c746c0cf644e022d4a1
|
|
| BLAKE2b-256 |
22cfe9fa782872c75947efabf89b1627baf73bff456cc6ae5583437984cab084
|
File details
Details for the file tracebloc_package-0.7.0-py3-none-any.whl.
File metadata
- Download URL: tracebloc_package-0.7.0-py3-none-any.whl
- Upload date:
- Size: 204.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ecca84f079129bcf519825d314db35d83345db784322ac7ed12293a81e6c358
|
|
| MD5 |
5217294f32947fd53161e094e77bbe08
|
|
| BLAKE2b-256 |
074fa506f5e3ab903a7433ac520f357ef8d2c0c4032b9dc18be818b3505ca4c6
|