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

feat: Range type support #167

Merged
merged 4 commits into from
Jan 23, 2025

Conversation

norhan-synnada
Copy link
Collaborator

Description

Closes #159

range type inputs can be provided to the corresponding models.

What is Changed

  • Handling of range type objects added.
  • Tensor objects unfold range objects into lists.

Checklist:

  • Tests that cover the code added.
  • Corresponding changes documented.
  • All tests passed.
  • The code linted and styled (pre-commit run --all-files has passed).

Copy link

codecov bot commented Jan 23, 2025

Codecov Report

Attention: Patch coverage is 97.95918% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.80%. Comparing base (06f9445) to head (9f99b3d).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
mithril/framework/common.py 97.43% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main     #167      +/-   ##
==========================================
- Coverage   89.05%   88.80%   -0.26%     
==========================================
  Files          61       61              
  Lines       15754    15931     +177     
==========================================
+ Hits        14030    14147     +117     
- Misses       1724     1784      +60     
Files with missing lines Coverage Δ
mithril/framework/constraints.py 94.52% <100.00%> (+0.05%) ⬆️
mithril/framework/utils.py 91.10% <100.00%> (+0.11%) ⬆️
mithril/framework/common.py 96.68% <97.43%> (-0.09%) ⬇️

... and 28 files with indirect coverage changes

@kberat-synnada kberat-synnada merged commit 492eb34 into synnada-ai:main Jan 23, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Support for range type values for tensor types in logical model
3 participants