aboutcode-org / aboutcode-org/scancode-toolkit

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

未关闭
#4,599 6 条评论 0 个 reaction 已指派 1 人 已指派给 @AyanSinhaMahapatra 在 GitHub 查看
ai-license new-license
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

**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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。