Skip to main content

JAX-compatible interface to the oneMKL Pardiso direct sparse solver

Project description

pardiso-mkl-jax

JAX-compatible interface to the oneMKL Pardiso direct sparse solver.

import jax

jax.config.update("jax_enable_x64", True)

import jax.numpy as jnp
import pardiso_mkl_jax as pmj

indptr = jnp.array([0, 2, 3, 4], dtype=jnp.int32)
indices = jnp.array([0, 1, 1, 2], dtype=jnp.int32)
values = jnp.array([4.0, 1.0, 3.0, 2.0], dtype=jnp.float64)
right_hand_side = jnp.array([1.0, 2.0, 3.0], dtype=jnp.float64)

x = pmj.solve(
    indptr, indices, values, right_hand_side, matrix_type=pmj.MatrixType.REAL_NONSYMMETRIC
)

Install with uv add pardiso-mkl-jax (or pip install pardiso-mkl-jax) and read the documentation here.

Development

uv sync
uv run pytest
uv run ty check

The compiled extension rebuilds automatically on import while developing, so the default editable install (uv sync) is what you want day to day. Building the documentation site needs a non-editable install instead, since mkdocstrings' static analysis cannot resolve import aliases through the editable loader:

uv sync --group docs --no-editable
uv run --no-sync zensical build
uv run --no-sync pytest --markdown-docs docs

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

pardiso_mkl_jax-0.1.1.tar.gz (98.2 kB view details)

Uploaded Source

Built Distributions

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

pardiso_mkl_jax-0.1.1-cp313-cp313-win_amd64.whl (251.3 kB view details)

Uploaded CPython 3.13Windows x86-64

pardiso_mkl_jax-0.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (85.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pardiso_mkl_jax-0.1.1-cp312-cp312-win_amd64.whl (251.9 kB view details)

Uploaded CPython 3.12Windows x86-64

pardiso_mkl_jax-0.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (85.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pardiso_mkl_jax-0.1.1-cp311-cp311-win_amd64.whl (251.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pardiso_mkl_jax-0.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (84.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file pardiso_mkl_jax-0.1.1.tar.gz.

File metadata

  • Download URL: pardiso_mkl_jax-0.1.1.tar.gz
  • Upload date:
  • Size: 98.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pardiso_mkl_jax-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fbfd53b1de69375f0de39c1f9c307b4c130f8d1b73d8fc29b98cd731083d37e3
MD5 5797e55078d1fcca595d85a4ff87ff2c
BLAKE2b-256 f0893ee433c1786a991ad981173fa41b3873f61b1ad075908e5340096ca9904e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.1.tar.gz:

Publisher: publish.yml on nardi/pardiso-mkl-jax

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

File details

Details for the file pardiso_mkl_jax-0.1.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2f8bd95b84051dfea282812f09f4d540c458ac5b2a0302a303bd850cf1bb3df0
MD5 3e85e4b8fee3a097b1e44c39e0e32a29
BLAKE2b-256 5c902d5dd70335b2dd9d6d57339c1a67b8b8088c2ead6c44138e6436fecf3798

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.1-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on nardi/pardiso-mkl-jax

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

File details

Details for the file pardiso_mkl_jax-0.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6cc4409094b873af060ebe626a532f8e54144e31c8974e610d32da8addbf226f
MD5 5f91cb9b01da40a7863da7285d9d30a7
BLAKE2b-256 e8a9552ed279f1ede84a4b5db230ce1993a89d31e764f332efcefdf7644e98ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on nardi/pardiso-mkl-jax

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

File details

Details for the file pardiso_mkl_jax-0.1.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 53e2a4ac0b6880cf96a0828b54749f50b57e4057b7dfe31f9ff5099fad14b3de
MD5 a3806e084238aeb74f703360e9c19f70
BLAKE2b-256 f03c2d3e654fe0a5100c8f347bb29f58c2ef8960014f9e6d4aa8bd4891d8ce67

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.1-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on nardi/pardiso-mkl-jax

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

File details

Details for the file pardiso_mkl_jax-0.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 156fb8dcf005e5733b87649f910445dea917a1cb29bdd874e8222ce0492369ec
MD5 b381984bc1029d67ef15e32458c96a47
BLAKE2b-256 431c3eb1e059fe1a7f20bdf46bbdc14c30cd7acda1becd49dc2493ddcaa37f7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on nardi/pardiso-mkl-jax

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

File details

Details for the file pardiso_mkl_jax-0.1.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3ed798db1fed7655b52dc321d5dc704ad8e81254b711c7dfd956e575b79628bc
MD5 f23a0689be24b0b69cf34faea40b89ed
BLAKE2b-256 73fd6ed9c4a66484594fb37ce945aa3be311a93361bb552f473461ec94aaefcd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.1-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on nardi/pardiso-mkl-jax

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

File details

Details for the file pardiso_mkl_jax-0.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 37e583bfea4e5ddbea2a854594682c1b447c200e21d5c50cdebbb0ffc0b43c5a
MD5 c1fb18893dfa0d26217ab82ed128c1f0
BLAKE2b-256 4c55bbb9af91c28127b32871ae9d9c7d314c35b15d00d8bb86552cd46e92f8bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on nardi/pardiso-mkl-jax

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