Skip to main content

quantizing your diffusion models efficiently and accurately

Project description

diffusionq

diffusionq is a Python package designed for quantizing pre-trained diffusion models. By using diffusionq, you can efficiently quantize your models to save memory and accelerate inference, making it easier to deploy these models in resource-constrained environments.

Installation

To install diffusionq, simply run the following command:

pip install diffusionq

Usage

Using diffusionq is straightforward. Once you have a pre-trained diffusion model, you can quantize it by following these steps:

from diffusionq import QuantModel

# Assuming 'model' is your pre-trained diffusion model
quant_model = QuantModel(model)

# Now 'quant_model' is the quantized version of your original model
# You can use 'quant_model' for your inference tasks

Features

Easy Integration: Seamlessly quantize pre-trained diffusion models with just one line of code. Memory Efficiency: Reduce the memory footprint of your models significantly. Faster Inference: Enjoy faster model inference, especially beneficial for deploying models on edge devices.

Contributing

Contributions to diffusionq are welcome! If you have suggestions for improvements or encounter any issues, please feel free to open an issue or submit a pull request.

Contact

For any queries or further assistance with diffusionq, please reach out to Your Name.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

diffusionq-0.1.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for diffusionq-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11dfed2545a965160ee2fe7bff109e1fbf11428386125841ed3a6f148ff3123a
MD5 8e62743bd302dc06f3ee0b3fef1bc706
BLAKE2b-256 ea347cdff59cf55d844d75dfff4ccb02bfbdf0f989d92ddaa46474e5a5d4ce2e

See more details on using hashes here.

Supported by

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