Instructions to use twodgirl/archived-oneplus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use twodgirl/archived-oneplus with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("twodgirl/archived-oneplus", 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
4-step NextDiT
The 0.5B model for few steps image generation. It uses the SD3 VAE and Qwen 0.5B as text encoder.
The model learns from a denoised output of a larger pretrained model and a loss value from a discriminator model.
In its current state, it's evaluated as a refiner model in the second pass.
Setup
Clone the inference script to the current working directory.
from onediffusion.models.denoiser.nextdit.modeling_nextdit import NextDiT
NextDiT.from_pretrained('twodgirl/oneplus', subfolder='transformer')
Training
Due to the lack of visible progress and adaptation of the Lumina T2I and OneDiffusion models, this repo was born.
OneDiffusion has shown a better understanding of art styles and human poses than similar sized DiT models.
The architecture has proven its worth. The training script builds on it and follows the Flash Diffusion training method.
It was also possible to finetune such a model with limited VRAM.
Datasets
- Zuntan/Animagine_XL_3.0-Character
- Downloads last month
- -