TrelisResearch/one-click-llms
概要
One click templates for inferencing Language Models
AI・機械学習計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- +1
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルone-click-llms
[!TIP] NEW! Kokoro Voice server now supported. OpenAI OSS models supported! DeepSeek v3 0324 is supported, as is Qwen3. So is Orpheus TTS!
[!TIP] Post a new issue if you would like other templates. Quickly boot up an API endpoint for a given language, vision or speech/transcription model.
Built by Trelis Research YouTube, Newsletter, Inferencing Scripts
Runpod One-Click Templates
[!TIP] To support the Trelis Research YouTube channel, you can sign up for an account with this link to avail of a sign-up bonus. Trelis is then also supported by a commission when you use one-click templates.
GPU Choices/Recommendations (last updated Oct 15 2024):
- VALUE and best UI: A40 on Runpod (48 GB VRAM) ~$0.39/hr.
- Higher Speed: H100 PCI or SXM (80 GB VRAM) - best for fp8 models, but expensive.
Fine-tuning Notebook Setup
- CUDA 12.1 one-click template, w/ Jupyter Lab Web Terminal here - allows you to run Jupyter Lab inside runpod by default.
- CUDA 12.1 one-click template, w/ VSCode Web Terminal here - allows you to run VSCode in a web terminal (supporting Jupyter Lab, useful if you have issues with widgets within the template above).
Note that you can access pods from either template via SSH, there is no difference there.
Inference Engines
- [Transcription] Faster Whisper Server (Transcription only)
- [LLMs] SGLang is the fastest across all batch sizes.
- [LLMs and Multi-modal LLMs] vLLM and TGI are close on speed for small batches.
- [Multi-modal LLM] Moondream API (tiny vision + text language model).
- [LLMs] Nvidia NIM (paid service from Nvidia): a bit slower than SGLang. Also inconvenient to use as it requires login.
Voice
SGLang (from lmsys)
- Qwen 3: 235B-A22B FP8 - currently stalling on startup, 32B dense FP8, 30B-A3B FP8. Tested on 8xH100SXM (currently stalling, issue here), 1xH100SXM and 1xH100SXM, respectively. Use chat/completions. Reasoning tokens are returned separately. Note that the 30B-A3B is a little worse on performance than the 32B dense, but about 2-3x faster on inference.
- Gemma 3 it 27B FP-8
- Llama 4 Scout, 4xA100 or 4xH100/200 - takes about 15 mins to start, Maverick, 8xH100 or 8xH200 - not working yet with docker image
- DeepSeek R1 Distill Qwen: 32B, 1.5B
- Deepseek V2 Lite Chat
- Deepseek R1 FP8 - Nvidia (single node 8xH200), (dual node 2x8xH100)
- Deepseek R1 FP8 - ROCM/AMD - Takes ~1-1.5 hours to download + load shards onto 8X MI300X.
- Llama 3.1 Instruct 8B FP8 - ROCM/AMD
- Qwen 2.5 Coder 32B
- Llama 3.1 Instruct 8B FP8, Llama 3.1 Instruct 70B FP8, Llama 3.1 Instruct 70B INT4, Llama 3.1 Instruct 405B FP8, Llama 3.1 Instruct 405B INT4
vLLM (requires an A100 or H100 or A6000, i.e. ampere architecture):
- OpenAI OSS Models: 120B, 20B - run on a single H100 SXM.
- Orpheus TTS
- DeepSeek v3 0324: FP8
- Gemma 3: 27B it (bf16)
- Qwen 3: 235B-A22B FP8, 32B dense FP8, 30B-A3B FP8. Tested on 8xH100SXM, 1xH100SXM and 1xH100SXM, respectively. Use chat/completions. Reasoning tokens are returned separately. Note that the 30B-A3B is a little worse on performance than the 32B dense, but about 2-3x faster on inference.
- Qwen2.5 VL - PENDING SUPPORT
- Llama 3.1 8B multi-lora server
- Llama 3.3 70B in fp8.
- Phi 4: fp8 - Runs at ~32 toks on an A40. bf16 Runs at ~17 toks on an A40.
- Qwen 2 Audio 7B
- Qwen 2 VL 2B, Qwen 2 VL 7B, Qwen 2 VL 70B
- Llama 3.2 Vision
- Pixtral
- Llama 3.1 Instruct 8B, Llama 3.1 Instruct 70B, Llama 3.1 Instruct FP8 405B, Llama 3.1 Instruct INT4 405B
- Phi 3 Mini, Phi 3 Small, Phi 3 Medium
- Mistral Nemo Instruct (fp8)
- Llama 3 8B Instruct
- Llama 3 70B Instruct
- Mistral Instruct 7B AWQ
- Mixtral Instruct 8x7B AWQ
- Qwen1.5 Chat 72B AWQ. Needs to be run on an A100 or H100. The 48 GB of VRAM on an A6000 is insufficient.
- CodeLlama 70B Instruct - 4bit AWQ. Requires an A6000 or A100 or H100.
[!IMPORTANT] Note: vLLM runs into issues sometimes if the pod template does not have the correct CUDA drivers. Unfortunately there is no way to know when picking a GPU. An issue has been raised here. As an alternative, you can run TGI (and even query in openai style, guide here). TGI is faster than vLLM and recommended in general. Note however, that TGI does not automatically apply the chat template to the prompt when using the OpenAI style endpoint.
Text Generation Inference:
- Llama 3.1 8B
- IDEFICS 2 8B multi-modal
- Llama 3 - 8B Instruct
- Llama 3 - 70B Instruct
- OpenChat 3.5 7B AWQ API - RECOMMENDED, OpenChat 3.5 7B bf16 - TGI API - lowest perplexity
- Mixtral Instruct API 4bit AWQ - RECOMMENDED, Mixtral Instruct API 8bit eetq, pod needs to be restarted multiple times to download all weights. Requires an A6000 or A100 or H100.
- Zephyr 141B - a Mixtral 8x22B fine-tune
- DRBX Instruct
- Smaug 34B Chat (a Yi fine-tune) - fits in bf16 on an A100. BEWARE that guardrails are weaker on this model than Yi. As such, it may be best suited for structured generation
- TowerInstruct 13B (multi-lingual Llama 2 fine-tune) - needs ~30 GB to run in bf16 (fits on an A6000). Add
--quantize eetqto run with under 15 GB of VRAM (e.g. A6000). - Yi 34B Chat - fits in 16-bit on an A100
- Gemma Chat 9B.
- Notux 8x7B AWQ. Requires an A6000 or A100 or H100.
- CodeLlama 70B Instruct - 4bit AWQ, CodeLlama 70B Instruct - 4bit bitsandbytes. Requires an A6000 or A100 or H100.
- Mamba Instruct OpenHermes
- [Llama 70B API by TrelisResearch - DEPRECATED - USE LLAMA 3.1 TEMPLATES].
- Deepseek Coder 33B Template.
- Medusa Vicuna (high speed speculative decoding - mostly a glamour template because OpenChat with AWQ is better quality and faster)
llama.cpp One-click templates:
- Llama 3.1 8B - 4_K_M
- Mistral Nemo Instruct - pending llama cpp support
- Mistral 7B Instruct v0.2 8-bit
Nvidia NIM
MoonDream Multi-modal API (openai-ish)
HuggingFace Speech-to-Speech
[!TIP] As of July 23rd 2024, function calling fine-tuned models are being deprecated in favour of a one-shot approach with stronger models. Find the "Tool Use" video on the Trelis YouTube Channel for more info.
Changelog
15Oct2024:
- Add whisper turbo endpoint
- Deprecate Vast.AI templates.
20Jul2023:
- Update the ./llama-server.sh command in line with breaking changes to llama.cpp
Feb 16 2023:
- Added a Mamba one click template.
Jan 21 2023:
- Swapped Runpod to before Vast.AI as user experience is much better with Runpod.
Jan 9 2023:
- Added Mixtral Instruct AWQ TGI
Dec 30 2023:
- Support gated models by adding HUGGING_FACE_HUB_TOKEN env variable.
- Speed up downloading using HuggingFace API.
Dec 29 2023:
- Add in one-click llama.cpp server template.
Vast AI One-Click Templates (DEPRECATED AS OF OCTOBER 15TH 2024).
[!TIP] To support the Trelis Research YouTube channel, you can sign up for an account with this affiliate link. Trelis is supported by a commission when you use one-click templates.
Fine-tuning Notebook Setup
- CUDA 12.1 one-click template here.
Text Generation Inference (fastest):
vLLM (requires an A100 or H100 or A6000, i.e. ampere architecture):
- Mistral 7B v0.2 AWQ
- Post a new issue if you would like other templates
llama.cpp One-click templates:
Function-calling One-Click Templates
One-click templates for function-calling are located on the HuggingFace model cards. Check out the collection here.
HuggingFace Speech-to-Speech
関連プロジェクトを探す
読み込み中…