Instructions to use OzzyGT/drama_3_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OzzyGT/drama_3_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("OzzyGT/drama_3_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: 1,279 Bytes
66ab83a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | These Fish Audio Materials are licensed under the Fish Audio Community License, Version 1.0. Copyright © 39 AI, INC. All Rights Reserved.
Built with Fish Audio.
The attribution above applies to the Fish Audio Materials in this repository: the model weights in backbone/,
audio_decoder/ and codec/, and the tokenizer files in tokenizer/, all from https://huggingface.co/fishaudio/drama-3.
This repository is a Derivative Work. The Fish Audio Materials were changed as follows:
- The checkpoint was split into one folder per component (backbone, audio_decoder, codec, tokenizer), each with its
own config.json, and the backbone was resharded. Tensor names are unchanged.
- The FP8 (float8_e4m3fn) expert weights are stored as uint8 tensors with the same bytes, so that loading with a
torch dtype does not cast them. The model code reads them back as FP8.
- codec.pth was converted to safetensors. Its precomputed rotary and mask buffers (freqs_cis, causal_mask) were
dropped; the model code computes them.
- No weights were retrained, quantized or otherwise changed in value.
This repository contains no code. The model code that runs these weights is new code written for Diffusers, in
https://huggingface.co/OzzyGT/drama_3_custom_blocks under the Apache License 2.0.
|