Skip to main content

torchmlx

torchmlx is a pytorch-shaped compatibility layer that uses mlx on apple silicon and pytorch elsewhere. it is experimental and built first for educational use.

pip install pytorchmlx
import torchmlx as torch
from torchmlx import nn, optim

see the tinystories example and compatibility details.

Metadata

Release files for pytorchmlx 0.0.2

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

Source distribution (sdist)

Source distribution for pytorchmlx 0.0.2
File Size Uploaded Provenance
pytorchmlx-0.0.2.tar.gz 57.7 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 74.1 kB

Release files / pytorchmlx-0.0.2.tar.gz

Download URL pytorchmlx-0.0.2.tar.gz
Size 57.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a17ae7237486011ad2384f92fa941fbda73cd1251125af743c46523fe0c4fc53
BLAKE2b-256 checksum
How to use checksums
2503381dfbf697457958c85b6412cd1b365df0938f796135e1b87a029514962a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / pytorchmlx-0.0.2-py3-none-any.whl

Download URL pytorchmlx-0.0.2-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52f4cdf4a2b6978efb524195188d6042343dcf1b6a0fe21f49485e10f143fb76
BLAKE2b-256 checksum
How to use checksums
5cee8316f4c9952c1f8485199369dbd5dc74ce9f89ad604fb64653b1371bcce8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for pytorchmlx 0.0.2

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.

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