arm-pytorch-utilities
Utilities for working with pytorch
What it is and what it does
arm-pytorch-utilities is a collection of helper functions for PyTorch development maintained by the University of Michigan ARM Lab. It provides utilities centered on random number generation control and visualization, designed to support reproducible machine learning experiments and aid in debugging PyTorch models.
The package depends on torch, numpy, matplotlib, scipy, and pytorch-seed, making it a natural fit for existing ML workflows. It requires Python 3.6+ and PyTorch 1.0+. Installation is straightforward via pip, and the project supports editable installs for development. The codebase is actively maintained with recent commits and has been in development since 2023-02-10.
Use it for:
- Seed and control random number generation across PyTorch experiments to ensure reproducibility
- Visualize model outputs, training dynamics, or intermediate representations using built-in plotting utilities
- Standardize utility patterns across a team's PyTorch projects through a shared library
- Debug neural network behavior by leveraging helper functions for common ML tasks
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides utility functions for PyTorch development, including random number generation control and visualization tools.
Yes, if you work regularly with PyTorch and need reproducible RNG control or visualization helpers. The package has low install friction, active maintenance, permissive licensing, and no known vulnerabilities. The small repository size suggests it is specialized rather than general-purpose, so evaluate whether its specific utilities match your workflow.
Install
arm-pytorch-utilities on PyPI
pip
pip install arm-pytorch-utilitiesuv
uv add arm-pytorch-utilitiespoetry
poetry add arm-pytorch-utilitiesInstalling arm-pytorch-utilities
Before you install
Low friction installation with a pure Python wheel. Actively maintained with recent commits as of 2026-03-10. Five runtime dependencies (torch, numpy, matplotlib, scipy, pytorch-seed) are standard in ML environments.
License in practice
MIT license permits unrestricted use, modification, and distribution with only attribution and liability disclaimer required—suitable for both open and commercial projects.
Quickstart
pip install arm-pytorch-utilities
import arm_pytorch_utilities
import torch
Requires PyTorch 1.0+ and Python 3.6+
Verify before relying
- Specific utility functions and their use cases beyond rng and visualization
- Whether pytorch-seed is a required runtime dependency or optional
- API stability and backward compatibility guarantees across versions
Package facts
| License | Copyright (c) 2023 University of Michigan ARM Lab Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — torch, numpy, matplotlib, scipy, pytorch-seed |
| Maintenance | actively maintained — 157 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 123,137/month — #11,922 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: arm_pytorch_utilities-0.5.0-py3-none-any.whl
Keywords: rng, pytorch, visualization
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
pytorch-seedProvides reproducible random number generation…
permissive · top 15,000 on PyPI
torch-einops-utilsProvides utility functions for PyTorch and…
permissive · top 15,000 on PyPI
nvidia-curandProvides NVIDIA CURAND native runtime libraries…
unclear · top 1,000 on PyPI
torchvisionTorchvision provides pre-built datasets, model…
permissive · top 1,000 on PyPI
torchvizGenerates visual diagrams of PyTorch neural…
permissive · top 5,000 on PyPI
pytorch-rangerRanger is a PyTorch optimizer that combines…
permissive · top 15,000 on PyPI
torchrunxtorchrunx distributes PyTorch training…
copyleft · top 15,000 on PyPI
toolsA collection of Python utility functions for…
permissive · top 15,000 on PyPI
pte-adapter-model-explorerExtends Model Explorer with visualization…
permissive · top 15,000 on PyPI
pytest-rngProvides pytest fixtures that make random…
permissive · top 15,000 on PyPI