Text-to-Image
Diffusers
English
sdxl
sdxl-turbo
stable-diffusion
image-to-image
image-generation
image-editing
fastapi
mps
Run this model with HF Jobs
Run sujithputta/Lumaforge on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/sujithputta/Lumaforge. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/sujithputta/Lumaforge on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use sujithputta/Lumaforge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sujithputta/Lumaforge with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("sujithputta/Lumaforge", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
5680fa0
1
Parent(s): 52db35c
fix: Improve Ollama client logging and use llama3.2:1b model - Add debug logging on OllamaClient initialization - Update model to llama3.2:1b (faster, lighter weight) - Improve connection check logging with clear status messages - Graceful fallback to heuristic prompts when Ollama unavailable Ollama is running on localhost:11434 with multiple models available: - llama3.2:1b (1.2B, fastest) - llama3:latest (8B, best quality) - mistral:latest (7.2B, balanced) - deepseek-r1:7b (7.6B, best reasoning)
Browse files5 unmodified lines678910111215 unmodified lines282930303132333435363738395 unmodified lines def __init__(self, host="http://localhost:11434", model="llama3.2:1b"): self.host = host.rstrip('/') self.model = model print(f"[OllamaClient] Initialized with model: {self.model}")
def _call_api(self, endpoint, data): url = f"{self.host}{endpoint}"15 unmodified lines """Check if Ollama is running and responsive.""" data = {"model": self.model, "prompt": "test", "stream": False} res = self._call_api("/api/generate", data) return res is not None is_connected = res is not None if is_connected: print("[OllamaClient] ✅ Connected to Ollama server") else: print("[OllamaClient] ⚠️ Ollama not available - using heuristic fallbacks") return is_connected
def classify_safety(self, prompt: str) -> dict: """lumaforge/ollama_client.py+7-1