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

Refactor the header file directory and integrate the eager tensor implementation #689

Merged
merged 20 commits into from
Apr 17, 2024

Conversation

wenbingl
Copy link
Member

@wenbingl wenbingl commented Apr 10, 2024

  1. rename includes folder to include (w/o s)
  2. move all custom-op related header file a sub-folder
  3. integrate Cheng's POC of eager mode.
  4. Add the Tokenizer header files to validate the refactored folder structure, implementation will be merged by another PR.
  5. Add a stub unit test for tokenizer api, the implementation will be merged later

@wenbingl wenbingl changed the title refactor the header file in include folder Refactor the header file directory and integrate the eager tensor implementation Apr 16, 2024
souptc
souptc previously approved these changes Apr 16, 2024
}

#define PARSE_INPUT(data_type, onnx_type) \
PARSE_INPUT_BASE(const Custom::Tensor<data_type>*, onnx_type) \
Copy link
Member

Choose a reason for hiding this comment

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

we can use the same tricks like tensor_tuple.inc to make this part more debuggable.

Copy link
Member Author

Choose a reason for hiding this comment

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

do it the later PR.

@wenbingl wenbingl marked this pull request as ready for review April 16, 2024 22:50
@wenbingl wenbingl requested a review from a team as a code owner April 16, 2024 22:50
@wenbingl wenbingl merged commit 6464627 into main Apr 17, 2024
43 checks passed
@wenbingl wenbingl deleted the tokapi branch April 17, 2024 19:58
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.

None yet

2 participants