Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

fermix

Latest version: v0.1.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: ChenAo-Phys
1 Stars
0 Forks
1 Versions
360 Downloads
Python Repo language

Scan summary

fermix was last scanned on 29 Nov 2026 at version 0.1.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 29 Nov 2026.
  • Findings: No rules fired in version 0.1.1.
  • Downloads: 360 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.1 LATEST 29 Nov 2026 No rules fired

No rules fired in 0.1.1

Findings

Findings for v0.1.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Fermix supports slogdet / slogpf / det / pf for float32, float64, complex64, and complex128 matrices on NVIDIA GPUs, written in JAX with Pallas (Triton) kernels. The codes are generated by Claude Code.

Designed for quantum Monte Carlo in fermionic systems: a large batch of moderate-size matrices (n ~ 32-8192), forward and backward.

Install

Requires jax >= 0.7.1; the float64 / complex128 kernels need jax >= 0.9.2.

pip install fermix

Usage

import jax, jax.numpy as jnp
from fermix import slogdet, slogpf, det, pf

A = jax.random.normal(jax.random.key(0), (4096, 128, 128), jnp.float32)
sign, logabs = slogdet(A) # like jnp.linalg.slogdet, but faster
S = A - jnp.swapaxes(A, -1, -2)
sign, logabs = slogpf(S) # Pfaffian of the skew-symmetric batch

Simply replace slogdet / slogpf / det / pf in your program by the functions in fermix.

All functions accept any leading batch dimensions, any matrix size, the four dtypes float32 / float64 / complex64 / complex128 (the 64-bit ones need jax_enable_x64), and are jit/vmap/grad/jvp compatible. Conventions follow jnp.linalg.slogdet.

Performance

Forward time per matrix on one H200 GPU against jnp.linalg.slogdet and a naive batched Parlett–Reid slogpf written in jax.numpy (the generic fallback path). The time costs of det and pf are similar.

slogdet forward time and speedup over jnp.linalg.slogdet, H200

slogpf forward time and speedup over the naive jax.numpy path, H200

Notes and limits

  • Without a CUDA GPU (or for float64 / complex128 with jax < 0.9.2) the call emits a FermixFallbackWarning and runs a much slower generic jax.numpy path; dtypes other than the four supported ones raise TypeError.
  • Launch parameters are tuned per GPU architecture and dtype (fermix._common.TUNES); only the A100-80GB and the H200 have measured tables, other GPUs use the closest one.
  • prec selects the block-GEMM algorithm: "tf32x3" (default, tensor cores at fp32-level accuracy) or "ieee" (exact fp32, ~5 % slower); the 64-bit dtypes always run IEEE fp64.
  • Complex matrices are stored as separate real and imaginary arrays (Triton has no complex type), so they move twice the bytes and do four real products per complex one.
  • Memory: two (B, n, n) work buffers for the forward and about five more for the gradient.
  • Compile time is a few seconds per shape and dtype up to n ~ 1024 and tens of seconds to minutes for n in the thousands; JAX's persistent compilation cache (jax_compilation_cache_dir) makes it a one-off.
  • det and pf overflow the 32-bit dtypes for large or badly scaled matrices, and so do their gradients; use slogdet and slogpf there.
  • Singular inputs are safe: the forward gives (0, −inf) and the gradients stay finite, never NaN.

Citation

@software{fermix,
  author  = {Chen, Ao},
  title   = {{fermix}: Fast batched determinants and Pfaffians in {JAX}},
  year    = {2026},
  version = {0.1.1},
  url     = {https://github.com/ChenAo-Phys/fermix}
}

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases fermix

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229