Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify static argnums during program capture #550

Merged
merged 2 commits into from Feb 26, 2024
Merged

Conversation

dime10
Copy link
Collaborator

@dime10 dime10 commented Feb 26, 2024

The previous implementation verified the argnums during QJIT
construction, which only works if the number of arguments is known
ahead of time.

closes #548

The previous implementation verified the argnums during QJIT
construction, which only works if the number of arguments is known
ahead of time.
@dime10 dime10 added bug Something isn't working frontend Pull requests that update the frontend labels Feb 26, 2024
@dime10 dime10 requested a review from josh146 February 26, 2024 17:20
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.56%. Comparing base (27f6b8e) to head (2d73f70).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #550   +/-   ##
=======================================
  Coverage   99.56%   99.56%           
=======================================
  Files          52       52           
  Lines        8510     8511    +1     
  Branches      568      568           
=======================================
+ Hits         8473     8474    +1     
  Misses         20       20           
  Partials       17       17           

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

Copy link
Member

@josh146 josh146 left a comment

Choose a reason for hiding this comment

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

nice fix 👌

@dime10 dime10 merged commit 2cfa4e1 into main Feb 26, 2024
36 of 45 checks passed
@dime10 dime10 deleted the bugfix-static-argnums branch February 26, 2024 20:18
@dime10 dime10 added this to the v0.5.0 milestone Feb 26, 2024
rauletorresc pushed a commit that referenced this pull request Feb 26, 2024
The previous implementation verified the argnums during QJIT
construction, which only works if the number of arguments is known
ahead of time.

closes #548
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Pull requests that update the frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

static_argnums doesn't work if type signatures are not specified
2 participants