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: Decorators for UDF - Part 1 #601

Merged
merged 127 commits into from
Mar 16, 2023
Merged

feat: Decorators for UDF - Part 1 #601

merged 127 commits into from
Mar 16, 2023

Conversation

IshSiva
Copy link
Contributor

@IshSiva IshSiva commented Mar 10, 2023

Adding the feature to create UDFs using Decorators in EVA.
The decorators can be used for enforcing sanity checks on the input arguments.

Once it is fully integrated the create udf command can be like
"""
CREATE UDF IF NOT EXISTS YoloObjectDetector
IMPL eva/udfs/yolo_object_detector.py;
"""

  • Create separate classes for input types
  • Create decorators for the setup and forward functions
  • Create a custom exception class for UDF IO Errors
  • Update parser to suit the new syntax
  • Unit tests for decorators
  • Inputs for UDF decorators should be lists.

Copy link
Member

@gaurav274 gaurav274 left a comment

Choose a reason for hiding this comment

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

Can we get rid of input_format?

@suryatejreddy
Copy link
Collaborator

Can we get rid of input_format?

Done!

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@gaurav274 gaurav274 merged commit d4884d6 into master Mar 16, 2023
@gaurav274 gaurav274 deleted the decorators_1 branch March 16, 2023 15:53
@jarulraj jarulraj mentioned this pull request Apr 3, 2023
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.

3 participants