huggingface / huggingface/diffusers

Diffusion Transformers License

Open
#8,306 4 comments 0 reactions 0 assignees View on GitHub
bug stale
Dominant language
Python
Stars
34.5k
Forks
7.3k
Avg merge
3d 3h
Merged PRs (30d)
91

Description

### Describe the bug

From this [HN thread](https://news.ycombinator.com/item?id=40478921): the Diffusion Transformer pipeline code includes a license `Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)` at the top:
https://github.com/huggingface/diffusers/blob/b69fd990ad8026f21893499ab396d969b62bb8cc/src/diffusers/pipelines/dit/pipeline_dit.py#L1-L2

IIUC this is incompatible with the repo-wide Apache 2.0 license. Is it a bug that the CC-BY-NC was included for DiT, or does the repo-wide license need to be changed?

### Reproduction

See linked code

### Logs

_No response_

### System Info

Diffusers v0.27.2

### Who can help?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.