[TAO-0000][Chore] Add experimental decorator to tao-deploy - #31
Open
vpraveen-nv wants to merge 2 commits into
Open
[TAO-0000][Chore] Add experimental decorator to tao-deploy#31vpraveen-nv wants to merge 2 commits into
vpraveen-nv wants to merge 2 commits into
Conversation
Signed-off-by: Varun Praveen <vpraveen@nvidia.com>
Signed-off-by: Varun Praveen <vpraveen@nvidia.com>
|
For security reasons, CI does not run automatically on NVIDIA's runners — it must be triggered per commit.
Tip Should this fix also ship in a release? Add a Important Before merging: every file needs a license header and every commit must be DCO signed-off — see the 📖 Contribution guide for details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are proposed in this pull request?
Adds the
experimentaldecorator tonvidia_tao_deploy/cv/common/decorators.py(alongsidemonitor_status,override,subclass), matching the existing implementation intao-pytorch/nvidia_tao_pytorch/core/decorators/experimental.py.Why are the changes needed?
Parity with tao-pytorch: deploy-side experimental APIs should carry the same yellow-highlighted
UserWarningso users know they are invoking an experimental surface.Related issues
N/A
Does this PR introduce any user-facing change?
Yes — decorated APIs now emit a
UserWarningwhen invoked; no existing behavior changes.How was this patch tested?
Verified the decorator emits the expected warning for both function and class usage, mirroring the tao-pytorch implementation and its existing coverage. No new tests added — the implementation is copied verbatim from the already-tested tao-pytorch version.
Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code
Release note
Checklist
git commit -s) — seeCONTRIBUTING.mdso the package still works without them (reviewers: please verify this)
my commit author name and email become permanently public once merged
Notes for reviewers
Originally targeted
release/7.1.0on GitLab; rebased and retargeted tomainduring the GitHub migration. Adds colorama/termcolor deps — check they're in the deploy container requirements.Migrated from GitLab MR nvidia-tao-toolkit/tao-deploy!209, rebased onto GitHub
main.