Skip to main content

A library for tuning adapters for visual generation models

Project description

vtuna

Tuning adapters for visual generation models, a library highly inspired by torchtune.

 

Introduction

vtuna is a PyTorch library for easily authoring, fine-tuning and experimenting with visual generation model, especially the text-to-image diffusion model.

diffusers is the go-to library for state-of-the-art pretrained diffusion models. However, if your goal is to develop diffusion adapters that do not yet exist, you will need vtuna. The main goal of vtuna is to support researchers in freely exploring new adapter technologies for visual generative models.

vtuna provides:

  • Easy-to-use and hackable training recipes for popular fine-tuning, adapting techniques (LoRA, IP-Adapter, ControlNet, ELLA...).
  • YAML configs for easily configuring training, evaluation or inference recipes.

vtuna focuses on integrating with popular tools and libraries from the ecosystem. These are just a few examples, with more under development:

 


Get Started

vtuna is currently under development.

Design Principles

vtuna embodies PyTorch’s design philosophy [details], especially "usability over everything else".

Simplicity and Extensibility

vtuna is designed to be easy to understand, use and extend.

  • Composition over implementation inheritance - layers of inheritance for code re-use makes the code hard to read and extend
  • Code duplication is preferred over unnecessary abstractions
  • Modular building blocks over monolithic components

Acknowledgements

This repository is highly inspired by torchtune.

License

vtuna is released under the Apache License 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vtuna-0.1.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

vtuna-0.1.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file vtuna-0.1.0.tar.gz.

File metadata

  • Download URL: vtuna-0.1.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for vtuna-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c1ccd1eee6ee7069f872307d040713fb377982eda70060898defbfcc37126766
MD5 75532e937b4250ab0d734a01b0225e69
BLAKE2b-256 e38051a2171f9e66d7a0a18e6232bae9ea1ede678acccc65d85791f89e1dc1be

See more details on using hashes here.

File details

Details for the file vtuna-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vtuna-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for vtuna-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 170911da52802629aaa091a11e0442248079efa19a539b1ceb33c3bed383dd6f
MD5 feaaf682f5fc75a488b1c89ca4d0dde4
BLAKE2b-256 e065537210d4cf9e5f66594f4e6360fa7982cc2685be001dcbc15e1841f39f5b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page