Skip to content

Conversation

@andrinr
Copy link
Contributor

@andrinr andrinr commented Sep 17, 2025

Relevant issue or PR

Tesseract need to have an abstract eval defined, even if jax would not require them to.

Description of changes

This PR avoids calls to abstract_eval if it is not defined in the Tesseract API. If a function transformation is applied without the abstract eval, an error is raised.
Furthermore we add a concrete implementation "tesseract_dispatch()" that does not rely on any function transformations.

Testing done

added new tests

@PasteurBot
Copy link
Contributor

PasteurBot commented Sep 17, 2025

CLA signatures confirmed

All contributors have signed the Contributor License Agreement.
Posted by the CLA Assistant Lite bot.

@andrinr
Copy link
Contributor Author

andrinr commented Sep 18, 2025

@PasteurBot I have read the CLA Document and I hereby sign the CLA

@andrinr andrinr marked this pull request as ready for review September 18, 2025 09:47
Copy link
Contributor

@xalelax xalelax left a comment

Choose a reason for hiding this comment

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

Good for now 👍 only minor edits suggested.

@xalelax xalelax changed the title Selective abstract eval feat: Selective abstract eval Sep 18, 2025
@andrinr andrinr requested a review from xalelax September 18, 2025 15:03
@xalelax xalelax merged commit 2864729 into main Sep 18, 2025
10 checks passed
@xalelax xalelax deleted the selective_abstract_eval branch September 18, 2025 15:25
@pasteurlabs pasteurlabs locked and limited conversation to collaborators Sep 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants