-
Notifications
You must be signed in to change notification settings - Fork 175
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
StaticLLMPipeline: Enable chat test #1117
base: master
Are you sure you want to change the base?
StaticLLMPipeline: Enable chat test #1117
Conversation
Co-authored-by: Vladimir Zlobin <[email protected]>
@pytest.mark.precommit | ||
@pytest.mark.nightly | ||
def test_chat_generation(model_descr): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any idea why did this happen?
|
I don't have a solution to |
questions = [ | ||
'1+1=', | ||
'What is the previous answer?', | ||
'Why is the Sun yellow?', | ||
'What was my first question?' | ||
] | ||
|
||
model_path = get_chat_models_lists()[0][1] | ||
model_path = get_chat_models_list()[0][1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not a model path, it's a model_id
. E.g. from CI error we can see:
model_path = WindowsPath('Qwen2-0.5B-Instruct'), device = 'CPU'
which means model is not even converted by Optimum
In other places, it's used like:
pipe = read_model(get_models_list()[0])[4]
where read model converts model and created pipe on to top it.
So, the question is - have you run tests locally? do they even magically pass?
No description provided.