twodgirl / oneplus

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: December 13 2024

Introduction of oneplus

Model Details of oneplus

OnePlus

The OneDiffusion finetune, style changer, one step closer to other sdxl style(s).

Proof of Concept . As for now, I only upload the patch for the transformer.

Inference

The current inference script doesn't support reassigning the transformer model, you have to replace the transformer directory manually. This will be the case until a built-in diffusers implementation becomes available.

(I use a custom pipeline for training, that allows reassigning the pipeline components.)

Given that the OneDiffusion model is already downloaded , rename the "transformer" to "transformer_old". Copy the content of this repo to the OneDiffusion folder.

from safetensors.torch import load_file, save_file

if __name__ == '__main__':
    sd = load_file('./OneDiffusion/transformer_old/diffusion_pytorch_model.safetensors')
    adapter = load_file('./OneDiffusion/transformer/one_adapter.safetensors')
    for key, tensor in adapter.items():
        assert key in sd
        sd[key] = tensor

    save_file(sd, './OneDiffusion/transformer/diffusion_pytorch_model.safetensors', {'format': 'pt'})

With this, the "transformer_old" has the original weight, the "transformer" has the patched model. You're ready to run inference on the finetune.

pipeline = OneDiffusionPipeline.from_pretrained('./OneDiffusion').to(device=device, dtype=torch.bfloat16)
Prompt
[[text2image]] pny_style, ...

The text encoder understands handwritten prompts, comma separated keywords, it works without Molmo.

Training

The training script is similar to the SD3 dreambooth script. I reinvented what PEFT does otherwise, so it doesn't cost me a fortune to train a large model.

Based on previous work: Kolors , VAE , SD3 training script; Flux merge , text encoder and latent manipulation.

It's possible to train the model in int8 .

The base model is similar to Kolors, but with more options, and newer architecture. I don't modify the T5 XL and VAE, they don't have to be smaller.

Runs of twodgirl oneplus on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About oneplus huggingface.co Model

oneplus huggingface.co

oneplus huggingface.co is an AI model on huggingface.co that provides oneplus's model effect (), which can be used instantly with this twodgirl oneplus model. huggingface.co supports a free trial of the oneplus model, and also provides paid use of the oneplus. Support call oneplus model through api, including Node.js, Python, http.

twodgirl oneplus online free

oneplus huggingface.co is an online trial and call api platform, which integrates oneplus's modeling effects, including api services, and provides a free online trial of oneplus, you can try oneplus online for free by clicking the link below.

twodgirl oneplus online free url in huggingface.co:

https://huggingface.co/twodgirl/oneplus

oneplus install

oneplus is an open source model from GitHub that offers a free installation service, and any user can find oneplus on GitHub to install. At the same time, huggingface.co provides the effect of oneplus install, users can directly use oneplus installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

oneplus install url in huggingface.co:

https://huggingface.co/twodgirl/oneplus

Url of oneplus

Provider of oneplus huggingface.co

twodgirl
ORGANIZATIONS

Other API from twodgirl

huggingface.co

Total runs: 7
Run Growth: 0
Growth Rate: 0.00%
Updated:September 27 2024
huggingface.co

Total runs: 1
Run Growth: 0
Growth Rate: 0.00%
Updated:August 18 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 07 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 21 2024