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.3.tar.gz (104.4 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.3-cp313-cp313-win_amd64.whl (254.7 kB view details)

Uploaded CPython 3.13Windows x86-64

pardiso_mkl_jax-0.1.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (90.7 kB view details)

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

pardiso_mkl_jax-0.1.3-cp312-cp312-win_amd64.whl (255.4 kB view details)

Uploaded CPython 3.12Windows x86-64

pardiso_mkl_jax-0.1.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (91.3 kB view details)

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

pardiso_mkl_jax-0.1.3-cp311-cp311-win_amd64.whl (255.2 kB view details)

Uploaded CPython 3.11Windows x86-64

pardiso_mkl_jax-0.1.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (90.4 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.3.tar.gz.

File metadata

  • Download URL: pardiso_mkl_jax-0.1.3.tar.gz
  • Upload date:
  • Size: 104.4 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.3.tar.gz
Algorithm Hash digest
SHA256 b76752d41e384596d2e4873b5edf50c7bcf1484c9ff3d1a2645b75319ae769e9
MD5 97df87d45bd248663fbe7881629d1036
BLAKE2b-256 277f02b75fc2ee4694e752e10528a2b00300fff22cb54e7b7c0c360d93081646

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6aadbeb7a5d7ad6244d47dfb856673275a82f0fa8f86ffbc57a8536838b562cb
MD5 a010a6e9dac5dd63d9fe9e5628d58fee
BLAKE2b-256 5ebc1555cf3458d6f9c6d67a3f0b2769453619f2303790d6e546762cf306232b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5c42b170d509cc5898f416d40596e07fab977e34bc839f8bb3f87699aaf5984d
MD5 19a9d6701819d986b57a140ea2b54832
BLAKE2b-256 5eb6860f01a97393e654d6a5823c7b80ded04123230aeffa31263c9f49b76e01

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3dc6ee4d05c5d0cb986869e78c9745c56d9905ebfb0637cd8aa9490221c89cf4
MD5 b97e1af29090c6b15833e56129df9575
BLAKE2b-256 0e544bfa6d39a6ed2f8a6a7fc8b5c5e052dd99148ea48ecf419a23cf1451e6f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 100358f0253cf4fc6d32060d4ab9c9cfdba6ebc64e71703301e1c3763973587b
MD5 d05bc3e68ba8acd4a2b74ba12133243c
BLAKE2b-256 42029b1e8ca0af74b0b6d0a1a1eebe7c4ba7c904e88e6ebbe10cd4174dc207e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9f8dfc7d3f8de70e4e61fd5af21954f23cb9efe458dee03373e36adb582781d3
MD5 3312c88665f269ab7f9a5d1e6c448561
BLAKE2b-256 56d739b9f4e229589d62641fd69961d7c477a890bd4a6f7c1eb8f934bcfae161

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pardiso_mkl_jax-0.1.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fcf1640f3a11c9d49ace6f3ee02cadec303e756bb0111a4c5141824e9d89d3c1
MD5 9acc5693dd4ab5ef0430bf1977b04f1b
BLAKE2b-256 f968073bc23a01d49e16e5dccaed5b963033e4d24db94cb4b9057ef775425800

See more details on using hashes here.

Provenance

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