Skip to main content

Libraries for ML training loops in JAX.

Project description

JAX Loop Utils

This repository contains common functionality for writing ML training loops in JAX. The goal is to make trainings loops short and readable (but moving common tasks to small libraries) without removing the flexibility required for research.

To get started, check out this Notebook, or just:

uv add jax-loop-utils
# or if you're not using UV
pip install jax-loop-utils

See pyproject.toml for the optional dependencies, which are needed for specific metrid writers.

This started as a fork of CLU. See CHANGELOG.md for more details on changes since the fork.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jax_loop_utils-0.0.14.tar.gz (134.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jax_loop_utils-0.0.14-py3-none-any.whl (60.2 kB view details)

Uploaded Python 3

File details

Details for the file jax_loop_utils-0.0.14.tar.gz.

File metadata

  • Download URL: jax_loop_utils-0.0.14.tar.gz
  • Upload date:
  • Size: 134.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for jax_loop_utils-0.0.14.tar.gz
Algorithm Hash digest
SHA256 237ac6f5742af6ebfb5ca8ec66ce5a1735a075061597bc1e9eaa8a4ee536bf44
MD5 533139b068f894d8795c0a990cd00d86
BLAKE2b-256 60fe77712c7473f0a76a73bcd0b8b942060259b43de20a38b391b28aed45d5df

See more details on using hashes here.

Provenance

The following attestation bundles were made for jax_loop_utils-0.0.14.tar.gz:

Publisher: python-publish.yml on garymm/jax_loop_utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jax_loop_utils-0.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for jax_loop_utils-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 8488f99fd3eef6030e7eab31f1caf4dcc01330e1309a4c46812fdf3dd158b06b
MD5 d99726d85710fc53be7d8d65a0d09c4b
BLAKE2b-256 c8334309f7d9e26135835cc33ddda679e1c309dd015262d8db5671a06eb0566a

See more details on using hashes here.

Provenance

The following attestation bundles were made for jax_loop_utils-0.0.14-py3-none-any.whl:

Publisher: python-publish.yml on garymm/jax_loop_utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page