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
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
| .easyuse-model-info { | |
| color: white; | |
| max-width: 90vw; | |
| font-family: var(--font-family); | |
| } | |
| .easyuse-model-content { | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| } | |
| .easyuse-model-header{ | |
| margin:0 0 15px 0; | |
| } | |
| .easyuse-model-header-remark{ | |
| display: flex; | |
| align-items: center; | |
| margin-top:5px; | |
| } | |
| .easyuse-model-info h2 { | |
| text-align: left; | |
| margin:0; | |
| } | |
| .easyuse-model-info h5 { | |
| text-align: left; | |
| margin:0 15px 0 0px; | |
| font-weight: 400; | |
| color:var(--descrip-text); | |
| } | |
| .easyuse-model-info p { | |
| margin: 5px 0; | |
| } | |
| .easyuse-model-info a { | |
| color: var(--theme-color-light); | |
| } | |
| .easyuse-model-info a:hover { | |
| text-decoration: underline; | |
| } | |
| .easyuse-model-tags-list { | |
| display: flex; | |
| flex-wrap: wrap; | |
| list-style: none; | |
| gap: 10px; | |
| max-height: 200px; | |
| overflow: auto; | |
| margin: 10px 0; | |
| padding: 0; | |
| } | |
| .easyuse-model-tag { | |
| background-color: var(--comfy-input-bg); | |
| border: 2px solid var(--border-color); | |
| color: var(--input-text); | |
| display: flex; | |
| align-items: center; | |
| gap: 5px; | |
| border-radius: 5px; | |
| padding: 2px 5px; | |
| cursor: pointer; | |
| } | |
| .easyuse-model-tag--selected span::before { | |
| content: "✅"; | |
| position: absolute; | |
| background-color: var(--theme-color-light); | |
| left: 0; | |
| top: 0; | |
| right: 0; | |
| bottom: 0; | |
| text-align: center; | |
| } | |
| .easyuse-model-tag:hover { | |
| border: 2px solid var(--theme-color-light); | |
| } | |
| .easyuse-model-tag p { | |
| margin: 0; | |
| } | |
| .easyuse-model-tag span { | |
| text-align: center; | |
| border-radius: 5px; | |
| background-color: var(--theme-color-light); | |
| padding: 2px; | |
| position: relative; | |
| min-width: 20px; | |
| overflow: hidden; | |
| color: #fff; | |
| } | |
| .easyuse-model-metadata .comfy-modal-content { | |
| max-width: 100%; | |
| } | |
| .easyuse-model-metadata label { | |
| margin-right: 1ch; | |
| color: #ccc; | |
| } | |
| .easyuse-model-metadata span { | |
| color: var(--theme-color-light); | |
| } | |
| .easyuse-preview { | |
| max-width:660px; | |
| margin-right: 15px; | |
| position: relative; | |
| } | |
| .easyuse-preview-group{ | |
| position: relative; | |
| overflow: hidden; | |
| border-radius:.5rem; | |
| width: 660px; | |
| } | |
| .easyuse-preview-list{ | |
| display: flex; | |
| flex-wrap: nowrap; | |
| width: 100%; | |
| transition: all .5s ease-in-out; | |
| } | |
| .easyuse-preview-list.no-transition{ | |
| transition: none; | |
| } | |
| .easyuse-preview-slide{ | |
| display: flex; | |
| flex-basis: calc(50% - 5px); | |
| flex-grow: 0; | |
| flex-shrink: 0; | |
| position: relative; | |
| justify-content: center; | |
| align-items: center; | |
| padding-right:5px; | |
| padding-left:0; | |
| } | |
| .easyuse-preview-slide:nth-child(even){ | |
| padding-left:5px; | |
| padding-right:0; | |
| } | |
| .easyuse-preview-slide-content{ | |
| position: relative; | |
| min-height:150px; | |
| width: 100%; | |
| } | |
| .easyuse-preview-slide-content .save{ | |
| position: absolute; | |
| right: 6px; | |
| z-index: 12; | |
| bottom: 6px; | |
| display: flex; | |
| align-items: center; | |
| height: 26px; | |
| padding: 0 9px; | |
| color: var(--input-text); | |
| font-size: 12px; | |
| line-height: 26px; | |
| background: rgba(0, 0, 0, .5); | |
| border-radius: 13px; | |
| cursor: pointer; | |
| min-width:80px; | |
| text-align: center; | |
| } | |
| .easyuse-preview-slide-content .save:hover{ | |
| filter: brightness(120%); | |
| will-change: auto; | |
| } | |
| .easyuse-preview-slide-content img { | |
| border-radius: 14px; | |
| object-position: center center; | |
| max-width: 100%; | |
| max-height:700px; | |
| border-style: none; | |
| vertical-align: middle; | |
| } | |
| .easyuse-preview button { | |
| position: absolute; | |
| z-index:10; | |
| top: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| width:30px; | |
| height:30px; | |
| border-radius:15px; | |
| border:1px solid rgba(66, 63, 78, .15); | |
| background-color: rgba(66, 63, 78, .5); | |
| color:hsla(0, 0%, 100%, .8); | |
| transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; | |
| transition-timing-function: cubic-bezier(.4,0,.2,1); | |
| transition-duration: .15s; | |
| transform: translateY(-50%); | |
| } | |
| .easyuse-preview button.left{ | |
| left:10px; | |
| } | |
| .easyuse-preview button.right{ | |
| right:10px; | |
| } | |
| .easyuse-model-detail{ | |
| margin-top: 16px; | |
| overflow: hidden; | |
| border: 1px solid var(--border-color); | |
| border-radius: 8px; | |
| width:300px; | |
| } | |
| .easyuse-model-detail-head{ | |
| height: 40px; | |
| padding: 0 10px; | |
| font-weight: 500; | |
| font-size: 14px; | |
| font-style: normal; | |
| line-height: 40px; | |
| } | |
| .easyuse-model-detail-body{ | |
| box-sizing: border-box; | |
| font-size: 12px; | |
| } | |
| .easyuse-model-detail-item{ | |
| display: flex; | |
| justify-content: flex-start; | |
| border-top: 1px solid var(--border-color); | |
| } | |
| .easyuse-model-detail-item-label{ | |
| flex-shrink: 0; | |
| width: 88px; | |
| padding-top: 5px; | |
| padding-bottom: 5px; | |
| padding-left: 10px; | |
| border-right: 1px solid var(--border-color); | |
| color: var(--input-text); | |
| font-weight: 400; | |
| } | |
| .easyuse-model-detail-item-value{ | |
| display: flex; | |
| flex-wrap: wrap; | |
| padding: 5px 10px 5px 10px; | |
| color: var(--input-text); | |
| } | |
| .easyuse-model-detail-textarea{ | |
| border-top:1px solid var(--border-color); | |
| padding:10px; | |
| height:100px; | |
| overflow-y: auto; | |
| font-size: 12px; | |
| } | |
| .easyuse-model-detail-textarea textarea{ | |
| width:100%; | |
| height:100%; | |
| border:0; | |
| background-color:transparent; | |
| color: var(--input-text); | |
| } | |
| .easyuse-model-detail-textarea textarea::placeholder{ | |
| color:var(--descrip-text); | |
| } | |
| .easyuse-model-detail-textarea.empty{ | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| color: var(--descrip-text); | |
| } | |
| .easyuse-model-notes { | |
| background-color: rgba(0, 0, 0, 0.25); | |
| padding: 5px; | |
| margin-top: 5px; | |
| } | |
| .easyuse-model-notes:empty { | |
| display: none; | |
| } | |