{"id":31830838,"url":"https://github.com/gerlero/parajax","last_synced_at":"2026-01-20T17:52:47.689Z","repository":{"id":316923902,"uuid":"1065380040","full_name":"gerlero/parajax","owner":"gerlero","description":"⚡ Automatic parallelization of calls to JAX-based functions","archived":false,"fork":false,"pushed_at":"2025-10-03T19:23:00.000Z","size":217,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-06T23:04:03.216Z","etag":null,"topics":["jax","parallel-computing","typed"],"latest_commit_sha":null,"homepage":"https://parajax.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gerlero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-27T15:56:15.000Z","updated_at":"2025-10-04T16:39:10.000Z","dependencies_parsed_at":"2025-09-27T17:00:51.085Z","dependency_job_id":null,"html_url":"https://github.com/gerlero/parajax","commit_stats":null,"previous_names":["gerlero/parajax"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/gerlero/parajax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerlero%2Fparajax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerlero%2Fparajax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerlero%2Fparajax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerlero%2Fparajax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gerlero","download_url":"https://codeload.github.com/gerlero/parajax/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gerlero%2Fparajax/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008855,"owners_count":26084517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jax","parallel-computing","typed"],"created_at":"2025-10-11T21:26:22.207Z","updated_at":"2026-01-20T17:52:47.682Z","avatar_url":"https://github.com/gerlero.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/gerlero/parajax\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/gerlero/parajax/main/logo.png\" alt=\"Parajax\" width=\"250\"/\u003e\u003c/a\u003e\n\n  **Automagic parallelization of calls to [JAX](https://github.com/jax-ml/jax)-based functions**\n\n  [![Documentation](https://img.shields.io/readthedocs/parajax)](https://parajax.readthedocs.io/)\n  [![CI](https://github.com/gerlero/parajax/actions/workflows/ci.yml/badge.svg)](https://github.com/gerlero/parajax/actions/workflows/ci.yml)\n  [![Codecov](https://codecov.io/gh/gerlero/parajax/branch/main/graph/badge.svg)](https://codecov.io/gh/gerlero/parajax)\n  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n  [![ty](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ty/main/assets/badge/v0.json)](https://github.com/astral-sh/ty)\n  [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)\n  [![Publish](https://github.com/gerlero/parajax/actions/workflows/pypi-publish.yml/badge.svg)](https://github.com/gerlero/parajax/actions/workflows/pypi-publish.yml)\n  [![PyPI](https://img.shields.io/pypi/v/parajax)](https://pypi.org/project/parajax/)\n  [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/parajax)](https://pypi.org/project/parajax/)\n\u003c/div\u003e\n\n## Features\n\n- 🚀 **Device-parallel execution**: run across multiple CPUs, GPUs or TPUs automatically\n- 🧩 **Fully composable** with [`@jax.jit`](https://docs.jax.dev/en/latest/_autosummary/jax.jit.html), [`@jax.vmap`](https://docs.jax.dev/en/latest/_autosummary/jax.vmap.html), and other JAX transformations\n- 🪄 **Automatic handling** of input shapes not divisible by the number of devices\n- 🎯 **Simple interface**: just decorate your function with [`@parallelize`](https://parajax.readthedocs.io/en/stable/#parajax.parallelize)\n\n## Installation\n\n```bash\npip install parajax\n```\n\n## Example\n\n```python\nimport multiprocessing\n\nimport jax\nimport jax.numpy as jnp\nfrom parajax import parallelize\n\njax.config.update(\"jax_num_cpu_devices\", multiprocessing.cpu_count())\n# ^ Only needed on CPU: allow JAX to use all CPU cores\n\n@parallelize\ndef square(xs):\n    return xs**2\n\nxs = jnp.arange(12_345)\nys = square(xs)\n```\n\nThat's it! Invocations of `square` will now be automatically parallelized across all available devices.\n\n## Documentation\n\nFor more details, check out the [documentation](https://parajax.readthedocs.io/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerlero%2Fparajax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgerlero%2Fparajax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerlero%2Fparajax/lists"}