Integrating Husky for Pre-Commit Hooks & Exploring Language Bindings #967
kanhaiya-dct
started this conversation in
Ideas
Replies: 2 comments 11 replies
|
Yeah, so it looks like there's actually two threads here. The first one is that we definitely need to have a pre-commit hook to help the community do the basic sanity check before submitting their PR. This is an immediate actionable item, and I will create an issue to get this addressed soon. |
5 replies
|
And for language binding, I think this is also a very interesting direction. One of the benefits that TRT and Model-Connect provides is that we can provide embedded inference in other applications. Are there any recommendations or other repos that has such interesting cases? Any pointer will be appriciated |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello team! 👋
Following up on the recent PR feedback regarding premerge CI checks and high-level architectural improvements, I wanted to open this discussion to align on two potential enhancements for the project's roadmap:
1. Using Husky (or
pre-commit) for Local Developer WorkflowsCurrently, developers might push code that fails the
premerge/requiredchecks (e.g., formatting issues withclang-formator failing unit tests). Catching these errors in the CI pipeline wastes time and resources.Proposal:
We can integrate Husky (or the Python-based
pre-commitframework) to run these checks locally before a commit is even created.Benefits:
clang-formatorruff(for Python) runs automatically ongit commit, ensuring no bad formatting makes it to the PR.2. Exploring New Language Bindings at Runtime
As mentioned in the previous PR, there is an opportunity to expand the ecosystem of TensorRT-Model-Connect. While the core is written in highly optimized C++ with Python bindings, creating runtime bindings for other popular languages could be highly beneficial.
Potential Languages:
Benefits to the Community:
I would love to hear the maintainers' and the community's thoughts on this! Are there specific languages you feel we should prioritize? And would
pre-commit(Python) orHusky(JS) fit better into the current repository structure for git hooks?Looking forward to the discussion!
All reactions