Skip to content

Conversation

@jlogan03
Copy link
Owner

@jlogan03 jlogan03 commented Nov 8, 2025

Fixes #48
Fixes #49

0.8.0 2025-11-08

Support ndarray inputs for python interpn function, require kwargs for most inputs,
and use numpy's internal borrowchecking interface.

Changed

  • Rust
    • Use numpy borrowchecking system in python interface
    • Update deps
  • Python
    • !Require kwargs for most inputs to interpn function
    • Support ndarray inputs and outputs by flattening and reshaping arrays internally
    • Use plotly instead of matplotlib in examples and benchmarks
    • Use PGO for linux builds only, as other platforms will need their own profiles
      • While PGO profiles could be cross-platform portable because they use instrumentation inserted at the
        LLVM IR level, in practice, the function hashes come out different, causing the counts not to be mapped
        correctly
      • Later, we may be able to resolve this by using QEMU to run the PGO builds on each platform or by uploading
        pgo profiles for individual platform runners as build artifacts

jlogan03 added a commit that referenced this pull request Nov 8, 2025
@jlogan03 jlogan03 force-pushed the jlogan/python-tuneup branch from 140685c to 97c9c07 Compare November 8, 2025 20:29
jlogan03 added a commit that referenced this pull request Nov 10, 2025
@jlogan03 jlogan03 force-pushed the jlogan/python-tuneup branch from 3016766 to 1f0b58d Compare November 10, 2025 04:37
@jlogan03 jlogan03 force-pushed the jlogan/python-tuneup branch from a25961f to d53cd5d Compare November 10, 2025 04:54
@jlogan03 jlogan03 merged commit 77b947c into main Nov 10, 2025
11 checks passed
@jlogan03 jlogan03 deleted the jlogan/python-tuneup branch December 31, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API: make (most of) interpn's arguments keyword-only ENH: accept ND arrays as input

2 participants