Fine-Tuning of 100+ LLMs
3
stars
2
commits
Python
primary language
Sep 8, 2026
updated
OmniTune is a powerful, production-ready framework for fine-tuning, evaluating, and deploying frontier Large Language Models (LLMs) and Multimodal Vision-Language Models (VLMs). 🌐⚡
✨ Key Features • 📦 Quick Installation • 🖥️ Web UI (OmniTune-Board) • ⚡ CLI Quickstart • 🧠 Supported Architectures • 📚 Documentation
git clone https://github.com/ishandutta2007/OmniTune.git
cd OmniTune
pip install -e ".[torch,metrics]"
# FlashAttention-2
pip install flash-attn --no-build-isolation
# DeepSpeed acceleration
pip install deepspeed
# High-throughput vLLM engine
pip install vllm
Launch the zero-code browser dashboard: 🚀
omnitune webui
Or use the short command:
ot webui
Access the interface in your browser at http://localhost:7860. From the web dashboard, you can:
OmniTune provides both single-line execution commands and clean YAML config-based execution. 💻
Run from a configuration file:
omnitune train examples/train_lora/llama3_lora_sft.yaml
Or via direct command-line arguments:
omnitune train \
--stage sft \
--do_train \
--model_name_or_path meta-llama/Meta-Llama-3-8B-Instruct \
--dataset alpaca_en_demo \
--dataset_dir data \
--template llama3 \
--finetuning_type lora \
--lora_target all \
--output_dir saves/llama3-8b/lora/sft \
--overwrite_output_dir \
--cutoff_len 2048 \
--learning_rate 1e-4 \
--num_train_epochs 3.0 \
--per_device_train_batch_size 2 \
--gradient_accumulation_steps 8 \
--lr_scheduler_type cosine \
--logging_steps 10 \
--save_steps 100 \
--warmup_ratio 0.1 \
--fp16
omnitune train \
--stage dpo \
--do_train \
--model_name_or_path meta-llama/Meta-Llama-3-8B-Instruct \
--adapter_name_or_path saves/llama3-8b/lora/sft \
--dataset dpo_en_demo \
--dataset_dir data \
--template llama3 \
--finetuning_type lora \
--output_dir saves/llama3-8b/lora/dpo \
--cutoff_len 2048 \
--learning_rate 5e-6 \
--num_train_epochs 2.0 \
--dpo_beta 0.1 \
--fp16
omnitune chat \
--model_name_or_path meta-llama/Meta-Llama-3-8B-Instruct \
--adapter_name_or_path saves/llama3-8b/lora/sft \
--template llama3
Deploy a production REST API compatible with the OpenAI specification:
omnitune api \
--model_name_or_path meta-llama/Meta-Llama-3-8B-Instruct \
--adapter_name_or_path saves/llama3-8b/lora/sft \
--template llama3 \
--api_port 8000
Export standalone model weights for fast inference engines (vLLM, Ollama, TensorRT-LLM):
omnitune export \
--model_name_or_path meta-llama/Meta-Llama-3-8B-Instruct \
--adapter_name_or_path saves/llama3-8b/lora/sft \
--template llama3 \
--export_dir saves/llama3-8b-merged \
--export_size 4 \
--export_device cpu
| Architecture | Model Providers / Variants |
|---|---|
| LLaMA 🦙 | LLaMA, LLaMA 2, LLaMA 3, LLaMA 3.1, LLaMA 3.2, LLaMA 3.3 |
| Qwen 🌐 | Qwen, Qwen 1.5, Qwen 2, Qwen 2.5, Qwen2-VL, Qwen2.5-Coder |
| DeepSeek 🐳 | DeepSeek-LLM, DeepSeek-Coder, DeepSeek-V2, DeepSeek-V3, DeepSeek-R1 |
| Mistral / Mixtral 🌪️ | Mistral 7B, Mixtral 8x7B, Mixtral 8x22B, Mistral Nemo |
| Gemma 💎 | Gemma 2B/7B, Gemma 2 2B/9B/27B |
| Phi 🔬 | Phi-1.5, Phi-2, Phi-3, Phi-3.5, Phi-4 |
| InternLM 💡 | InternLM, InternLM 2, InternLM 2.5, InternVL, InternVL 2 |
| Others 🧩 | Baichuan, ChatGLM, Falcon, Granite, Orion, TeleChat, Yi, XVERSE |
This repository is licensed under the Apache 2.0 License. 📜
2 commits
Python
99.7%
Fine-Tuning of 100+ LLMs
3
stars
2
commits
Python
primary language
Sep 8, 2026
updated
OmniTune is a powerful, production-ready framework for fine-tuning, evaluating, and deploying frontier Large Language Models (LLMs) and Multimodal Vision-Language Models (VLMs). 🌐⚡
✨ Key Features • 📦 Quick Installation • 🖥️ Web UI (OmniTune-Board) • ⚡ CLI Quickstart • 🧠 Supported Architectures • 📚 Documentation
git clone https://github.com/ishandutta2007/OmniTune.git
cd OmniTune
pip install -e ".[torch,metrics]"
# FlashAttention-2
pip install flash-attn --no-build-isolation
# DeepSpeed acceleration
pip install deepspeed
# High-throughput vLLM engine
pip install vllm
Launch the zero-code browser dashboard: 🚀
omnitune webui
Or use the short command:
ot webui
Access the interface in your browser at http://localhost:7860. From the web dashboard, you can:
OmniTune provides both single-line execution commands and clean YAML config-based execution. 💻
Run from a configuration file:
omnitune train examples/train_lora/llama3_lora_sft.yaml
Or via direct command-line arguments:
omnitune train \
--stage sft \
--do_train \
--model_name_or_path meta-llama/Meta-Llama-3-8B-Instruct \
--dataset alpaca_en_demo \
--dataset_dir data \
--template llama3 \
--finetuning_type lora \
--lora_target all \
--output_dir saves/llama3-8b/lora/sft \
--overwrite_output_dir \
--cutoff_len 2048 \
--learning_rate 1e-4 \
--num_train_epochs 3.0 \
--per_device_train_batch_size 2 \
--gradient_accumulation_steps 8 \
--lr_scheduler_type cosine \
--logging_steps 10 \
--save_steps 100 \
--warmup_ratio 0.1 \
--fp16
omnitune train \
--stage dpo \
--do_train \
--model_name_or_path meta-llama/Meta-Llama-3-8B-Instruct \
--adapter_name_or_path saves/llama3-8b/lora/sft \
--dataset dpo_en_demo \
--dataset_dir data \
--template llama3 \
--finetuning_type lora \
--output_dir saves/llama3-8b/lora/dpo \
--cutoff_len 2048 \
--learning_rate 5e-6 \
--num_train_epochs 2.0 \
--dpo_beta 0.1 \
--fp16
omnitune chat \
--model_name_or_path meta-llama/Meta-Llama-3-8B-Instruct \
--adapter_name_or_path saves/llama3-8b/lora/sft \
--template llama3
Deploy a production REST API compatible with the OpenAI specification:
omnitune api \
--model_name_or_path meta-llama/Meta-Llama-3-8B-Instruct \
--adapter_name_or_path saves/llama3-8b/lora/sft \
--template llama3 \
--api_port 8000
Export standalone model weights for fast inference engines (vLLM, Ollama, TensorRT-LLM):
omnitune export \
--model_name_or_path meta-llama/Meta-Llama-3-8B-Instruct \
--adapter_name_or_path saves/llama3-8b/lora/sft \
--template llama3 \
--export_dir saves/llama3-8b-merged \
--export_size 4 \
--export_device cpu
| Architecture | Model Providers / Variants |
|---|---|
| LLaMA 🦙 | LLaMA, LLaMA 2, LLaMA 3, LLaMA 3.1, LLaMA 3.2, LLaMA 3.3 |
| Qwen 🌐 | Qwen, Qwen 1.5, Qwen 2, Qwen 2.5, Qwen2-VL, Qwen2.5-Coder |
| DeepSeek 🐳 | DeepSeek-LLM, DeepSeek-Coder, DeepSeek-V2, DeepSeek-V3, DeepSeek-R1 |
| Mistral / Mixtral 🌪️ | Mistral 7B, Mixtral 8x7B, Mixtral 8x22B, Mistral Nemo |
| Gemma 💎 | Gemma 2B/7B, Gemma 2 2B/9B/27B |
| Phi 🔬 | Phi-1.5, Phi-2, Phi-3, Phi-3.5, Phi-4 |
| InternLM 💡 | InternLM, InternLM 2, InternLM 2.5, InternVL, InternVL 2 |
| Others 🧩 | Baichuan, ChatGLM, Falcon, Granite, Orion, TeleChat, Yi, XVERSE |
This repository is licensed under the Apache 2.0 License. 📜
2 commits
Python
99.7%