Skip to main content

JaxHelper

Basic tools and helpers for Jax

Getting Started

Installation

python3 -m pip install jaxhelper

Explanation

This repository contains basic helper functions I use every day.
Here are some highlights:

  • remat: function decorator to rematerialize ("activation checkpointing") hidden states during backward pass
  • softmax:
    • exp in fp32 and matmul in bf16 (-> improved convergence and speed)
    • fewer stored intermediates yet faster gradient
  • attention:

Metadata

Release files for jaxhelper 0.0.5

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

Source distribution (sdist)

Source distribution for jaxhelper 0.0.5
File Size Uploaded Provenance Actions
jaxhelper-0.0.5.tar.gz 3.6 kB Without provenance Details for jaxhelper-0.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 7.2 kB

Release files / jaxhelper-0.0.5.tar.gz

Download URL jaxhelper-0.0.5.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
226e7d4f6d5ad2c7910d51269180dd6243b57f73a22ce733a7daf1749eec5171
BLAKE2b-256 checksum
How to use checksums
759c8cbb45c6d5102abd0d85b7fe3fef2d364bf5c5c8715cbfdec7c3516d7707
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / jaxhelper-0.0.5-py3-none-any.whl

Download URL jaxhelper-0.0.5-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8abd779dc88c627b73390f77bccd4cdf73dee08da0c6631c6c2cfe4d328484cf
BLAKE2b-256 checksum
How to use checksums
c5d53a3251e3facaf123f50977fb1beeaa2254da9044e6af35ced3cfe50b96cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for jaxhelper 0.0.5

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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