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.2.tar.gz (102.3 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.2-cp313-cp313-win_amd64.whl (254.6 kB view details)

Uploaded CPython 3.13Windows x86-64

pardiso_mkl_jax-0.1.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (90.4 kB view details)

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

pardiso_mkl_jax-0.1.2-cp312-cp312-win_amd64.whl (255.3 kB view details)

Uploaded CPython 3.12Windows x86-64

pardiso_mkl_jax-0.1.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (91.1 kB view details)

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

pardiso_mkl_jax-0.1.2-cp311-cp311-win_amd64.whl (255.1 kB view details)

Uploaded CPython 3.11Windows x86-64

pardiso_mkl_jax-0.1.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (90.2 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.2.tar.gz.

File metadata

  • Download URL: pardiso_mkl_jax-0.1.2.tar.gz
  • Upload date:
  • Size: 102.3 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.2.tar.gz
Algorithm Hash digest
SHA256 31ce45b7abf9dd58d015c343799faaacde765f353ae30407e023c1e7850a879f
MD5 481851047123e47507f7c2b06e47c31a
BLAKE2b-256 e73e270e0f2b724a24a638bd9f540664d6ee2daec6cae61396773b49c8ffd742

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.2.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.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2391df55d8af6a00c142c1d4515baf704074aa59d1af825695bb819f1c9b5db4
MD5 d27283cbf5bf8b5e9ce1f9cfba557824
BLAKE2b-256 a371224aeab754a7b80b13877bf422a6653220950aae499d79ae020aabaab085

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.2-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.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c3053331dc14c9b7c2a920bbdefdef2213f1ffc94469c1bb73342bb3c772b894
MD5 dd78128d8d111dc7209fe47243699b8f
BLAKE2b-256 1248adaff1399ee39c01c76daba5febfd8052716ec46d42b10433bf4165e5024

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.2-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.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 710cf90fcd447233b11d91025c99960f4e73f158035b680ab1ce2966a4b99bbc
MD5 5076e6d80c88aa28f753a47af7a3300e
BLAKE2b-256 a0e6306e21d685b9f004baa0bb2e0d5e01247a4afee85bfd84a4e452bef2ece2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.2-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.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e5a96a23c764a1d0105f2ed6a12d0af73ee912c4ddbf99853188ad6a63f0e12b
MD5 d4a3a2759ec4bd510de5ff496147c84d
BLAKE2b-256 344e5a23cfb3e01bbc6b0abc42ae4d6fa66f4e24b5e481807f0c1128fd864f64

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.2-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.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 99a55a7f9a99abc505e717577d30e0e9a7f7174b4664f5336ba78a9bf6b17094
MD5 a08b5b4e344cbab204e927c580039d1e
BLAKE2b-256 fa478e2ec1bafa1e59f5055b1155f719705c33c0c96b46fd0f316722a5c39c3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.2-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.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 72cd90df54e0a9c3d1036d14cdfd0a3a5acd1e5b0466cd276184907b5233911f
MD5 bdbf4b09ceea3cc0b354794bf89a941e
BLAKE2b-256 2493022c91c4380c04ec65279cac69a9d8df208ae9dc1c51b47d1b2eae64c8c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pardiso_mkl_jax-0.1.2-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