unsloth icon indicating copy to clipboard operation
unsloth copied to clipboard

Notebook to show vLLM inference

Open vjagannath786 opened this issue 1 year ago • 9 comments

It would have been nice if there were some inference examples like vLLM. So that we know how exactly model inferencing is working.

vjagannath786 avatar Jul 10 '24 13:07 vjagannath786

Inference is the same in vllm as any other model, they have examples in their documentation https://docs.vllm.ai/en/latest/getting_started/quickstart.html

AnthonyDipilato avatar Jul 11 '24 16:07 AnthonyDipilato

Yep vLLM has some cool docs - would adding it into an Unsloth notebook be helpful?

danielhanchen avatar Jul 12 '24 06:07 danielhanchen

Yep vLLM has some cool docs - would adding it into an Unsloth notebook be helpful?

Yes, it would be helpful. Actually I was trying to solve classification tasks which would churn out logits and was experimenting with this notebook https://github.com/timothelaborie/text_classification_scripts/blob/main/unsloth_classification.ipynb which wasn't working and I had to do a fast inferencing vLLM. So that is where I am stuck.

Would be glad if some examples are added for vLLM and classification tasks.

vjagannath786 avatar Jul 13 '24 07:07 vjagannath786

Ok will try add some vLLM examples!

danielhanchen avatar Jul 18 '24 07:07 danielhanchen

It would have been nice if there were some inference examples like vLLM. So that we know how exactly model inferencing is working.

title and text don't match. Title says a vLLM example, not an unsloth example. Please keep question and text consistent or it's relaly hard to go through the git issues

brando90 avatar Sep 26 '24 21:09 brando90

Hi @danielhanchen and @rolandtannous,

I am new to Unsloth and looking to contribute. I came across this issue and wanted to check if it’s still open. If so, I’d be happy to take it on. Please let me know if you’re still looking for someone to address it.

Thanks!

RosNayak avatar Oct 01 '25 14:10 RosNayak

Ok will try add some vLLM examples!

@shimmyshimmer , I can add some vllm and classification task examples. Can I take this issue?

ParagGhatage avatar Nov 12 '25 15:11 ParagGhatage

These have already been added if i am not mistaken

checkout the notebooks github repo : https://github.com/unslothai/notebooks

rolandtannous avatar Nov 12 '25 16:11 rolandtannous

@rolandtannous , You are talking about these, right? https://github.com/unslothai/notebooks?tab=readme-ov-file#vision-multimodal-notebooks

ParagGhatage avatar Nov 12 '25 21:11 ParagGhatage