Instructions to use nebulette/moss-spectrum-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nebulette/moss-spectrum-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nebulette/moss-spectrum-diffusers", 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
File size: 489 Bytes
b5b0657 0b1ad16 bfe7f0d 0b1ad16 1d211bf 0b1ad16 1d211bf b5b0657 0b1ad16 ae2173f 0b1ad16 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ---
license: apache-2.0
base_model:
- OpenMOSS-Team/MOSS-Image-Base
base_model_relation: adapter
tags:
- moss-image
- spectrum
library_name: diffusers
---
A naive implementation of the Spectrum, a training-free forecaster in the diffusion pipeline.
It was released under a more permissive licence than the [Comfy variant](https://github.com/Rkkss/ComfyUI-Spectrum-MOSS).
On the left is the Spectrum (15 seconds) vs the vanilla MOSS (40 seconds) on a low-end computer.
 |