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

[FEA]: Make logits a constructor argument to TritonInferenceStage #1378

Closed
2 tasks done
dagardner-nv opened this issue Nov 21, 2023 · 0 comments · Fixed by #1402
Closed
2 tasks done

[FEA]: Make logits a constructor argument to TritonInferenceStage #1378

dagardner-nv opened this issue Nov 21, 2023 · 0 comments · Fixed by #1402
Assignees
Labels
feature request New feature or request

Comments

@dagardner-nv
Copy link
Contributor

Is this a new feature, an improvement, or a change to existing functionality?

Change

How would you describe the priority of this feature request

Low (would be nice)

Please provide a clear description of problem this feature solves

Currently this functionality is hard-coded to the NLP pipeline.

Describe your ideal solution

For backwards compatibility, we can make this argument default to True for TritonInferenceNLP, and False for the other subclasses.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I have searched the open feature requests and have found no duplicates for this feature request
@dagardner-nv dagardner-nv added the feature request New feature or request label Nov 21, 2023
@dagardner-nv dagardner-nv self-assigned this Dec 1, 2023
@dagardner-nv dagardner-nv moved this from Todo to In Progress in Morpheus Boards Dec 1, 2023
@jarmak-nv jarmak-nv moved this from In Progress to Review - Ready for Review in Morpheus Boards Dec 1, 2023
@jarmak-nv jarmak-nv moved this from Review - Ready for Review to In Progress in Morpheus Boards Dec 1, 2023
@jarmak-nv jarmak-nv moved this from In Progress to Review - Ready for Review in Morpheus Boards Dec 1, 2023
@jarmak-nv jarmak-nv moved this from Review - Ready for Review to In Progress in Morpheus Boards Dec 11, 2023
@jarmak-nv jarmak-nv moved this from In Progress to Review - Ready for Review in Morpheus Boards Dec 11, 2023
@rapids-bot rapids-bot bot closed this as completed in #1402 Jan 8, 2024
rapids-bot bot pushed a commit that referenced this issue Jan 8, 2024
* Add `needs_logits` & `inout_mapping` a constructor arguments to `TritonInferenceStage`.
* Consolidate triton inference worker impls into a single `TritonInferenceWorker` class
* For compatibility the `needs_logits` & `inout_mapping`  arguments default to default values inferred by the pipeline mode.
* Refactor custom triton inference stage from `examples/log_parsing` example as a subclass of `TritonInferenceStage` removing several lines of redundant code.
* `examples/log_parsing` example now works in C++ mode
* Add the ability to subclass a stage registered with the CLI, and register the sublcass with a new CLI name.
* Add the ability to parse dictionary types with click.
* Remove `inf-triton` from the AE mode in the CLI
* Misc linting/formatting pylint suggestions

Closes #1378

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md).
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - David Gardner (https://github.com/dagardner-nv)

Approvers:
  - Devin Robison (https://github.com/drobison00)
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: #1402
@github-project-automation github-project-automation bot moved this from Review - Ready for Review to Done in Morpheus Boards Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant