Commit 0a3fd1ff authored by Your Name's avatar Your Name

Add verbose=True when debug mode is enabled

- Set llama-cpp-python verbose flag to match debug mode
- Remove n_gpu_layers from stable_diffusion_cpp (not supported)
parent b8b465ac
......@@ -5323,7 +5323,7 @@ def main():
is_gguf = model_name.endswith('.gguf') or 'gguf' in model_name.lower()
if is_gguf:
# Load GGUF image model using llama.cpp
# GGUF for image - use stable-diffusion-cpp-python
print(f"Detected GGUF image model, loading with llama.cpp...")
try:
from llama_cpp import Llama
......@@ -5879,7 +5879,7 @@ def main():
is_gguf = model_name.endswith('.gguf') or 'gguf' in model_name.lower()
if is_gguf:
# Load GGUF image model using llama.cpp
# GGUF for image - use stable-diffusion-cpp-python
print(f"Detected GGUF image model, loading with llama.cpp...")
try:
from llama_cpp import Llama
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment