HackerTrans
TopNewTrendsCommentsPastAskShowJobs

zhwu

no profile record

Submissions

VRAM Ghost Busting: Who You Gonna Close()?

hcompany.ai
4 points·by zhwu·20 days ago·0 comments

[untitled]

1 points·by zhwu·7 months ago·0 comments

[untitled]

1 points·by zhwu·9 months ago·0 comments

[untitled]

1 points·by zhwu·10 months ago·0 comments

[untitled]

1 points·by zhwu·11 months ago·0 comments

[untitled]

1 points·by zhwu·12 months ago·0 comments

[untitled]

1 points·by zhwu·12 months ago·0 comments

A collection of reproducible LLM inference engine benchmarks: SGLang vs. vLLM

github.com
1 points·by zhwu·last year·0 comments

[untitled]

1 points·by zhwu·last year·0 comments

[untitled]

1 points·by zhwu·last year·0 comments

Efficient GPU Resource Management for ML Workloads Using SkyPilot, Kueue on GKE

github.com
2 points·by zhwu·last year·0 comments

[untitled]

1 points·by zhwu·last year·0 comments

[untitled]

1 points·by zhwu·2 years ago·0 comments

[untitled]

1 points·by zhwu·2 years ago·0 comments

[untitled]

1 points·by zhwu·2 years ago·0 comments

[untitled]

1 points·by zhwu·3 years ago·0 comments

New Recipe: Serving Llama-2 with VLLM's OpenAI-Compatible API Server

github.com
1 points·by zhwu·3 years ago·0 comments

Train Your Own Vicuna on Llama-2

github.com
3 points·by zhwu·3 years ago·0 comments

Guide on fine-tuning your own Vicuna on Llama-2

twitter.com
9 points·by zhwu·3 years ago·0 comments

Serving LLM 24x Faster on the Cloud with VLLM and SkyPilot

blog.skypilot.co
12 points·by zhwu·3 years ago·1 comments

comments

zhwu
·4 months ago·discuss
The most surprising part: the agent had access to both H100s and H200s. Without being told, it noticed H200s scored better and started screening ideas on H100s, then promoting winners to H200s for validation. That strategy emerged entirely on its own.
zhwu
·last year·discuss
Cloud services, such as autoscaling EKS or AWS Batch are mostly limited by the GPU availability in a single region. That limits the scalability of jobs that can run distributedly in a large scale.

AI batch inference is one of the examples, and this post found that by going beyond a single region, it is possible to speed up the important embedding generation workload by 9x, because of the available GPUs in the "forgotten" regions.

This can significantly increase the iteration speed for building applications, such as RAG, and AI search. We share our experience for launching a large amount of batch inference jobs across the globe with the OSS project SkyPilot.

TL;DR: it speeds up the embedding generation on Amazon review dataset with 30M items by 9x and reduces the cost by 61%.
zhwu
·last year·discuss
This recent blog actually looks into the case with multiple writers and the distribution for the time for a writer to take the lock: https://blog.skypilot.co/abusing-sqlite-to-handle-concurrenc...
zhwu
·2 years ago·discuss
Dealing with all the Kubernetes pod configs / deployments is too much for an AI engineer. Being able to focus on the real model work would be super important.
zhwu
·3 years ago·discuss
The finetuning can tailor the model to have more customized knowledge, just like the identity knowledge of itself shown in the blog post. If you ask the original llama model, it should know nothing about SkyPilot or Vicuña, as it is trained on old knowledge from the internet.

However, finetuning still cannot get rid of the hallucination problem that all the chatbot suffers from. It depends on how accurate you expect the chatbot should be. The retrieval might be considered more accurate, as it will not make up solutions, but just return irrelevant answer in the worst case.
zhwu
·3 years ago·discuss
Great reference!

Just want to add about hosting your own LLM vs using ChatGPT. Cost is definitely a thing to consider, but it also depends on whether it is ok to share the requests to your product with OpenAI.

Also, something you cannot do with ChatGPT is to custom it with your own data, such as internal documents, etc. As shown in the blog, the model trained by ourselves can easily know its identity.
zhwu
·3 years ago·discuss
It is the underlying operational guide of the latest release of Vicuna-1.5: https://twitter.com/lmsysorg/status/1686794639469371393
zhwu
·3 years ago·discuss
This is cool! The Llama 2-70B can be hosted in my own cloud environment.
zhwu
·3 years ago·discuss
It seems training the Vicuna on custom dataset could be quite easy as well, according to the following: https://github.com/skypilot-org/skypilot/tree/master/llm/vic...
zhwu
·3 years ago·discuss
Very interesting! Quite surprised to see PaLM-2 ranked even lower than open-sourced Vicuna.
zhwu
·3 years ago·discuss
SkyPilot is actually the tool that helps you find the resources on any cloud, including AWS, GCP, Azure, IBM (comming soon) or even Lambda Clouds. It can automatically search for the spot instances across all the regions and clouds, based on the availability and prices.
zhwu
·3 years ago·discuss
You need to use the transformers from the main branch instead of the pypi version, because the llama support is recently added. According to the readme of the repo, you need to install transformers with: pip3 install git+https://github.com/huggingface/transformers
zhwu
·3 years ago·discuss
Wow, that is very interesting. Would you mind sharing the prompt you used to query the model?
zhwu
·3 years ago·discuss
Yes, you need to convert the original LLaMA model to the huggingface format, according to https://github.com/lm-sys/FastChat#vicuna-weights and https://huggingface.co/docs/transformers/main/model_doc/llam...
zhwu
·3 years ago·discuss
If you follow this command in their instruction, the delta will be automatically downloaded and applied to the base model. https://github.com/lm-sys/FastChat#vicuna-13b: `python3 -m fastchat.model.apply_delta --base /path/to/llama-13b --target /output/path/to/vicuna-13b --delta lmsys/vicuna-13b-delta-v0`
zhwu
·3 years ago·discuss
It is mainly because of the legal issues caused by the license of llama model weights. We need to figure it out with Meta's llama team before releasing.
zhwu
·3 years ago·discuss
They even have a eval page showing that they beat Bard by only training on ShareGPT. https://vicuna.lmsys.org/eval/