Skip to main content

cosmulator: accelerating cosmological inference with JAX machine-learning emulators on GPU

Author:

Dily Duan Yi Ong

License:

MIT

Homepage:

https://github.com/DilyOng/cosmulator

cosmulator trains JAX normalising-flow emulators of nested-sampling posteriors on GPU, so a distribution can be resampled instantly for fast marginalisation and Bayesian evidence, and manages the resulting emulators (training, validation, storage and serving) across a grid of cosmological models and surveys.

Developed under a UKRI-funded high performance computing (DiRAC) project.

Installation

pip install cosmulator            # inspect and use emulators (numpy only)
pip install "cosmulator[train]"   # adds the JAX training stack

Requires Python 3.11 or later.

Metadata

Release files for cosmulator 0.0.35

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

Source distribution (sdist)

Source distribution for cosmulator 0.0.35
File Size Uploaded Provenance Actions
cosmulator-0.0.35.tar.gz 68.3 kB With provenance Details for cosmulator-0.0.35.tar.gz

Built distribution (wheel)

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

Total release size: 120.5 kB

Release files / cosmulator-0.0.35.tar.gz

Download URL cosmulator-0.0.35.tar.gz
Size 68.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3e7eacd7e033f9acc365c3dcde30f2adaf38c02e1d6d8d1bd2291d20ef5f5ee7
BLAKE2b-256 checksum
How to use checksums
98ecc1d1ea9913bb3b54d57c00b69ae063e98daa4d1dfc17dcd1c0669ee1c152
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release files / cosmulator-0.0.35-py3-none-any.whl

Download URL cosmulator-0.0.35-py3-none-any.whl
Size 52.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b94fae3820d0ab52d394d71abb0c632de9647c1f0a65d9a3753fe16099a08914
BLAKE2b-256 checksum
How to use checksums
dc1ae734604082544adbbf5352014e8e77087d654ba0049365425404a8439b05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Security for cosmulator 0.0.35

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cosmulator-0.0.35.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.0.35 This release

2 release files Full provenance

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