Instructions to use vidfom/Ltx-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use vidfom/Ltx-3 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="vidfom/Ltx-3", filename="ComfyUI/models/text_encoders/gemma-3-12b-it-qat-UD-Q4_K_XL.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use vidfom/Ltx-3 with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf vidfom/Ltx-3:UD-Q4_K_XL # Run inference directly in the terminal: llama-cli -hf vidfom/Ltx-3:UD-Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf vidfom/Ltx-3:UD-Q4_K_XL # Run inference directly in the terminal: llama-cli -hf vidfom/Ltx-3:UD-Q4_K_XL
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf vidfom/Ltx-3:UD-Q4_K_XL # Run inference directly in the terminal: ./llama-cli -hf vidfom/Ltx-3:UD-Q4_K_XL
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf vidfom/Ltx-3:UD-Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama-cli -hf vidfom/Ltx-3:UD-Q4_K_XL
Use Docker
docker model run hf.co/vidfom/Ltx-3:UD-Q4_K_XL
- LM Studio
- Jan
- Ollama
How to use vidfom/Ltx-3 with Ollama:
ollama run hf.co/vidfom/Ltx-3:UD-Q4_K_XL
- Unsloth Studio new
How to use vidfom/Ltx-3 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for vidfom/Ltx-3 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for vidfom/Ltx-3 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for vidfom/Ltx-3 to start chatting
- Docker Model Runner
How to use vidfom/Ltx-3 with Docker Model Runner:
docker model run hf.co/vidfom/Ltx-3:UD-Q4_K_XL
- Lemonade
How to use vidfom/Ltx-3 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull vidfom/Ltx-3:UD-Q4_K_XL
Run and chat with the model
lemonade run user.Ltx-3-UD-Q4_K_XL
List all available models
lemonade list
| @charset "UTF-8"; | |
| .rgthree-dialog { | |
| outline: 0; | |
| border: 0; | |
| border-radius: 6px; | |
| background: #414141; | |
| color: #fff; | |
| box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.05), inset -1px -1px 0px rgba(0, 0, 0, 0.5), 2px 2px 20px rgb(0, 0, 0); | |
| max-width: 800px; | |
| box-sizing: border-box; | |
| font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; | |
| font-size: 1rem; | |
| padding: 0; | |
| max-height: calc(100% - 32px); | |
| } | |
| .rgthree-dialog *, .rgthree-dialog *::before, .rgthree-dialog *::after { | |
| box-sizing: inherit; | |
| } | |
| .rgthree-dialog-container > * { | |
| padding: 8px 16px; | |
| } | |
| .rgthree-dialog-container > *:first-child { | |
| padding-top: 16px; | |
| } | |
| .rgthree-dialog-container > *:last-child { | |
| padding-bottom: 16px; | |
| } | |
| .rgthree-dialog.-iconed::after { | |
| content: ""; | |
| font-size: 276px; | |
| position: absolute; | |
| right: 0px; | |
| bottom: 0px; | |
| opacity: 0.15; | |
| display: block; | |
| width: 237px; | |
| overflow: hidden; | |
| height: 186px; | |
| line-height: 1; | |
| pointer-events: none; | |
| z-index: -1; | |
| } | |
| .rgthree-dialog.-iconed.-help::after { | |
| content: "🛟"; | |
| } | |
| .rgthree-dialog.-iconed.-settings::after { | |
| content: "⚙️"; | |
| } | |
| @media (max-width: 832px) { | |
| .rgthree-dialog { | |
| max-width: calc(100% - 32px); | |
| } | |
| } | |
| .rgthree-dialog-container-title { | |
| display: flex; | |
| flex-direction: row; | |
| align-items: center; | |
| justify-content: start; | |
| } | |
| .rgthree-dialog-container-title > svg:first-child { | |
| width: 36px; | |
| height: 36px; | |
| margin-right: 16px; | |
| } | |
| .rgthree-dialog-container-title h2 { | |
| font-size: 1.375rem; | |
| margin: 0; | |
| font-weight: bold; | |
| } | |
| .rgthree-dialog-container-title h2 small { | |
| font-size: 0.8125rem; | |
| font-weight: normal; | |
| opacity: 0.75; | |
| } | |
| .rgthree-dialog-container-content { | |
| overflow: auto; | |
| max-height: calc(100vh - 200px); /* Arbitrary height to copensate for margin, title, and footer.*/ | |
| } | |
| .rgthree-dialog-container-content p { | |
| font-size: 0.8125rem; | |
| margin-top: 0; | |
| } | |
| .rgthree-dialog-container-content ul li p { | |
| margin-bottom: 4px; | |
| } | |
| .rgthree-dialog-container-content ul li p + p { | |
| margin-top: 0.5em; | |
| } | |
| .rgthree-dialog-container-content ul li ul { | |
| margin-top: 0.5em; | |
| margin-bottom: 1em; | |
| } | |
| .rgthree-dialog-container-content p code { | |
| display: inline-block; | |
| padding: 2px 4px; | |
| margin: 0px 2px; | |
| border: 1px solid rgba(255, 255, 255, 0.25); | |
| border-radius: 3px; | |
| background: rgba(255, 255, 255, 0.1); | |
| } | |
| .rgthree-dialog-container-footer { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| body.rgthree-dialog-open > *:not(.rgthree-dialog):not(.rgthree-top-messages-container) { | |
| filter: blur(5px); | |
| } | |