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

LLMService Creation Changes #1631

Merged

Conversation

shawn-davis
Copy link
Contributor

Description

Adds the ability to instantiate LLM services/clients dynamically, so that models can be swapped out with command line arguments or config files instead of having to refactor pipeline code.
Closes #1630

By Submitting this PR I confirm:

  • I am familiar with the Contributing Guidelines.
  • 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.

@shawn-davis shawn-davis requested a review from a team as a code owner April 16, 2024 22:04
Copy link

copy-pr-bot bot commented Apr 16, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@mdemoret-nv
Copy link
Contributor

/ok to test

Copy link
Contributor

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

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

We need tests to exercise several

morpheus/llm/services/llm_service.py Show resolved Hide resolved
morpheus/llm/services/nemo_llm_service.py Show resolved Hide resolved
morpheus/utils/logger.py Show resolved Hide resolved
morpheus/llm/services/llm_service.py Show resolved Hide resolved
@mdemoret-nv mdemoret-nv changed the base branch from branch-24.06 to fea-agent-morpheus April 22, 2024 22:05
@mdemoret-nv
Copy link
Contributor

Merging to a feature branch to allow additional PRs to be created that fix the tests and documentation

@mdemoret-nv mdemoret-nv merged commit 596f60b into nv-morpheus:fea-agent-morpheus Apr 22, 2024
11 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[FEA]: Update LLMService to allow dynamic instantiation
2 participants