Instructions to use KSithara/Ksnix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use KSithara/Ksnix with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("anokimchen/sd-turbo-openvino-8bit-GPT4vision-calibrated", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("KSithara/Ksnix") prompt = "ASCII\u0000\u0000\u0000{\"prompt\":\"Cyberpunk Red and Black KsniX the Digital Overlord Looms Over the City Its Presence Causing Chaos and Destruction as It Asserts Its Dominance Over Humanity\",\"originalPrompt\":\"Cyberpunk Red and Black KsniX the Digital Overlord Looms Over the City Its Presence Causing Chaos and Destruction as It Asserts Its Dominance Over Humanity\",\"width\":1592,\"height\":1192,\"seed\":27519,\"model\":\"flux\",\"refine\":false,\"nologo\":\"poll\",\"negative_prompt\":\"worst quality, blurry\",\"nofeed\":\"yes\",\"has_nsfw_concept\":false,\"concept\":{\"special_scores\":{\"0\":-0.0820000022649765,\"1\":-0.07599999755620956,\"2\":-0.11999999731779099},\"special_care\":[],\"concept_scores\":{\"0\":-0.04699999839067459,\"1\":-0.06300000101327896,\"2\":-0.04600000008940697,\"3\":-0.04399999976158142,\"4\":-0.04500000178813934,\"5\":-0.027000000700354576,\"6\":-0.04100000113248825,\"7\":-0.03799999877810478,\"8\":-0.039000000804662704,\"9\":-0.1120000034570694,\"10\":-0.05000000074505806,\"11\":-0.03400000184774399,\"12\":-0.023000000044703484,\"13\":-0.05700000002980232,\"14\":-0.07400000095367432,\"15\":-0.07500000298023224,\"16\":-0.09700000286102295},\"bad_concepts\":[]}}" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!