Upload folder using huggingface_hub
Browse files- README.md +1 -2
- transformer/config.json +4 -6
- transformer/diffusion_pytorch_model-00001-of-00007.safetensors +2 -2
- transformer/diffusion_pytorch_model-00002-of-00007.safetensors +2 -2
- transformer/diffusion_pytorch_model-00003-of-00007.safetensors +2 -2
- transformer/diffusion_pytorch_model-00004-of-00007.safetensors +2 -2
- transformer/diffusion_pytorch_model-00005-of-00007.safetensors +2 -2
- transformer/diffusion_pytorch_model-00006-of-00007.safetensors +2 -2
- transformer/diffusion_pytorch_model-00007-of-00007.safetensors +2 -2
- transformer/diffusion_pytorch_model.safetensors.index.json +0 -0
README.md
CHANGED
|
@@ -34,7 +34,6 @@ The transformers version must be **between 4.57 and 4.58**; otherwise, incorrect
|
|
| 34 |
| `torch` | >= 2.8 | PyTorch |
|
| 35 |
| `transformers` | >= 4.57.0, < 4.58.0 | Text encoder |
|
| 36 |
| `torchvison` | - |Image process|
|
| 37 |
-
| `einops` | - |Tensor manipulation|
|
| 38 |
|
| 39 |
### Install the [Pull Request](https://github.com/huggingface/diffusers/pull/13444]) of JoyAI-Image-Edit of diffusers
|
| 40 |
```bash
|
|
@@ -43,7 +42,7 @@ pip install git+https://github.com/huggingface/diffusers.git@refs/pull/13444/hea
|
|
| 43 |
|
| 44 |
### Or install from this repo (PR will merge to diffusers main branch soon)
|
| 45 |
```bash
|
| 46 |
-
pip install torch==2.8 transformers==4.57.6 torchvision
|
| 47 |
|
| 48 |
pip install git+https://github.com/Moran232/diffusers.git@joyimage_edit
|
| 49 |
```
|
|
|
|
| 34 |
| `torch` | >= 2.8 | PyTorch |
|
| 35 |
| `transformers` | >= 4.57.0, < 4.58.0 | Text encoder |
|
| 36 |
| `torchvison` | - |Image process|
|
|
|
|
| 37 |
|
| 38 |
### Install the [Pull Request](https://github.com/huggingface/diffusers/pull/13444]) of JoyAI-Image-Edit of diffusers
|
| 39 |
```bash
|
|
|
|
| 42 |
|
| 43 |
### Or install from this repo (PR will merge to diffusers main branch soon)
|
| 44 |
```bash
|
| 45 |
+
pip install torch==2.8 transformers==4.57.6 torchvision
|
| 46 |
|
| 47 |
pip install git+https://github.com/Moran232/diffusers.git@joyimage_edit
|
| 48 |
```
|
transformer/config.json
CHANGED
|
@@ -1,22 +1,19 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "JoyImageEditTransformer3DModel",
|
| 3 |
"_diffusers_version": "0.38.0.dev0",
|
| 4 |
-
"attn_backend": "torch_spda",
|
| 5 |
-
"dit_modulation_type": "wanx",
|
| 6 |
-
"enable_activation_checkpointing": false,
|
| 7 |
"heads_num": 32,
|
| 8 |
"hidden_size": 4096,
|
| 9 |
"in_channels": 16,
|
| 10 |
-
"is_repa": false,
|
| 11 |
"mlp_width_ratio": 4.0,
|
| 12 |
"mm_double_blocks_depth": 40,
|
|
|
|
|
|
|
| 13 |
"out_channels": 16,
|
| 14 |
"patch_size": [
|
| 15 |
1,
|
| 16 |
2,
|
| 17 |
2
|
| 18 |
],
|
| 19 |
-
"repa_layer": 13,
|
| 20 |
"rope_dim_list": [
|
| 21 |
16,
|
| 22 |
56,
|
|
@@ -24,6 +21,7 @@
|
|
| 24 |
],
|
| 25 |
"rope_theta": 10000,
|
| 26 |
"rope_type": "rope",
|
|
|
|
| 27 |
"text_states_dim": 4096,
|
| 28 |
-
"
|
| 29 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "JoyImageEditTransformer3DModel",
|
| 3 |
"_diffusers_version": "0.38.0.dev0",
|
|
|
|
|
|
|
|
|
|
| 4 |
"heads_num": 32,
|
| 5 |
"hidden_size": 4096,
|
| 6 |
"in_channels": 16,
|
|
|
|
| 7 |
"mlp_width_ratio": 4.0,
|
| 8 |
"mm_double_blocks_depth": 40,
|
| 9 |
+
"num_attention_heads": 24,
|
| 10 |
+
"num_layers": 20,
|
| 11 |
"out_channels": 16,
|
| 12 |
"patch_size": [
|
| 13 |
1,
|
| 14 |
2,
|
| 15 |
2
|
| 16 |
],
|
|
|
|
| 17 |
"rope_dim_list": [
|
| 18 |
16,
|
| 19 |
56,
|
|
|
|
| 21 |
],
|
| 22 |
"rope_theta": 10000,
|
| 23 |
"rope_type": "rope",
|
| 24 |
+
"text_dim": 4096,
|
| 25 |
"text_states_dim": 4096,
|
| 26 |
+
"theta": 256
|
| 27 |
}
|
transformer/diffusion_pytorch_model-00001-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adcb100cae21cbdc71d75cd26de468531bd1c8e49e718e3d377530a0034ca33a
|
| 3 |
+
size 4970222408
|
transformer/diffusion_pytorch_model-00002-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c76310e69fa291b954280bc728a1a2de95533455ae01f6e6b6aaa58711b10e8
|
| 3 |
+
size 4967585880
|
transformer/diffusion_pytorch_model-00003-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:845645c96a41269d02e6b02de953d3c58ff2741f33a326823feaccdd65f7937f
|
| 3 |
+
size 4866946400
|
transformer/diffusion_pytorch_model-00004-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:722c95c3b39233f598dc6ffef589ecb411e8531ebfe4241c0d036f93c74e1bf8
|
| 3 |
+
size 4967584992
|
transformer/diffusion_pytorch_model-00005-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a8e110439a119ad132e1d56ba137b63c48c232ffbd974572c37140f2becbd8c
|
| 3 |
+
size 4967609680
|
transformer/diffusion_pytorch_model-00006-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab5e2cc1b6e15c57ca9fe8126d81141b5a52e9a19a1cbbff8afb7c9e130cee7e
|
| 3 |
+
size 4967585000
|
transformer/diffusion_pytorch_model-00007-of-00007.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b359f79a76e35db3b28be8470a3be1af8be23ec396861e2c641697538ffb8c55
|
| 3 |
+
size 2819921264
|
transformer/diffusion_pytorch_model.safetensors.index.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|