aboutcode-org / aboutcode-org/scancode-toolkit

Improve license naming: stable-diffusion-2022-08-22 should include "CreativeML Open RAIL-M 2022-08-22"

Abierto
#4,599 6 comentarios 0 reacciones 1 asignado Asignado a @AyanSinhaMahapatra Ver en GitHub
ai-license new-license
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

**License Name**
CreativeML OpenRAIL-M License

**License Homepage URL**
https://huggingface.co/spaces/CompVis/stable-diffusion-license

**License Text URL**
https://github.com/CompVis/stable-diffusion/blob/main/LICENSE

**Alternative License Text URL**
https://huggingface.co/spaces/CompVis/stable-diffusion-license/raw/main/license.txt

**License Notes**
This is the CreativeML OpenRAIL-M license used by Stable Diffusion and thousands of derivative AI image generation models. It's one of the most widely-adopted AI model licenses.

**Key Features:**
- Part of the OpenRAIL (Open & Responsible AI License) family
- Permissive for most uses with ethical restrictions
- Prohibits harmful applications (misinformation, harassment, etc.)
- Copyleft-style: derivatives must maintain the same restrictions
- Dated August 22, 2022

**Significance:**
- Used by Stable Diffusion v1 (one of the most viral AI tools of 2024-2025)
- **30,000+ models on Hugging Face** use this license (as of November 2025)
- More than **100,000+ developers** affected
- Used by derivative projects: Dreamlike, SDXL variants, and countless fine-tuned models
- Critical for AI compliance and license scanning

**Impact:**
According to Hugging Face statistics, this is one of the top 5 most-used AI model licenses, with usage comparable to MIT and Apache 2.0 licenses in the AI space.

**Related Licenses Already in ScanCode:**
- `stable-diffusion-2022-08-22` - This is a different/later version
- `bigscience-openrail-m` - Similar RAIL license for language models
- `bigcode-open-rail-m-v1` - RAIL license for code models
- `openrail++` - Updated version of OpenRAIL

**Why This Matters:**
ScanCode currently has `stable-diffusion-2022-08-22` but NOT the original `creativeml-openrail-m` identifier. Many projects specifically reference "CreativeML OpenRAIL-M" in their license files, and having this distinct entry would improve detection accuracy.

**Projects Using This License:**
- Stable Diffusion v1.4, v1.5
- DreamBooth models
- ControlNet
- Thousands of Hugging Face models
- Civitai models
- Countless commercial and research projects

**Additional Context:**
- License is managed by the RAIL Initiative
- Co-authors: Robin Rombach, Patrick Esser, and contributors
- Part of a broader trend in "responsible AI" licensing
- Blog post: https://huggingface.co/blog/open_rail

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.