OrderLab/TrainCheck
OrderLab/TrainCheck has 75 GitHub stars and 3 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-14 01:56 UTC. Last push 2026-11-02.
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- Verlauf wird gesammelt
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
Über uns
An Observability Framework for AI Training
Maschinelles LernenREADME.md
OriginalTrainCheck catches silent training bugs by learning what a healthy run does, then checking a new run against those learned invariants. It works by tracing PyTorch API calls and model state changes, so you can inspect training behavior before a loss curve or final metric tells you something went wrong.
Install
Install TrainCheck in the same Python environment that runs your training script:
pip3 install traincheck
For CUDA, conda, and source-install details, see the Installation Guide.
Use TrainCheck
TrainCheck has four main steps.
1. Collect a Reference Trace
Run traincheck-collect on a known-good training script. This should be a short run that covers the training behavior you want TrainCheck to learn.
traincheck-collect \
--pyscript reference.py \
--models-to-track model \
--output-dir reference_trace
2. Infer Invariants
Turn the reference trace into invariants:
traincheck-infer -f reference_trace -o invariants.json
3. Collect a Target Trace
Run the target training script with the inferred invariants. Passing --invariants lets TrainCheck trace only the APIs and variables needed for those checks.
traincheck-collect \
--pyscript target.py \
--models-to-track model \
--invariants invariants.json \
--output-dir target_trace
For long target runs, trace fewer steps:
traincheck-collect \
--pyscript target.py \
--models-to-track model \
--invariants invariants.json \
--sampling-interval 10 \
--warm-up-steps 10 \
--output-dir target_trace
4. Check the Target Run
For live checking, start traincheck-onlinecheck while the target run is writing traces:
traincheck-onlinecheck -f target_trace -i invariants.json
The easier offline path is to wait for trace collection to finish, then run:
traincheck-check -f target_trace -i invariants.json
Both checkers write a results directory with failure logs and a report.html summary.
Learn More
- Use TrainCheck explains the full workflow and output files.
- 5-Minute Tutorial walks through a real silent training issue.
- Installation Guide covers environment setup.
- Technical Documentation describes invariants, trace representation, and implementation details.
Status
TrainCheck is under active development. Please join our Discord server, file a GitHub issue, or email [email protected].
Contributing
We welcome contributions. See Contributing to TrainCheck for setup and contribution guidance.
License
TrainCheck is licensed under the Apache License 2.0.
Citation
If TrainCheck is relevant to your work, please cite our paper:
@inproceedings{TrainCheckOSDI2025,
author = {Jiang, Yuxuan and Zhou, Ziming and Xu, Boyu and Liu, Beijie and Xu, Runhui and Huang, Peng},
title = {Training with Confidence: Catching Silent Errors in Deep Learning Training with Automated Proactive Checks},
booktitle = {Proceedings of the 19th USENIX Symposium on Operating Systems Design and Implementation},
series = {OSDI '25},
month = {July},
year = {2025},
address = {Boston, MA, USA},
publisher = {USENIX Association},
}
Artifact Evaluation
OSDI AE members should use the TrainCheck AE Guide.
Ähnliche Projekte entdecken
tensorflow/tensorflow
Ein Open-Source-Framework für maschinelles Lernen für alle
201,592 Sternehuggingface/transformers
🤗 Transformers: das Framework zur Modelldefinition für State-of-the-Art-Modelle des maschinellen Lernens in Text, Vision, Audio und multimodal, für Inferenz und Training.
168,953 SterneAUTOMATIC1111/stable-diffusion-webui
Web-UI für Stable Diffusion
165,308 SterneComfy-Org/ComfyUI
Die leistungsstärkste und modularste GUI, API und das Backend für Diffusionsmodelle mit einer Oberfläche aus Graphen und Knoten. Die schnellste lokale Inferenz-Engine der Welt.
146,711 Sterne