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.
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.
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 archived_one-adapter 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 archived_one-adapter huggingface.co Model
archived_one-adapter huggingface.co
archived_one-adapter huggingface.co is an AI model on huggingface.co that provides archived_one-adapter's model effect (), which can be used instantly with this twodgirl archived_one-adapter model. huggingface.co supports a free trial of the archived_one-adapter model, and also provides paid use of the archived_one-adapter. Support call archived_one-adapter model through api, including Node.js, Python, http.
archived_one-adapter huggingface.co is an online trial and call api platform, which integrates archived_one-adapter's modeling effects, including api services, and provides a free online trial of archived_one-adapter, you can try archived_one-adapter online for free by clicking the link below.
twodgirl archived_one-adapter online free url in huggingface.co:
archived_one-adapter is an open source model from GitHub that offers a free installation service, and any user can find archived_one-adapter on GitHub to install. At the same time, huggingface.co provides the effect of archived_one-adapter install, users can directly use archived_one-adapter installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
archived_one-adapter install url in huggingface.co: