Skip to main content

torchrecorder

A small package to record execution graphs of neural networks in PyTorch. The package uses hooks and the grad_fn attribute to record information.
This can be used to generate visualizations at different scope depths.

Licensed under MIT License. View documentation at https://torchrecorder.readthedocs.io/

Installation

Requirements:

Install this package:

$ pip install torchrecorder

Acknowledgements

This is inspired from szagoruyko/pytorchviz. This package differs from pytorchviz as it provides rendering at multiple depths.

Note that for rendering a network during training, you can use TensorBoard and torch.utils.tensorboard.SummaryWriter.add_graph, which records and renders to a protobuf in a single step. The intended usage of torchrecorder is for presentation purposes.

Metadata

Release files for torchrecorder 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for torchrecorder 1.0.3
File Size Uploaded Provenance Actions
torchrecorder-1.0.3.tar.gz 10.8 kB Without provenance Details for torchrecorder-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for torchrecorder 1.0.3
File Interpreter ABI Platform Actions
torchrecorder-1.0.3-py3-none-any.whl Python 3 none any Details for torchrecorder-1.0.3-py3-none-any.whl

Total release size: 23.7 kB

Release files / torchrecorder-1.0.3.tar.gz

Download URL torchrecorder-1.0.3.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2a207548eaa778b8918bfcfa7ac655de37ac608523ca5c36e6175388c46e4da2
BLAKE2b-256 checksum
How to use checksums
563427b9350904797351f607ef74600353007545ee7069c3637351031b1c6cb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.11

Release files / torchrecorder-1.0.3-py3-none-any.whl

Download URL torchrecorder-1.0.3-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
537ef5b32476756a06446a205d73a4a6d8d164d2101ce87891875f989e9c3311
BLAKE2b-256 checksum
How to use checksums
37a6ade2011ad5debc5afef7339bb5057140b2440bfdcd346f8188f7c5cc32e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.11

Security for torchrecorder 1.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.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page