Skip to main content

Deforum Flux Backend

Flux backend for Deforum using Black Forest Labs Flux. This package includes code from Black Forest Labs Flux to enable PyPI installation.

Installation

Install PyTorch with CUDA 12.8 support first:

# Install PyTorch with CUDA 12.8 (required for RTX 50 series)
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128

# Then install deforum-flux
pip install deforum-flux

# Optional: For TensorRT acceleration
pip install deforum-flux[tensorrt]

Note: RTX 50 series cards require CUDA 12.8.

Development Installation

# Clone the repository
git clone https://github.com/deforum/flux.git
cd flux

# Install PyTorch with CUDA 12.8
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128

# Install in development mode
pip install -e .

# Optional: Install with TensorRT support
pip install -e .[tensorrt]

Publish

python -m build
python -m twine upload dist/*

License

This package includes code from multiple sources:

  • Deforum Flux Backend (wrapper code): MIT License
  • Black Forest Labs Flux (core implementation): Apache 2.0 License
  • FLUX.1-schnell model: Apache 2.0 License (commercial use allowed)
  • FLUX.1-dev model: Non-commercial license (no commercial use)

⚠️ Important: If you use the FLUX.1-dev model, you are bound by its non-commercial license terms. See src/flux/LICENSE-FLUX1-dev.md for details.

For commercial applications, use only the FLUX.1-schnell model.

Metadata

Release files for deforum-flux 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deforum-flux 0.1.3
File Size Uploaded Provenance Actions
deforum_flux-0.1.3.tar.gz 53.2 kB Without provenance Details for deforum_flux-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deforum-flux 0.1.3
File Interpreter ABI Platform Actions
deforum_flux-0.1.3-py3-none-any.whl Python 3 none any Details for deforum_flux-0.1.3-py3-none-any.whl

Total release size: 133.2 kB

Release files / deforum_flux-0.1.3.tar.gz

Download URL deforum_flux-0.1.3.tar.gz
Size 53.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e7a2cb354216d65e0afcede45303f3634085d1e0d3778884214f40a03ba0d1b2
BLAKE2b-256 checksum
How to use checksums
0f184645f47f37afb1c572be31336705a38c4779850f1c6617a45a6a177e66d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / deforum_flux-0.1.3-py3-none-any.whl

Download URL deforum_flux-0.1.3-py3-none-any.whl
Size 80.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37986b6157a8aa273617ff8893895dd0a25730ee572ac6e0a40bd08a9d14f160
BLAKE2b-256 checksum
How to use checksums
013135cf517d20d669e695277fb68870528e44109905dfbfe21d3c3ffe812077
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Security for deforum-flux 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page