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

fixing tensorrt-llm enum value (fixes #390) #396

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

ian-scale
Copy link
Collaborator

@ian-scale ian-scale commented Nov 29, 2023

Pull Request Summary

What is this PR changing? Why is this change being made? Any caveats you'd like to highlight? Link any relevant documents, links, or screenshots here if applicable.

This pr fixes a mistake introduced in #390 where I mistakenly used a - instead of a _ for the inference framework. merging the pr and bumping the pypi client will fix pydantic Model.list() issues.

Test Plan and Usage Guide

How did you validate that your PR works correctly? How do you run or demo the code? Provide enough detail so a reviewer can reasonably reproduce the testing procedure. Paste example command line invocations if applicable.

Local deployment of the client installed with pip install -e . and then running Model.list() works without issue.
Screenshot 2023-11-29 at 10 57 36 AM

@ian-scale ian-scale enabled auto-merge (squash) November 29, 2023 19:00
@ian-scale ian-scale changed the title fixing enum value fixing tensorrt-llm enum value (fixes #390) Nov 29, 2023
@ian-scale ian-scale added the bug Something isn't working label Nov 29, 2023
@ian-scale ian-scale merged commit 3adbd59 into main Nov 29, 2023
5 checks passed
@ian-scale ian-scale deleted the ianmacleod/fix_trtllm_bump_pypi branch November 29, 2023 19:12
@yixu34
Copy link
Member

yixu34 commented Nov 29, 2023

Ok now that we've been burned by this, let's please add a test in a follow-up PR: #390 (review)

Maybe we can have a parameterized unit test that loops over the enum values and has fake objects in there? I guess this is partly due to Python's dynamic nature.

@yunfeng-scale yunfeng-scale mentioned this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants