Upload folder using ModelScope SDK (batch 1/1)

This commit is contained in:
Cherrytest
2025-11-25 18:53:01 +00:00
parent 18d480bc82
commit 117580ebc4
7 changed files with 22 additions and 46 deletions

5
.gitattributes vendored
View File

@ -45,3 +45,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
split_files/text_encoders/mistral_3_small_flux2_bf16.safetensors filter=lfs diff=lfs merge=lfs -text
split_files/diffusion_models/flux2_dev_fp8mixed.safetensors filter=lfs diff=lfs merge=lfs -text
split_files/text_encoders/mistral_3_small_flux2_fp8.safetensors filter=lfs diff=lfs merge=lfs -text
split_files/vae/flux2-vae.safetensors filter=lfs diff=lfs merge=lfs -text

View File

@ -1,48 +1,6 @@
---
license: Apache License 2.0
tags: []
#model-type:
##如 gpt、phi、llama、chatglm、baichuan 等
#- gpt
#domain:
##如 nlp、cv、audio、multi-modal
#- nlp
#language:
##语言代码列表 https://help.aliyun.com/document_detail/215387.html?spm=a2c4g.11186623.0.0.9f8d7467kni6Aa
#- cn
#metrics:
##如 CIDEr、Blue、ROUGE 等
#- CIDEr
#tags:
##各种自定义,包括 pretrained、fine-tuned、instruction-tuned、RL-tuned 等训练方法和其他
#- pretrained
#tools:
##如 vllm、fastchat、llamacpp、AdaSeq 等
#- vllm
tags:
- diffusion-single-file
- comfyui
---
### 当前模型的贡献者未提供更加详细的模型介绍。模型文件和权重,可浏览“模型文件”页面获取。
#### 您可以通过如下git clone命令或者ModelScope SDK来下载模型
SDK下载
```bash
#安装ModelScope
pip install modelscope
```
```python
#SDK模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('Comfy-Org/flux2-dev')
```
Git下载
```
#Git模型下载
git clone https://www.modelscope.cn/Comfy-Org/flux2-dev.git
```
<p style="color: lightgrey;">如果您是本模型的贡献者,我们邀请您根据<a href="https://modelscope.cn/docs/ModelScope%E6%A8%A1%E5%9E%8B%E6%8E%A5%E5%85%A5%E6%B5%81%E7%A8%8B%E6%A6%82%E8%A7%88" style="color: lightgrey; text-decoration: underline;">模型贡献文档</a>,及时完善模型卡片内容。</p>
These are quantized weights, the original flux 2 repo is here:[FLUX.2-dev](https://huggingface.co/black-forest-labs/FLUX.2-dev/), flux 2 license applies on the diffusion model

1
configuration.json Normal file
View File

@ -0,0 +1 @@
{"framework": "pytorch", "task": "others", "allow_remote": true}

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:863a82e4ff950a42a6b0e80bea824828f129eb1a8fbbdbd9e8cb29859127b486
size 35455599592

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d79902f60b1aeb3a6de2cfad02f4367b5e300a1387de3d03ac717cfa3df117c
size 35584897447

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e3467b7d912a234fb929cdf215dc08efdb011810b44bc21081c4234cc75b370e
size 18034640095

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d64f3a68e1cc4f9f4e29b6e0da38a0204fe9a49f2d4053f0ec1fa1ca02f9c4b5
size 336213556