torch-einops-utils
Personal utility functions
What it is and what it does
torch-einops-utils is a lightweight utility library that wraps and extends einops and torch to simplify tensor operations in machine learning workflows. It depends on einops and torch as its only runtime dependencies, making it a thin convenience layer rather than a heavy framework. The package targets developers working with PyTorch who want faster, more readable tensor manipulation code.
Released on 2026-01-09 and actively maintained (most recent release 2026-08-11), the package is in Beta status and requires Python 3.9 or later. It carries no known security vulnerabilities and uses a permissive MIT License. With roughly 619277 monthly downloads and a position in the top 15000 PyPI packages, it has found modest adoption in the ML community.
Use it for:
- Simplify tensor reshaping and dimension manipulation in PyTorch models using einops-based helpers.
- Accelerate prototyping of neural network layers by reducing boilerplate tensor operation code.
- Standardize tensor operations across a team's ML codebase with shared utility functions.
- Integrate einops patterns into existing PyTorch projects with minimal overhead.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides utility functions for PyTorch and einops to accelerate tensor manipulation in ML workflows.
Yes, if you use PyTorch and einops regularly. Low install friction, active maintenance, permissive license, and no known vulnerabilities make it a safe addition. The Beta status and modest documentation suggest it's best suited for developers comfortable exploring a smaller utility library rather than a mature framework. Check the repository for specific functions that match your tensor manipulation needs.
Install
torch-einops-utils on PyPI
pip
pip install torch-einops-utilsuv
uv add torch-einops-utilspoetry
poetry add torch-einops-utilsInstalling torch-einops-utils
Before you install
Low install friction with a pure Python wheel. Active maintenance—released 3 days ago with a recent commit on 2026-08-11. Repository has 52 stars and is not archived.
License in practice
MIT License permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install torch-einops-utils
import torch
from torch_einops_utils import ...
# Use utility functions with torch and einops
Requires Python 3.9 or later; torch and einops must be installed as runtime dependencies.
Verify before relying
- What specific utility functions are included and their scope of applicability to different ML tasks.
- Whether the package is stable enough for production use given its Beta development status.
Package facts
| License | MIT License Copyright (c) 2026 Phil Wang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — einops, torch |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 619,277/month — #5,730 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: torch_einops_utils-0.1.19-py3-none-any.whl
Keywords: einops, torch
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
einops-extsProvides helper functions that extend Einops, a…
permissive · top 15,000 on PyPI
toolsA collection of Python utility functions for…
permissive · top 15,000 on PyPI
einopsEinops provides readable tensor operations…
permissive · top 1,000 on PyPI
torchPyTorch provides GPU-accelerated tensor…
permissive · top 1,000 on PyPI
torchtntTNT provides training utilities and tools for…
permissive · top 15,000 on PyPI
hoptorchProvides a safe wrapper around PyTorch's scan…
permissive · top 15,000 on PyPI
msbench-utilsProvides utility functions and helpers for…
permissive · top 15,000 on PyPI
rotary-embedding-torchImplements rotary positional embeddings for…
permissive · top 15,000 on PyPI
etilsA modular collection of utility submodules for…
permissive · top 5,000 on PyPI
arm-pytorch-utilitiesProvides utility functions for PyTorch…
permissive · top 15,000 on PyPI