Overview of TorchLens Menagerie
mainThe Menagerie is a toolkit for cataloging neural-network model families and rendering their TorchLens computational graphs. It consists of two primary components:
catalog.py: Responsible for building, normalizing, and querying the model catalog.generate_menagerie.py: Handles dependency resolution, individual model rendering, cache purging, and generating browsable gallery indexes.
Note: Bulk graph output should be directed to an external volume or temporary directory (e.g., /tmp/torchlens_menagerie_gallery) rather than inside the repository.