torchtel
torchtel provides OpenTelemetry auto instrumentation for pytorch
Requirements
- Python 3.10 or higher
- PyTorch
Install from pypi
$ pip install torchtel
Usage
Instrumenting PyTorch
Import the PyTorchInstrumentor class, call the instrument() passing your model, see below:
from torchtel import PyTorchInstrumentor
# create your PyTorch model
model = ...
# Register the model for PyTorch Instrumentation
instrumentor = PyTorchInstrumentor().instrument(model=model)
# Run the model
...
# Uninstrument PyTorch
instrumentor.uninstrument()
Check out the training example to see OpenTelemetry autoinstrumentation in action.
Observability
To visualize traces and metrics collected by TorchTel, see our complete observability setup guide with Docker Compose configurations for Jaeger, Prometheus, and Grafana.
Contributing
Read our contributing guide to learn about our development process, how to propose bugfixes and feature requests, and how to build your changes.
Code of Conduct
Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
Maintainers
torchtel is actively maintained by Lucca Bertoncini, and Billy Campoli.
License
torchtel is licensed under the MIT license.
Metadata
Release files for torchtel 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| torchtel-0.0.3.tar.gz | 610.5 kB | Without provenance | Details for torchtel-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| torchtel-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for torchtel-0.0.3-py3-none-any.whl |
Total release size: 619.0 kB
Release files / torchtel-0.0.3.tar.gz
| Download URL | torchtel-0.0.3.tar.gz |
|---|---|
| Size | 610.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12f7c0efdc837e2605b47411e818a7d2c240fa18ee0137d1037d313e7fdd1353
|
|
BLAKE2b-256 checksum How to use checksums |
2d3ff721a7c42c27f818d14515c5b9c35cd77c2461144474da9a7843e85482d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|
Release files / torchtel-0.0.3-py3-none-any.whl
| Download URL | torchtel-0.0.3-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e55adfdf3d79bf352f0bde9ecb26c3e748a7628d307e9cef912b5b221920f7a
|
|
BLAKE2b-256 checksum How to use checksums |
db51a16ed7948e11c1d417ebff40353f250064adb06eb2f1210098b279bb055f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|
Security for torchtel 0.0.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.