Skip to content

Remove import-AOT compilation#249

Open
scarrazza wants to merge 2 commits intoremovecupyfrom
removeaot
Open

Remove import-AOT compilation#249
scarrazza wants to merge 2 commits intoremovecupyfrom
removeaot

Conversation

@scarrazza
Copy link
Member

@scarrazza scarrazza commented Mar 11, 2026

Fixes #246 by removing import-AOT compilation. Tests are faster and dry run of a QFT improves from 2' (main) to 5''.

@codecov
Copy link

codecov bot commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (dee7842) to head (73fa3e7).

Additional details and impacted files
@@             Coverage Diff              @@
##           removecupy      #249   +/-   ##
============================================
  Coverage      100.00%   100.00%           
============================================
  Files               7         7           
  Lines             669       669           
============================================
  Hits              669       669           
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

# this might be jittable if we passed the shape
# dim = (2,) * 2 * nqubits as inputs
@njit
@njit(cache=True)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BrunoLiegiBastonLiegi any motivation do avoid caching this in your original implementation?

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.

Numba first time compilation takes too long

1 participant