codeShare commited on
Commit
6c148b4
·
verified ·
1 Parent(s): 41122fb

Upload ⚙️run_klein_edit_9b_colab.ipynb

Browse files
colab_notebooks/⚙️run_klein_edit_9b_colab.ipynb CHANGED
@@ -343,7 +343,7 @@
343
  "\n",
344
  "# Additional config values\n",
345
  "MODEL_ID = \"codeShare/FLUX.2-klein-AIO-SDNQ-4bit-dynamic\" #@param ['codeShare/FLUX.2-klein-AIO-SDNQ-4bit-dynamic' ]\n",
346
- "edit_prompt = \"as a real photo , with bare skin , naked , put the female character on image 1 on the background in image 2. \" #@param {type:\"string\"}\n",
347
  "resolution = \"1024 x 1024 (Square)\" #@param {type:\"string\"}\n",
348
  "\n",
349
  "# LORA Settings\n",
@@ -741,33 +741,7 @@
741
  "torch.cuda.empty_cache()"
742
  ],
743
  "metadata": {
744
- "id": "QYWVhRcpmGRR",
745
- "colab": {
746
- "base_uri": "https://localhost:8080/"
747
- },
748
- "outputId": "f3dd50c5-8988-4248-d162-07a256145cf2"
749
- },
750
- "execution_count": 2,
751
- "outputs": [
752
- {
753
- "output_type": "stream",
754
- "name": "stdout",
755
- "text": [
756
- "🔑 Reading config files...\n",
757
- "✅ LoRA: Using better_skin_real1_klein_4b.safetensors at strength 0.8 from repo codeShare/flux-klein-4B-loras\n",
758
- "✅ Model: codeShare/FLUX.2-klein-AIO-SDNQ-4bit-dynamic\n",
759
- " Resolution: 1024 x 1024 (Square)\n",
760
- " Foregrounds: /content/drive/MyDrive/my_flux_dataset/foregrounds.zip\n",
761
- " Backgrounds: /content/drive/MyDrive/my_flux_dataset/backgrounds.zip\n"
762
- ]
763
- }
764
- ]
765
- },
766
- {
767
- "cell_type": "code",
768
- "source": [],
769
- "metadata": {
770
- "id": "glYFduHKLYdS"
771
  },
772
  "execution_count": null,
773
  "outputs": []
@@ -985,12 +959,6 @@
985
  " print(f'\\n✅ LoRa {lora_name_loaded} loaded into pipe at strength {lora_strength_loaded}')\n",
986
  " #-----#\n",
987
  "\n",
988
- "# pipe = apply_lora_options_to_pipe(\n",
989
- "# pipe ,\n",
990
- "# lora_name = lora_name_loaded,\n",
991
- "# lora_repo_id = lora_repo_id_loaded ,\n",
992
- "# lora_strength = lora_strength_loaded).to(f\"cuda:{gpu_id}\")\n",
993
- "\n",
994
  "\n",
995
  " #---Collect and clear VRAM at end of cell---#\n",
996
  " gc.collect()\n",
@@ -1059,183 +1027,10 @@
1059
  "torch.cuda.empty_cache()"
1060
  ],
1061
  "metadata": {
1062
- "id": "0XLZ_DXrmNE2",
1063
- "colab": {
1064
- "base_uri": "https://localhost:8080/",
1065
- "height": 990,
1066
- "referenced_widgets": [
1067
- "dee0c57fe33c4043b4b3482ec2906654",
1068
- "7b98e69dd90d459e8b9b44081561822c",
1069
- "7309f6b264f3457bb72b6a380e8b6d75",
1070
- "6f1a1b2b4e0543cd93369498407e2957",
1071
- "5956eac1639143848e89338a1544d6e4",
1072
- "6882ae6d24904b85ab5b809e8b1c7043",
1073
- "8df2d1610b17485b870a2ab1a00b1ebb",
1074
- "f61dccc46f2b4b149a17964dabc63a37",
1075
- "438c1a421f094579a565b56165143d2b",
1076
- "3503d239dbc244ef9a0c7f72e9f46ef6",
1077
- "9dd4df9a136b4f8687b73329fac5d981",
1078
- "878c5b445b2245889eabf8d8c167dddd",
1079
- "8482938192ee4bedb40934fba87a650a",
1080
- "dd055d8ab36f45c2ac0e45ae30fb04a7",
1081
- "9c876fb0f3154b63bce4792cce73517a",
1082
- "3ecdbb6b04c94eac950d794750461165",
1083
- "1007ff00bb7d4b1a8da921c647a09d75",
1084
- "ec122c65ffbe4f5aad5b56630d457c8a",
1085
- "d0e88d4dde45470bacf0aa4e93fddc6c",
1086
- "849cc016ce5248289f0b0c0cecc0e73c",
1087
- "5e71c389e8c646f0b3f5d7a86471c1b9",
1088
- "e5565fba19da45cabf3938dea17bc113",
1089
- "29b524ea3074488387f8c8c0b6030b58",
1090
- "277dfddfdb1b4cd8a0aeda9b190ee4d2",
1091
- "18fc92aad1e4411d90675d415e897a1f",
1092
- "63e6a05a6e504ae6821a5995a4afc83b",
1093
- "b5e6829f1721412085ea04586367f828",
1094
- "c468c9773bb24684894dae7179d2bd75",
1095
- "d38a8f5cb4614b4fba1db9f3bb88b245",
1096
- "9858e8c19aea4f378e5133f8a15deccd",
1097
- "8ed333f75e504d708802261a9c27ced0",
1098
- "a159c363c5dc4ca3b4d791e255906714",
1099
- "3fbef58823b14f5a8aac2e3d93423c22",
1100
- "4bf16be679d74dd4a7434a2b981b0b86",
1101
- "88b38be5409a426e94d4239a38134cae",
1102
- "c4d5ca6092084102bee6617c14b3e824",
1103
- "318cee4c11e548c4857d9a091b450822",
1104
- "c50dc10e133b4b8085cb9d5b535bd2e1",
1105
- "dcc4db8905564a05b9affcd54e6e8017",
1106
- "43faeef826e145688d64ad1c1b14c514",
1107
- "bb9213c82c7248c2a77b2b7c37d463a1",
1108
- "bde47ff0a15e4d058340c368aa62a9b8",
1109
- "cd1278fb1b3a4a24974c392e509b4057",
1110
- "6b7ded2d32a74bca98a82db9fa112996"
1111
- ]
1112
- },
1113
- "outputId": "326e9a20-48d7-46e4-f055-79601ee0686d"
1114
  },
1115
- "execution_count": 7,
1116
- "outputs": [
1117
- {
1118
- "output_type": "stream",
1119
- "name": "stdout",
1120
- "text": [
1121
- "🚀 Detected 1 GPU(s)\n",
1122
- "🔥 Klein 4B → 2 pipes per GPU\n",
1123
- "Total Pipes: 2\n",
1124
- "\n",
1125
- "\n",
1126
- "============================================================\n",
1127
- "Loading Pipe 1/2 on GPU 0 (Pipe 0)\n",
1128
- "============================================================\n",
1129
- " [GPU 0 - Pipe 0] Loading...\n"
1130
- ]
1131
- },
1132
- {
1133
- "output_type": "display_data",
1134
- "data": {
1135
- "text/plain": [
1136
- "Loading pipeline components...: 0%| | 0/5 [00:00<?, ?it/s]"
1137
- ],
1138
- "application/vnd.jupyter.widget-view+json": {
1139
- "version_major": 2,
1140
- "version_minor": 0,
1141
- "model_id": "dee0c57fe33c4043b4b3482ec2906654"
1142
- }
1143
- },
1144
- "metadata": {}
1145
- },
1146
- {
1147
- "output_type": "display_data",
1148
- "data": {
1149
- "text/plain": [
1150
- "Loading weights: 0%| | 0/901 [00:00<?, ?it/s]"
1151
- ],
1152
- "application/vnd.jupyter.widget-view+json": {
1153
- "version_major": 2,
1154
- "version_minor": 0,
1155
- "model_id": "878c5b445b2245889eabf8d8c167dddd"
1156
- }
1157
- },
1158
- "metadata": {}
1159
- },
1160
- {
1161
- "output_type": "display_data",
1162
- "data": {
1163
- "text/plain": [
1164
- "Downloading (incomplete total...): 0.00B [00:00, ?B/s]"
1165
- ],
1166
- "application/vnd.jupyter.widget-view+json": {
1167
- "version_major": 2,
1168
- "version_minor": 0,
1169
- "model_id": "29b524ea3074488387f8c8c0b6030b58"
1170
- }
1171
- },
1172
- "metadata": {}
1173
- },
1174
- {
1175
- "output_type": "display_data",
1176
- "data": {
1177
- "text/plain": [
1178
- "Fetching 1 files: 0%| | 0/1 [00:00<?, ?it/s]"
1179
- ],
1180
- "application/vnd.jupyter.widget-view+json": {
1181
- "version_major": 2,
1182
- "version_minor": 0,
1183
- "model_id": "4bf16be679d74dd4a7434a2b981b0b86"
1184
- }
1185
- },
1186
- "metadata": {}
1187
- },
1188
- {
1189
- "output_type": "stream",
1190
- "name": "stdout",
1191
- "text": [
1192
- "LoRa loaded from /content/better_skin_real1_klein_4b.safetensors\n",
1193
- "Converting lora better_skin_real1_klein_4b.safetensors to diffusers format...\n",
1194
- "✅ Kohya → Diffusers conversion completed:\n",
1195
- " 200 original keys → 200 converted keys\n",
1196
- " 200 keys modified\n",
1197
- "\n",
1198
- " lora_unet_single_blocks_0_attn_to_out.lora_down.weight → shape: torch.Size([48, 12288])\n",
1199
- " lora_unet_single_blocks_0_attn_to_out.lora_up.weight → shape: torch.Size([3072, 48])\n",
1200
- " lora_unet_single_blocks_0_attn_to_qkv_mlp_proj.lora_down.weight → shape: torch.Size([54, 3072])\n",
1201
- " lora_unet_single_blocks_0_attn_to_qkv_mlp_proj.lora_up.weight → shape: torch.Size([27648, 54])\n",
1202
- " lora_unet_single_blocks_1_attn_to_out.lora_down.weight → shape: torch.Size([44, 12288])\n",
1203
- " lora_unet_single_blocks_1_attn_to_out.lora_up.weight → shape: torch.Size([3072, 44])\n",
1204
- " lora_unet_single_blocks_1_attn_to_qkv_mlp_proj.lora_down.weight → shape: torch.Size([51, 3072])\n",
1205
- " lora_unet_single_blocks_1_attn_to_qkv_mlp_proj.lora_up.weight → shape: torch.Size([27648, 51])\n",
1206
- " lora_unet_single_blocks_10_attn_to_out.lora_down.weight → shape: torch.Size([44, 12288])\n",
1207
- " lora_unet_single_blocks_10_attn_to_out.lora_up.weight → shape: torch.Size([3072, 44])\n"
1208
- ]
1209
- },
1210
- {
1211
- "output_type": "stream",
1212
- "name": "stderr",
1213
- "text": [
1214
- "Unsupported keys for Kohya Flux2 LoRA conversion: ['lora_unet_double_blocks_0_attn_add_k_proj.lora_down.weight', 'lora_unet_double_blocks_0_attn_add_k_proj.lora_up.weight', 'lora_unet_double_blocks_0_attn_add_q_proj.lora_down.weight', 'lora_unet_double_blocks_0_attn_add_q_proj.lora_up.weight', 'lora_unet_double_blocks_0_attn_add_v_proj.lora_down.weight', 'lora_unet_double_blocks_0_attn_add_v_proj.lora_up.weight', 'lora_unet_double_blocks_0_attn_to_add_out.lora_down.weight', 'lora_unet_double_blocks_0_attn_to_add_out.lora_up.weight', 'lora_unet_double_blocks_0_attn_to_k.lora_down.weight', 'lora_unet_double_blocks_0_attn_to_k.lora_up.weight', 'lora_unet_double_blocks_0_attn_to_out_0.lora_down.weight', 'lora_unet_double_blocks_0_attn_to_out_0.lora_up.weight', 'lora_unet_double_blocks_0_attn_to_q.lora_down.weight', 'lora_unet_double_blocks_0_attn_to_q.lora_up.weight', 'lora_unet_double_blocks_0_attn_to_v.lora_down.weight', 'lora_unet_double_blocks_0_attn_to_v.lora_up.weight', 'lora_unet_double_blocks_0_ff_context_linear_in.lora_down.weight', 'lora_unet_double_blocks_0_ff_context_linear_in.lora_up.weight', 'lora_unet_double_blocks_0_ff_context_linear_out.lora_down.weight', 'lora_unet_double_blocks_0_ff_context_linear_out.lora_up.weight', 'lora_unet_double_blocks_0_ff_linear_in.lora_down.weight', 'lora_unet_double_blocks_0_ff_linear_in.lora_up.weight', 'lora_unet_double_blocks_0_ff_linear_out.lora_down.weight', 'lora_unet_double_blocks_0_ff_linear_out.lora_up.weight', 'lora_unet_double_blocks_1_attn_add_k_proj.lora_down.weight', 'lora_unet_double_blocks_1_attn_add_k_proj.lora_up.weight', 'lora_unet_double_blocks_1_attn_add_q_proj.lora_down.weight', 'lora_unet_double_blocks_1_attn_add_q_proj.lora_up.weight', 'lora_unet_double_blocks_1_attn_add_v_proj.lora_down.weight', 'lora_unet_double_blocks_1_attn_add_v_proj.lora_up.weight', 'lora_unet_double_blocks_1_attn_to_add_out.lora_down.weight', 'lora_unet_double_blocks_1_attn_to_add_out.lora_up.weight', 'lora_unet_double_blocks_1_attn_to_k.lora_down.weight', 'lora_unet_double_blocks_1_attn_to_k.lora_up.weight', 'lora_unet_double_blocks_1_attn_to_out_0.lora_down.weight', 'lora_unet_double_blocks_1_attn_to_out_0.lora_up.weight', 'lora_unet_double_blocks_1_attn_to_q.lora_down.weight', 'lora_unet_double_blocks_1_attn_to_q.lora_up.weight', 'lora_unet_double_blocks_1_attn_to_v.lora_down.weight', 'lora_unet_double_blocks_1_attn_to_v.lora_up.weight', 'lora_unet_double_blocks_1_ff_context_linear_in.lora_down.weight', 'lora_unet_double_blocks_1_ff_context_linear_in.lora_up.weight', 'lora_unet_double_blocks_1_ff_context_linear_out.lora_down.weight', 'lora_unet_double_blocks_1_ff_context_linear_out.lora_up.weight', 'lora_unet_double_blocks_1_ff_linear_in.lora_down.weight', 'lora_unet_double_blocks_1_ff_linear_in.lora_up.weight', 'lora_unet_double_blocks_1_ff_linear_out.lora_down.weight', 'lora_unet_double_blocks_1_ff_linear_out.lora_up.weight', 'lora_unet_double_blocks_2_attn_add_k_proj.lora_down.weight', 'lora_unet_double_blocks_2_attn_add_k_proj.lora_up.weight', 'lora_unet_double_blocks_2_attn_add_q_proj.lora_down.weight', 'lora_unet_double_blocks_2_attn_add_q_proj.lora_up.weight', 'lora_unet_double_blocks_2_attn_add_v_proj.lora_down.weight', 'lora_unet_double_blocks_2_attn_add_v_proj.lora_up.weight', 'lora_unet_double_blocks_2_attn_to_add_out.lora_down.weight', 'lora_unet_double_blocks_2_attn_to_add_out.lora_up.weight', 'lora_unet_double_blocks_2_attn_to_k.lora_down.weight', 'lora_unet_double_blocks_2_attn_to_k.lora_up.weight', 'lora_unet_double_blocks_2_attn_to_out_0.lora_down.weight', 'lora_unet_double_blocks_2_attn_to_out_0.lora_up.weight', 'lora_unet_double_blocks_2_attn_to_q.lora_down.weight', 'lora_unet_double_blocks_2_attn_to_q.lora_up.weight', 'lora_unet_double_blocks_2_attn_to_v.lora_down.weight', 'lora_unet_double_blocks_2_attn_to_v.lora_up.weight', 'lora_unet_double_blocks_2_ff_context_linear_in.lora_down.weight', 'lora_unet_double_blocks_2_ff_context_linear_in.lora_up.weight', 'lora_unet_double_blocks_2_ff_context_linear_out.lora_down.weight', 'lora_unet_double_blocks_2_ff_context_linear_out.lora_up.weight', 'lora_unet_double_blocks_2_ff_linear_in.lora_down.weight', 'lora_unet_double_blocks_2_ff_linear_in.lora_up.weight', 'lora_unet_double_blocks_2_ff_linear_out.lora_down.weight', 'lora_unet_double_blocks_2_ff_linear_out.lora_up.weight', 'lora_unet_double_blocks_3_attn_add_k_proj.lora_down.weight', 'lora_unet_double_blocks_3_attn_add_k_proj.lora_up.weight', 'lora_unet_double_blocks_3_attn_add_q_proj.lora_down.weight', 'lora_unet_double_blocks_3_attn_add_q_proj.lora_up.weight', 'lora_unet_double_blocks_3_attn_add_v_proj.lora_down.weight', 'lora_unet_double_blocks_3_attn_add_v_proj.lora_up.weight', 'lora_unet_double_blocks_3_attn_to_add_out.lora_down.weight', 'lora_unet_double_blocks_3_attn_to_add_out.lora_up.weight', 'lora_unet_double_blocks_3_attn_to_k.lora_down.weight', 'lora_unet_double_blocks_3_attn_to_k.lora_up.weight', 'lora_unet_double_blocks_3_attn_to_out_0.lora_down.weight', 'lora_unet_double_blocks_3_attn_to_out_0.lora_up.weight', 'lora_unet_double_blocks_3_attn_to_q.lora_down.weight', 'lora_unet_double_blocks_3_attn_to_q.lora_up.weight', 'lora_unet_double_blocks_3_attn_to_v.lora_down.weight', 'lora_unet_double_blocks_3_attn_to_v.lora_up.weight', 'lora_unet_double_blocks_3_ff_context_linear_in.lora_down.weight', 'lora_unet_double_blocks_3_ff_context_linear_in.lora_up.weight', 'lora_unet_double_blocks_3_ff_context_linear_out.lora_down.weight', 'lora_unet_double_blocks_3_ff_context_linear_out.lora_up.weight', 'lora_unet_double_blocks_3_ff_linear_in.lora_down.weight', 'lora_unet_double_blocks_3_ff_linear_in.lora_up.weight', 'lora_unet_double_blocks_3_ff_linear_out.lora_down.weight', 'lora_unet_double_blocks_3_ff_linear_out.lora_up.weight', 'lora_unet_double_blocks_4_attn_add_k_proj.lora_down.weight', 'lora_unet_double_blocks_4_attn_add_k_proj.lora_up.weight', 'lora_unet_double_blocks_4_attn_add_q_proj.lora_down.weight', 'lora_unet_double_blocks_4_attn_add_q_proj.lora_up.weight', 'lora_unet_double_blocks_4_attn_add_v_proj.lora_down.weight', 'lora_unet_double_blocks_4_attn_add_v_proj.lora_up.weight', 'lora_unet_double_blocks_4_attn_to_add_out.lora_down.weight', 'lora_unet_double_blocks_4_attn_to_add_out.lora_up.weight', 'lora_unet_double_blocks_4_attn_to_k.lora_down.weight', 'lora_unet_double_blocks_4_attn_to_k.lora_up.weight', 'lora_unet_double_blocks_4_attn_to_out_0.lora_down.weight', 'lora_unet_double_blocks_4_attn_to_out_0.lora_up.weight', 'lora_unet_double_blocks_4_attn_to_q.lora_down.weight', 'lora_unet_double_blocks_4_attn_to_q.lora_up.weight', 'lora_unet_double_blocks_4_attn_to_v.lora_down.weight', 'lora_unet_double_blocks_4_attn_to_v.lora_up.weight', 'lora_unet_double_blocks_4_ff_context_linear_in.lora_down.weight', 'lora_unet_double_blocks_4_ff_context_linear_in.lora_up.weight', 'lora_unet_double_blocks_4_ff_context_linear_out.lora_down.weight', 'lora_unet_double_blocks_4_ff_context_linear_out.lora_up.weight', 'lora_unet_double_blocks_4_ff_linear_in.lora_down.weight', 'lora_unet_double_blocks_4_ff_linear_in.lora_up.weight', 'lora_unet_double_blocks_4_ff_linear_out.lora_down.weight', 'lora_unet_double_blocks_4_ff_linear_out.lora_up.weight', 'lora_unet_single_blocks_0_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_0_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_0_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_0_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_10_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_10_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_10_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_10_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_11_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_11_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_11_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_11_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_12_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_12_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_12_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_12_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_13_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_13_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_13_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_13_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_14_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_14_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_14_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_14_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_15_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_15_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_15_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_15_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_16_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_16_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_16_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_16_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_17_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_17_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_17_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_17_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_18_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_18_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_18_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_18_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_19_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_19_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_19_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_19_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_1_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_1_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_1_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_1_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_2_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_2_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_2_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_2_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_3_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_3_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_3_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_3_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_4_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_4_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_4_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_4_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_5_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_5_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_5_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_5_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_6_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_6_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_6_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_6_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_7_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_7_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_7_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_7_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_8_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_8_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_8_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_8_attn_to_qkv_mlp_proj.lora_up.weight', 'lora_unet_single_blocks_9_attn_to_out.lora_down.weight', 'lora_unet_single_blocks_9_attn_to_out.lora_up.weight', 'lora_unet_single_blocks_9_attn_to_qkv_mlp_proj.lora_down.weight', 'lora_unet_single_blocks_9_attn_to_qkv_mlp_proj.lora_up.weight']\n",
1215
- "No LoRA keys associated to Flux2Transformer2DModel found with the prefix='transformer'. This is safe to ignore if LoRA state dict didn't originally have any Flux2Transformer2DModel related params. You can also try specifying `prefix=None` to resolve the warning. Otherwise, open an issue if you think it's unexpected: https://github.com/huggingface/diffusers/issues/new\n"
1216
- ]
1217
- },
1218
- {
1219
- "output_type": "stream",
1220
- "name": "stdout",
1221
- "text": [
1222
- "Done! Converted LoRa saved at /content/converted_lora_weights.safetensors\n"
1223
- ]
1224
- },
1225
- {
1226
- "output_type": "error",
1227
- "ename": "ValueError",
1228
- "evalue": "Adapter name(s) {'default_lora'} not in the list of present adapters: set().",
1229
- "traceback": [
1230
- "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
1231
- "\u001b[0;31mValueError\u001b[0m Traceback (most recent call last)",
1232
- "\u001b[0;32m/tmp/ipykernel_183/3407728754.py\u001b[0m in \u001b[0;36m<cell line: 0>\u001b[0;34m()\u001b[0m\n\u001b[1;32m 260\u001b[0m \u001b[0mtorch\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcuda\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mreset_peak_memory_stats\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mgpu\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 261\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 262\u001b[0;31m \u001b[0mpipe\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mload_klein_pipe\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mgpu\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mp\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;31m# your existing function (with small tweaks below)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 263\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 264\u001b[0m \u001b[0mpipes\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mappend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mpipe\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
1233
- "\u001b[0;32m/tmp/ipykernel_183/3407728754.py\u001b[0m in \u001b[0;36mload_klein_pipe\u001b[0;34m(gpu_id, pipe_id)\u001b[0m\n\u001b[1;32m 205\u001b[0m \u001b[0;31m#-----#\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 206\u001b[0m \u001b[0mpipe\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mload_lora_weights\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mlora_loaded\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mweight_name\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mlora_name_loaded\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0madapter_name\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m\"default_lora\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 207\u001b[0;31m \u001b[0mpipe\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mset_adapters\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m\"default_lora\"\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0mlora_strength_loaded\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 208\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34mf'\\n✅ LoRa {lora_name_loaded} loaded into pipe at strength {lora_strength_loaded}'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 209\u001b[0m \u001b[0;31m#-----#\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
1234
- "\u001b[0;32m/usr/local/lib/python3.12/dist-packages/diffusers/loaders/lora_base.py\u001b[0m in \u001b[0;36mset_adapters\u001b[0;34m(self, adapter_names, adapter_weights)\u001b[0m\n\u001b[1;32m 735\u001b[0m \u001b[0mmissing_adapters\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mset\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0madapter_names\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m-\u001b[0m \u001b[0mall_adapters\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 736\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mlen\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmissing_adapters\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m>\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 737\u001b[0;31m raise ValueError(\n\u001b[0m\u001b[1;32m 738\u001b[0m \u001b[0;34mf\"Adapter name(s) {missing_adapters} not in the list of present adapters: {all_adapters}.\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 739\u001b[0m )\n",
1235
- "\u001b[0;31mValueError\u001b[0m: Adapter name(s) {'default_lora'} not in the list of present adapters: set()."
1236
- ]
1237
- }
1238
- ]
1239
  },
1240
  {
1241
  "cell_type": "code",
@@ -1373,27 +1168,10 @@
1373
  " return pipe"
1374
  ],
1375
  "metadata": {
1376
- "colab": {
1377
- "base_uri": "https://localhost:8080/",
1378
- "height": 141
1379
- },
1380
- "id": "ibvDcHtJFtr8",
1381
- "outputId": "dab5f14e-dbca-4f43-85ab-5882c8458679"
1382
  },
1383
- "execution_count": 5,
1384
- "outputs": [
1385
- {
1386
- "output_type": "error",
1387
- "ename": "NameError",
1388
- "evalue": "name 'pipe' is not defined",
1389
- "traceback": [
1390
- "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
1391
- "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
1392
- "\u001b[0;32m/tmp/ipykernel_907/2122711465.py\u001b[0m in \u001b[0;36m<cell line: 0>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mpipe\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtransformer\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
1393
- "\u001b[0;31mNameError\u001b[0m: name 'pipe' is not defined"
1394
- ]
1395
- }
1396
- ]
1397
  },
1398
  {
1399
  "cell_type": "code",
@@ -1602,26 +1380,10 @@
1602
  "print(\"You can download it from the file browser.\")"
1603
  ],
1604
  "metadata": {
1605
- "id": "kwF4CB3GmTwB",
1606
- "colab": {
1607
- "base_uri": "https://localhost:8080/"
1608
- },
1609
- "outputId": "591be8ed-5d94-41df-f612-faf145bc1c57"
1610
  },
1611
- "execution_count": 6,
1612
- "outputs": [
1613
- {
1614
- "output_type": "stream",
1615
- "name": "stdout",
1616
- "text": [
1617
- "📦 Creating final zip...\n",
1618
- "Collected 10 encrypted files\n",
1619
- "\n",
1620
- "✅ SUCCESS! Final file: /content/final_encrypted_outputs.zip\n",
1621
- "You can download it from the file browser.\n"
1622
- ]
1623
- }
1624
- ]
1625
  },
1626
  {
1627
  "cell_type": "code",
@@ -1744,114 +1506,10 @@
1744
  " print(\"📥 Download started...\")"
1745
  ],
1746
  "metadata": {
1747
- "colab": {
1748
- "base_uri": "https://localhost:8080/",
1749
- "height": 399
1750
- },
1751
- "id": "GvLYqh4iMBf_",
1752
- "outputId": "5f23f843-3b17-4d63-9b9b-b76a1b23e9fc"
1753
  },
1754
- "execution_count": 7,
1755
- "outputs": [
1756
- {
1757
- "output_type": "stream",
1758
- "name": "stdout",
1759
- "text": [
1760
- "Requirement already satisfied: pynacl in /usr/local/lib/python3.12/dist-packages (1.6.2)\n",
1761
- "Requirement already satisfied: cffi>=2.0.0 in /usr/local/lib/python3.12/dist-packages (from pynacl) (2.0.0)\n",
1762
- "Requirement already satisfied: pycparser in /usr/local/lib/python3.12/dist-packages (from cffi>=2.0.0->pynacl) (3.0)\n",
1763
- "🔓 Decryption Notebook Ready\n",
1764
- "✅ Using manual filepath: /content/final_encrypted_outputs.zip\n",
1765
- "\n",
1766
- "📂 Extracting and decrypting to: /content/decrypted_images\n",
1767
- "🔍 Found 10 encrypted files\n",
1768
- "✅ Decrypted: edited_000008.enc → edited_000008.jpg\n",
1769
- "✅ Decrypted: edited_000005.enc → edited_000005.jpg\n",
1770
- "✅ Decrypted: edited_000007.enc → edited_000007.jpg\n",
1771
- "✅ Decrypted: edited_000001.enc → edited_000001.jpg\n",
1772
- "✅ Decrypted: edited_000004.enc → edited_000004.jpg\n",
1773
- "✅ Decrypted: edited_000006.enc → edited_000006.jpg\n",
1774
- "✅ Decrypted: edited_000002.enc → edited_000002.jpg\n",
1775
- "✅ Decrypted: edited_000009.enc → edited_000009.jpg\n",
1776
- "✅ Decrypted: edited_000000.enc → edited_000000.jpg\n",
1777
- "✅ Decrypted: edited_000003.enc → edited_000003.jpg\n",
1778
- "\n",
1779
- "🎉 Decryption complete! 10/10 files decrypted successfully.\n",
1780
- "📁 Decrypted images saved to: /content/decrypted_images\n"
1781
- ]
1782
- },
1783
- {
1784
- "output_type": "display_data",
1785
- "data": {
1786
- "text/plain": [
1787
- "<IPython.core.display.Javascript object>"
1788
- ],
1789
- "application/javascript": [
1790
- "\n",
1791
- " async function download(id, filename, size) {\n",
1792
- " if (!google.colab.kernel.accessAllowed) {\n",
1793
- " return;\n",
1794
- " }\n",
1795
- " const div = document.createElement('div');\n",
1796
- " const label = document.createElement('label');\n",
1797
- " label.textContent = `Downloading \"${filename}\": `;\n",
1798
- " div.appendChild(label);\n",
1799
- " const progress = document.createElement('progress');\n",
1800
- " progress.max = size;\n",
1801
- " div.appendChild(progress);\n",
1802
- " document.body.appendChild(div);\n",
1803
- "\n",
1804
- " const buffers = [];\n",
1805
- " let downloaded = 0;\n",
1806
- "\n",
1807
- " const channel = await google.colab.kernel.comms.open(id);\n",
1808
- " // Send a message to notify the kernel that we're ready.\n",
1809
- " channel.send({})\n",
1810
- "\n",
1811
- " for await (const message of channel.messages) {\n",
1812
- " // Send a message to notify the kernel that we're ready.\n",
1813
- " channel.send({})\n",
1814
- " if (message.buffers) {\n",
1815
- " for (const buffer of message.buffers) {\n",
1816
- " buffers.push(buffer);\n",
1817
- " downloaded += buffer.byteLength;\n",
1818
- " progress.value = downloaded;\n",
1819
- " }\n",
1820
- " }\n",
1821
- " }\n",
1822
- " const blob = new Blob(buffers, {type: 'application/binary'});\n",
1823
- " const a = document.createElement('a');\n",
1824
- " a.href = window.URL.createObjectURL(blob);\n",
1825
- " a.download = filename;\n",
1826
- " div.appendChild(a);\n",
1827
- " a.click();\n",
1828
- " div.remove();\n",
1829
- " }\n",
1830
- " "
1831
- ]
1832
- },
1833
- "metadata": {}
1834
- },
1835
- {
1836
- "output_type": "display_data",
1837
- "data": {
1838
- "text/plain": [
1839
- "<IPython.core.display.Javascript object>"
1840
- ],
1841
- "application/javascript": [
1842
- "download(\"download_aafade43-8857-4ab0-af6a-92f04dc5f600\", \"decrypted_images.zip\", 3496477)"
1843
- ]
1844
- },
1845
- "metadata": {}
1846
- },
1847
- {
1848
- "output_type": "stream",
1849
- "name": "stdout",
1850
- "text": [
1851
- "📥 Download started...\n"
1852
- ]
1853
- }
1854
- ]
1855
  }
1856
  ],
1857
  "metadata": {
@@ -1866,1379 +1524,7 @@
1866
  "language_info": {
1867
  "name": "python"
1868
  },
1869
- "accelerator": "GPU",
1870
- "widgets": {
1871
- "application/vnd.jupyter.widget-state+json": {
1872
- "dee0c57fe33c4043b4b3482ec2906654": {
1873
- "model_module": "@jupyter-widgets/controls",
1874
- "model_name": "HBoxModel",
1875
- "model_module_version": "1.5.0",
1876
- "state": {
1877
- "_dom_classes": [],
1878
- "_model_module": "@jupyter-widgets/controls",
1879
- "_model_module_version": "1.5.0",
1880
- "_model_name": "HBoxModel",
1881
- "_view_count": null,
1882
- "_view_module": "@jupyter-widgets/controls",
1883
- "_view_module_version": "1.5.0",
1884
- "_view_name": "HBoxView",
1885
- "box_style": "",
1886
- "children": [
1887
- "IPY_MODEL_7b98e69dd90d459e8b9b44081561822c",
1888
- "IPY_MODEL_7309f6b264f3457bb72b6a380e8b6d75",
1889
- "IPY_MODEL_6f1a1b2b4e0543cd93369498407e2957"
1890
- ],
1891
- "layout": "IPY_MODEL_5956eac1639143848e89338a1544d6e4"
1892
- }
1893
- },
1894
- "7b98e69dd90d459e8b9b44081561822c": {
1895
- "model_module": "@jupyter-widgets/controls",
1896
- "model_name": "HTMLModel",
1897
- "model_module_version": "1.5.0",
1898
- "state": {
1899
- "_dom_classes": [],
1900
- "_model_module": "@jupyter-widgets/controls",
1901
- "_model_module_version": "1.5.0",
1902
- "_model_name": "HTMLModel",
1903
- "_view_count": null,
1904
- "_view_module": "@jupyter-widgets/controls",
1905
- "_view_module_version": "1.5.0",
1906
- "_view_name": "HTMLView",
1907
- "description": "",
1908
- "description_tooltip": null,
1909
- "layout": "IPY_MODEL_6882ae6d24904b85ab5b809e8b1c7043",
1910
- "placeholder": "​",
1911
- "style": "IPY_MODEL_8df2d1610b17485b870a2ab1a00b1ebb",
1912
- "value": "Loading pipeline components...: 100%"
1913
- }
1914
- },
1915
- "7309f6b264f3457bb72b6a380e8b6d75": {
1916
- "model_module": "@jupyter-widgets/controls",
1917
- "model_name": "FloatProgressModel",
1918
- "model_module_version": "1.5.0",
1919
- "state": {
1920
- "_dom_classes": [],
1921
- "_model_module": "@jupyter-widgets/controls",
1922
- "_model_module_version": "1.5.0",
1923
- "_model_name": "FloatProgressModel",
1924
- "_view_count": null,
1925
- "_view_module": "@jupyter-widgets/controls",
1926
- "_view_module_version": "1.5.0",
1927
- "_view_name": "ProgressView",
1928
- "bar_style": "success",
1929
- "description": "",
1930
- "description_tooltip": null,
1931
- "layout": "IPY_MODEL_f61dccc46f2b4b149a17964dabc63a37",
1932
- "max": 5,
1933
- "min": 0,
1934
- "orientation": "horizontal",
1935
- "style": "IPY_MODEL_438c1a421f094579a565b56165143d2b",
1936
- "value": 5
1937
- }
1938
- },
1939
- "6f1a1b2b4e0543cd93369498407e2957": {
1940
- "model_module": "@jupyter-widgets/controls",
1941
- "model_name": "HTMLModel",
1942
- "model_module_version": "1.5.0",
1943
- "state": {
1944
- "_dom_classes": [],
1945
- "_model_module": "@jupyter-widgets/controls",
1946
- "_model_module_version": "1.5.0",
1947
- "_model_name": "HTMLModel",
1948
- "_view_count": null,
1949
- "_view_module": "@jupyter-widgets/controls",
1950
- "_view_module_version": "1.5.0",
1951
- "_view_name": "HTMLView",
1952
- "description": "",
1953
- "description_tooltip": null,
1954
- "layout": "IPY_MODEL_3503d239dbc244ef9a0c7f72e9f46ef6",
1955
- "placeholder": "​",
1956
- "style": "IPY_MODEL_9dd4df9a136b4f8687b73329fac5d981",
1957
- "value": " 5/5 [00:14&lt;00:00,  3.55s/it]"
1958
- }
1959
- },
1960
- "5956eac1639143848e89338a1544d6e4": {
1961
- "model_module": "@jupyter-widgets/base",
1962
- "model_name": "LayoutModel",
1963
- "model_module_version": "1.2.0",
1964
- "state": {
1965
- "_model_module": "@jupyter-widgets/base",
1966
- "_model_module_version": "1.2.0",
1967
- "_model_name": "LayoutModel",
1968
- "_view_count": null,
1969
- "_view_module": "@jupyter-widgets/base",
1970
- "_view_module_version": "1.2.0",
1971
- "_view_name": "LayoutView",
1972
- "align_content": null,
1973
- "align_items": null,
1974
- "align_self": null,
1975
- "border": null,
1976
- "bottom": null,
1977
- "display": null,
1978
- "flex": null,
1979
- "flex_flow": null,
1980
- "grid_area": null,
1981
- "grid_auto_columns": null,
1982
- "grid_auto_flow": null,
1983
- "grid_auto_rows": null,
1984
- "grid_column": null,
1985
- "grid_gap": null,
1986
- "grid_row": null,
1987
- "grid_template_areas": null,
1988
- "grid_template_columns": null,
1989
- "grid_template_rows": null,
1990
- "height": null,
1991
- "justify_content": null,
1992
- "justify_items": null,
1993
- "left": null,
1994
- "margin": null,
1995
- "max_height": null,
1996
- "max_width": null,
1997
- "min_height": null,
1998
- "min_width": null,
1999
- "object_fit": null,
2000
- "object_position": null,
2001
- "order": null,
2002
- "overflow": null,
2003
- "overflow_x": null,
2004
- "overflow_y": null,
2005
- "padding": null,
2006
- "right": null,
2007
- "top": null,
2008
- "visibility": null,
2009
- "width": null
2010
- }
2011
- },
2012
- "6882ae6d24904b85ab5b809e8b1c7043": {
2013
- "model_module": "@jupyter-widgets/base",
2014
- "model_name": "LayoutModel",
2015
- "model_module_version": "1.2.0",
2016
- "state": {
2017
- "_model_module": "@jupyter-widgets/base",
2018
- "_model_module_version": "1.2.0",
2019
- "_model_name": "LayoutModel",
2020
- "_view_count": null,
2021
- "_view_module": "@jupyter-widgets/base",
2022
- "_view_module_version": "1.2.0",
2023
- "_view_name": "LayoutView",
2024
- "align_content": null,
2025
- "align_items": null,
2026
- "align_self": null,
2027
- "border": null,
2028
- "bottom": null,
2029
- "display": null,
2030
- "flex": null,
2031
- "flex_flow": null,
2032
- "grid_area": null,
2033
- "grid_auto_columns": null,
2034
- "grid_auto_flow": null,
2035
- "grid_auto_rows": null,
2036
- "grid_column": null,
2037
- "grid_gap": null,
2038
- "grid_row": null,
2039
- "grid_template_areas": null,
2040
- "grid_template_columns": null,
2041
- "grid_template_rows": null,
2042
- "height": null,
2043
- "justify_content": null,
2044
- "justify_items": null,
2045
- "left": null,
2046
- "margin": null,
2047
- "max_height": null,
2048
- "max_width": null,
2049
- "min_height": null,
2050
- "min_width": null,
2051
- "object_fit": null,
2052
- "object_position": null,
2053
- "order": null,
2054
- "overflow": null,
2055
- "overflow_x": null,
2056
- "overflow_y": null,
2057
- "padding": null,
2058
- "right": null,
2059
- "top": null,
2060
- "visibility": null,
2061
- "width": null
2062
- }
2063
- },
2064
- "8df2d1610b17485b870a2ab1a00b1ebb": {
2065
- "model_module": "@jupyter-widgets/controls",
2066
- "model_name": "DescriptionStyleModel",
2067
- "model_module_version": "1.5.0",
2068
- "state": {
2069
- "_model_module": "@jupyter-widgets/controls",
2070
- "_model_module_version": "1.5.0",
2071
- "_model_name": "DescriptionStyleModel",
2072
- "_view_count": null,
2073
- "_view_module": "@jupyter-widgets/base",
2074
- "_view_module_version": "1.2.0",
2075
- "_view_name": "StyleView",
2076
- "description_width": ""
2077
- }
2078
- },
2079
- "f61dccc46f2b4b149a17964dabc63a37": {
2080
- "model_module": "@jupyter-widgets/base",
2081
- "model_name": "LayoutModel",
2082
- "model_module_version": "1.2.0",
2083
- "state": {
2084
- "_model_module": "@jupyter-widgets/base",
2085
- "_model_module_version": "1.2.0",
2086
- "_model_name": "LayoutModel",
2087
- "_view_count": null,
2088
- "_view_module": "@jupyter-widgets/base",
2089
- "_view_module_version": "1.2.0",
2090
- "_view_name": "LayoutView",
2091
- "align_content": null,
2092
- "align_items": null,
2093
- "align_self": null,
2094
- "border": null,
2095
- "bottom": null,
2096
- "display": null,
2097
- "flex": null,
2098
- "flex_flow": null,
2099
- "grid_area": null,
2100
- "grid_auto_columns": null,
2101
- "grid_auto_flow": null,
2102
- "grid_auto_rows": null,
2103
- "grid_column": null,
2104
- "grid_gap": null,
2105
- "grid_row": null,
2106
- "grid_template_areas": null,
2107
- "grid_template_columns": null,
2108
- "grid_template_rows": null,
2109
- "height": null,
2110
- "justify_content": null,
2111
- "justify_items": null,
2112
- "left": null,
2113
- "margin": null,
2114
- "max_height": null,
2115
- "max_width": null,
2116
- "min_height": null,
2117
- "min_width": null,
2118
- "object_fit": null,
2119
- "object_position": null,
2120
- "order": null,
2121
- "overflow": null,
2122
- "overflow_x": null,
2123
- "overflow_y": null,
2124
- "padding": null,
2125
- "right": null,
2126
- "top": null,
2127
- "visibility": null,
2128
- "width": null
2129
- }
2130
- },
2131
- "438c1a421f094579a565b56165143d2b": {
2132
- "model_module": "@jupyter-widgets/controls",
2133
- "model_name": "ProgressStyleModel",
2134
- "model_module_version": "1.5.0",
2135
- "state": {
2136
- "_model_module": "@jupyter-widgets/controls",
2137
- "_model_module_version": "1.5.0",
2138
- "_model_name": "ProgressStyleModel",
2139
- "_view_count": null,
2140
- "_view_module": "@jupyter-widgets/base",
2141
- "_view_module_version": "1.2.0",
2142
- "_view_name": "StyleView",
2143
- "bar_color": null,
2144
- "description_width": ""
2145
- }
2146
- },
2147
- "3503d239dbc244ef9a0c7f72e9f46ef6": {
2148
- "model_module": "@jupyter-widgets/base",
2149
- "model_name": "LayoutModel",
2150
- "model_module_version": "1.2.0",
2151
- "state": {
2152
- "_model_module": "@jupyter-widgets/base",
2153
- "_model_module_version": "1.2.0",
2154
- "_model_name": "LayoutModel",
2155
- "_view_count": null,
2156
- "_view_module": "@jupyter-widgets/base",
2157
- "_view_module_version": "1.2.0",
2158
- "_view_name": "LayoutView",
2159
- "align_content": null,
2160
- "align_items": null,
2161
- "align_self": null,
2162
- "border": null,
2163
- "bottom": null,
2164
- "display": null,
2165
- "flex": null,
2166
- "flex_flow": null,
2167
- "grid_area": null,
2168
- "grid_auto_columns": null,
2169
- "grid_auto_flow": null,
2170
- "grid_auto_rows": null,
2171
- "grid_column": null,
2172
- "grid_gap": null,
2173
- "grid_row": null,
2174
- "grid_template_areas": null,
2175
- "grid_template_columns": null,
2176
- "grid_template_rows": null,
2177
- "height": null,
2178
- "justify_content": null,
2179
- "justify_items": null,
2180
- "left": null,
2181
- "margin": null,
2182
- "max_height": null,
2183
- "max_width": null,
2184
- "min_height": null,
2185
- "min_width": null,
2186
- "object_fit": null,
2187
- "object_position": null,
2188
- "order": null,
2189
- "overflow": null,
2190
- "overflow_x": null,
2191
- "overflow_y": null,
2192
- "padding": null,
2193
- "right": null,
2194
- "top": null,
2195
- "visibility": null,
2196
- "width": null
2197
- }
2198
- },
2199
- "9dd4df9a136b4f8687b73329fac5d981": {
2200
- "model_module": "@jupyter-widgets/controls",
2201
- "model_name": "DescriptionStyleModel",
2202
- "model_module_version": "1.5.0",
2203
- "state": {
2204
- "_model_module": "@jupyter-widgets/controls",
2205
- "_model_module_version": "1.5.0",
2206
- "_model_name": "DescriptionStyleModel",
2207
- "_view_count": null,
2208
- "_view_module": "@jupyter-widgets/base",
2209
- "_view_module_version": "1.2.0",
2210
- "_view_name": "StyleView",
2211
- "description_width": ""
2212
- }
2213
- },
2214
- "878c5b445b2245889eabf8d8c167dddd": {
2215
- "model_module": "@jupyter-widgets/controls",
2216
- "model_name": "HBoxModel",
2217
- "model_module_version": "1.5.0",
2218
- "state": {
2219
- "_dom_classes": [],
2220
- "_model_module": "@jupyter-widgets/controls",
2221
- "_model_module_version": "1.5.0",
2222
- "_model_name": "HBoxModel",
2223
- "_view_count": null,
2224
- "_view_module": "@jupyter-widgets/controls",
2225
- "_view_module_version": "1.5.0",
2226
- "_view_name": "HBoxView",
2227
- "box_style": "",
2228
- "children": [
2229
- "IPY_MODEL_8482938192ee4bedb40934fba87a650a",
2230
- "IPY_MODEL_dd055d8ab36f45c2ac0e45ae30fb04a7",
2231
- "IPY_MODEL_9c876fb0f3154b63bce4792cce73517a"
2232
- ],
2233
- "layout": "IPY_MODEL_3ecdbb6b04c94eac950d794750461165"
2234
- }
2235
- },
2236
- "8482938192ee4bedb40934fba87a650a": {
2237
- "model_module": "@jupyter-widgets/controls",
2238
- "model_name": "HTMLModel",
2239
- "model_module_version": "1.5.0",
2240
- "state": {
2241
- "_dom_classes": [],
2242
- "_model_module": "@jupyter-widgets/controls",
2243
- "_model_module_version": "1.5.0",
2244
- "_model_name": "HTMLModel",
2245
- "_view_count": null,
2246
- "_view_module": "@jupyter-widgets/controls",
2247
- "_view_module_version": "1.5.0",
2248
- "_view_name": "HTMLView",
2249
- "description": "",
2250
- "description_tooltip": null,
2251
- "layout": "IPY_MODEL_1007ff00bb7d4b1a8da921c647a09d75",
2252
- "placeholder": "​",
2253
- "style": "IPY_MODEL_ec122c65ffbe4f5aad5b56630d457c8a",
2254
- "value": "Loading weights: 100%"
2255
- }
2256
- },
2257
- "dd055d8ab36f45c2ac0e45ae30fb04a7": {
2258
- "model_module": "@jupyter-widgets/controls",
2259
- "model_name": "FloatProgressModel",
2260
- "model_module_version": "1.5.0",
2261
- "state": {
2262
- "_dom_classes": [],
2263
- "_model_module": "@jupyter-widgets/controls",
2264
- "_model_module_version": "1.5.0",
2265
- "_model_name": "FloatProgressModel",
2266
- "_view_count": null,
2267
- "_view_module": "@jupyter-widgets/controls",
2268
- "_view_module_version": "1.5.0",
2269
- "_view_name": "ProgressView",
2270
- "bar_style": "success",
2271
- "description": "",
2272
- "description_tooltip": null,
2273
- "layout": "IPY_MODEL_d0e88d4dde45470bacf0aa4e93fddc6c",
2274
- "max": 901,
2275
- "min": 0,
2276
- "orientation": "horizontal",
2277
- "style": "IPY_MODEL_849cc016ce5248289f0b0c0cecc0e73c",
2278
- "value": 901
2279
- }
2280
- },
2281
- "9c876fb0f3154b63bce4792cce73517a": {
2282
- "model_module": "@jupyter-widgets/controls",
2283
- "model_name": "HTMLModel",
2284
- "model_module_version": "1.5.0",
2285
- "state": {
2286
- "_dom_classes": [],
2287
- "_model_module": "@jupyter-widgets/controls",
2288
- "_model_module_version": "1.5.0",
2289
- "_model_name": "HTMLModel",
2290
- "_view_count": null,
2291
- "_view_module": "@jupyter-widgets/controls",
2292
- "_view_module_version": "1.5.0",
2293
- "_view_name": "HTMLView",
2294
- "description": "",
2295
- "description_tooltip": null,
2296
- "layout": "IPY_MODEL_5e71c389e8c646f0b3f5d7a86471c1b9",
2297
- "placeholder": "​",
2298
- "style": "IPY_MODEL_e5565fba19da45cabf3938dea17bc113",
2299
- "value": " 901/901 [00:03&lt;00:00, 507.50it/s, Materializing param=model.norm.weight]"
2300
- }
2301
- },
2302
- "3ecdbb6b04c94eac950d794750461165": {
2303
- "model_module": "@jupyter-widgets/base",
2304
- "model_name": "LayoutModel",
2305
- "model_module_version": "1.2.0",
2306
- "state": {
2307
- "_model_module": "@jupyter-widgets/base",
2308
- "_model_module_version": "1.2.0",
2309
- "_model_name": "LayoutModel",
2310
- "_view_count": null,
2311
- "_view_module": "@jupyter-widgets/base",
2312
- "_view_module_version": "1.2.0",
2313
- "_view_name": "LayoutView",
2314
- "align_content": null,
2315
- "align_items": null,
2316
- "align_self": null,
2317
- "border": null,
2318
- "bottom": null,
2319
- "display": null,
2320
- "flex": null,
2321
- "flex_flow": null,
2322
- "grid_area": null,
2323
- "grid_auto_columns": null,
2324
- "grid_auto_flow": null,
2325
- "grid_auto_rows": null,
2326
- "grid_column": null,
2327
- "grid_gap": null,
2328
- "grid_row": null,
2329
- "grid_template_areas": null,
2330
- "grid_template_columns": null,
2331
- "grid_template_rows": null,
2332
- "height": null,
2333
- "justify_content": null,
2334
- "justify_items": null,
2335
- "left": null,
2336
- "margin": null,
2337
- "max_height": null,
2338
- "max_width": null,
2339
- "min_height": null,
2340
- "min_width": null,
2341
- "object_fit": null,
2342
- "object_position": null,
2343
- "order": null,
2344
- "overflow": null,
2345
- "overflow_x": null,
2346
- "overflow_y": null,
2347
- "padding": null,
2348
- "right": null,
2349
- "top": null,
2350
- "visibility": null,
2351
- "width": null
2352
- }
2353
- },
2354
- "1007ff00bb7d4b1a8da921c647a09d75": {
2355
- "model_module": "@jupyter-widgets/base",
2356
- "model_name": "LayoutModel",
2357
- "model_module_version": "1.2.0",
2358
- "state": {
2359
- "_model_module": "@jupyter-widgets/base",
2360
- "_model_module_version": "1.2.0",
2361
- "_model_name": "LayoutModel",
2362
- "_view_count": null,
2363
- "_view_module": "@jupyter-widgets/base",
2364
- "_view_module_version": "1.2.0",
2365
- "_view_name": "LayoutView",
2366
- "align_content": null,
2367
- "align_items": null,
2368
- "align_self": null,
2369
- "border": null,
2370
- "bottom": null,
2371
- "display": null,
2372
- "flex": null,
2373
- "flex_flow": null,
2374
- "grid_area": null,
2375
- "grid_auto_columns": null,
2376
- "grid_auto_flow": null,
2377
- "grid_auto_rows": null,
2378
- "grid_column": null,
2379
- "grid_gap": null,
2380
- "grid_row": null,
2381
- "grid_template_areas": null,
2382
- "grid_template_columns": null,
2383
- "grid_template_rows": null,
2384
- "height": null,
2385
- "justify_content": null,
2386
- "justify_items": null,
2387
- "left": null,
2388
- "margin": null,
2389
- "max_height": null,
2390
- "max_width": null,
2391
- "min_height": null,
2392
- "min_width": null,
2393
- "object_fit": null,
2394
- "object_position": null,
2395
- "order": null,
2396
- "overflow": null,
2397
- "overflow_x": null,
2398
- "overflow_y": null,
2399
- "padding": null,
2400
- "right": null,
2401
- "top": null,
2402
- "visibility": null,
2403
- "width": null
2404
- }
2405
- },
2406
- "ec122c65ffbe4f5aad5b56630d457c8a": {
2407
- "model_module": "@jupyter-widgets/controls",
2408
- "model_name": "DescriptionStyleModel",
2409
- "model_module_version": "1.5.0",
2410
- "state": {
2411
- "_model_module": "@jupyter-widgets/controls",
2412
- "_model_module_version": "1.5.0",
2413
- "_model_name": "DescriptionStyleModel",
2414
- "_view_count": null,
2415
- "_view_module": "@jupyter-widgets/base",
2416
- "_view_module_version": "1.2.0",
2417
- "_view_name": "StyleView",
2418
- "description_width": ""
2419
- }
2420
- },
2421
- "d0e88d4dde45470bacf0aa4e93fddc6c": {
2422
- "model_module": "@jupyter-widgets/base",
2423
- "model_name": "LayoutModel",
2424
- "model_module_version": "1.2.0",
2425
- "state": {
2426
- "_model_module": "@jupyter-widgets/base",
2427
- "_model_module_version": "1.2.0",
2428
- "_model_name": "LayoutModel",
2429
- "_view_count": null,
2430
- "_view_module": "@jupyter-widgets/base",
2431
- "_view_module_version": "1.2.0",
2432
- "_view_name": "LayoutView",
2433
- "align_content": null,
2434
- "align_items": null,
2435
- "align_self": null,
2436
- "border": null,
2437
- "bottom": null,
2438
- "display": null,
2439
- "flex": null,
2440
- "flex_flow": null,
2441
- "grid_area": null,
2442
- "grid_auto_columns": null,
2443
- "grid_auto_flow": null,
2444
- "grid_auto_rows": null,
2445
- "grid_column": null,
2446
- "grid_gap": null,
2447
- "grid_row": null,
2448
- "grid_template_areas": null,
2449
- "grid_template_columns": null,
2450
- "grid_template_rows": null,
2451
- "height": null,
2452
- "justify_content": null,
2453
- "justify_items": null,
2454
- "left": null,
2455
- "margin": null,
2456
- "max_height": null,
2457
- "max_width": null,
2458
- "min_height": null,
2459
- "min_width": null,
2460
- "object_fit": null,
2461
- "object_position": null,
2462
- "order": null,
2463
- "overflow": null,
2464
- "overflow_x": null,
2465
- "overflow_y": null,
2466
- "padding": null,
2467
- "right": null,
2468
- "top": null,
2469
- "visibility": null,
2470
- "width": null
2471
- }
2472
- },
2473
- "849cc016ce5248289f0b0c0cecc0e73c": {
2474
- "model_module": "@jupyter-widgets/controls",
2475
- "model_name": "ProgressStyleModel",
2476
- "model_module_version": "1.5.0",
2477
- "state": {
2478
- "_model_module": "@jupyter-widgets/controls",
2479
- "_model_module_version": "1.5.0",
2480
- "_model_name": "ProgressStyleModel",
2481
- "_view_count": null,
2482
- "_view_module": "@jupyter-widgets/base",
2483
- "_view_module_version": "1.2.0",
2484
- "_view_name": "StyleView",
2485
- "bar_color": null,
2486
- "description_width": ""
2487
- }
2488
- },
2489
- "5e71c389e8c646f0b3f5d7a86471c1b9": {
2490
- "model_module": "@jupyter-widgets/base",
2491
- "model_name": "LayoutModel",
2492
- "model_module_version": "1.2.0",
2493
- "state": {
2494
- "_model_module": "@jupyter-widgets/base",
2495
- "_model_module_version": "1.2.0",
2496
- "_model_name": "LayoutModel",
2497
- "_view_count": null,
2498
- "_view_module": "@jupyter-widgets/base",
2499
- "_view_module_version": "1.2.0",
2500
- "_view_name": "LayoutView",
2501
- "align_content": null,
2502
- "align_items": null,
2503
- "align_self": null,
2504
- "border": null,
2505
- "bottom": null,
2506
- "display": null,
2507
- "flex": null,
2508
- "flex_flow": null,
2509
- "grid_area": null,
2510
- "grid_auto_columns": null,
2511
- "grid_auto_flow": null,
2512
- "grid_auto_rows": null,
2513
- "grid_column": null,
2514
- "grid_gap": null,
2515
- "grid_row": null,
2516
- "grid_template_areas": null,
2517
- "grid_template_columns": null,
2518
- "grid_template_rows": null,
2519
- "height": null,
2520
- "justify_content": null,
2521
- "justify_items": null,
2522
- "left": null,
2523
- "margin": null,
2524
- "max_height": null,
2525
- "max_width": null,
2526
- "min_height": null,
2527
- "min_width": null,
2528
- "object_fit": null,
2529
- "object_position": null,
2530
- "order": null,
2531
- "overflow": null,
2532
- "overflow_x": null,
2533
- "overflow_y": null,
2534
- "padding": null,
2535
- "right": null,
2536
- "top": null,
2537
- "visibility": null,
2538
- "width": null
2539
- }
2540
- },
2541
- "e5565fba19da45cabf3938dea17bc113": {
2542
- "model_module": "@jupyter-widgets/controls",
2543
- "model_name": "DescriptionStyleModel",
2544
- "model_module_version": "1.5.0",
2545
- "state": {
2546
- "_model_module": "@jupyter-widgets/controls",
2547
- "_model_module_version": "1.5.0",
2548
- "_model_name": "DescriptionStyleModel",
2549
- "_view_count": null,
2550
- "_view_module": "@jupyter-widgets/base",
2551
- "_view_module_version": "1.2.0",
2552
- "_view_name": "StyleView",
2553
- "description_width": ""
2554
- }
2555
- },
2556
- "29b524ea3074488387f8c8c0b6030b58": {
2557
- "model_module": "@jupyter-widgets/controls",
2558
- "model_name": "HBoxModel",
2559
- "model_module_version": "1.5.0",
2560
- "state": {
2561
- "_dom_classes": [],
2562
- "_model_module": "@jupyter-widgets/controls",
2563
- "_model_module_version": "1.5.0",
2564
- "_model_name": "HBoxModel",
2565
- "_view_count": null,
2566
- "_view_module": "@jupyter-widgets/controls",
2567
- "_view_module_version": "1.5.0",
2568
- "_view_name": "HBoxView",
2569
- "box_style": "",
2570
- "children": [
2571
- "IPY_MODEL_277dfddfdb1b4cd8a0aeda9b190ee4d2",
2572
- "IPY_MODEL_18fc92aad1e4411d90675d415e897a1f",
2573
- "IPY_MODEL_63e6a05a6e504ae6821a5995a4afc83b"
2574
- ],
2575
- "layout": "IPY_MODEL_b5e6829f1721412085ea04586367f828"
2576
- }
2577
- },
2578
- "277dfddfdb1b4cd8a0aeda9b190ee4d2": {
2579
- "model_module": "@jupyter-widgets/controls",
2580
- "model_name": "HTMLModel",
2581
- "model_module_version": "1.5.0",
2582
- "state": {
2583
- "_dom_classes": [],
2584
- "_model_module": "@jupyter-widgets/controls",
2585
- "_model_module_version": "1.5.0",
2586
- "_model_name": "HTMLModel",
2587
- "_view_count": null,
2588
- "_view_module": "@jupyter-widgets/controls",
2589
- "_view_module_version": "1.5.0",
2590
- "_view_name": "HTMLView",
2591
- "description": "",
2592
- "description_tooltip": null,
2593
- "layout": "IPY_MODEL_c468c9773bb24684894dae7179d2bd75",
2594
- "placeholder": "​",
2595
- "style": "IPY_MODEL_d38a8f5cb4614b4fba1db9f3bb88b245",
2596
- "value": "Download complete: "
2597
- }
2598
- },
2599
- "18fc92aad1e4411d90675d415e897a1f": {
2600
- "model_module": "@jupyter-widgets/controls",
2601
- "model_name": "FloatProgressModel",
2602
- "model_module_version": "1.5.0",
2603
- "state": {
2604
- "_dom_classes": [],
2605
- "_model_module": "@jupyter-widgets/controls",
2606
- "_model_module_version": "1.5.0",
2607
- "_model_name": "FloatProgressModel",
2608
- "_view_count": null,
2609
- "_view_module": "@jupyter-widgets/controls",
2610
- "_view_module_version": "1.5.0",
2611
- "_view_name": "ProgressView",
2612
- "bar_style": "info",
2613
- "description": "",
2614
- "description_tooltip": null,
2615
- "layout": "IPY_MODEL_9858e8c19aea4f378e5133f8a15deccd",
2616
- "max": 1,
2617
- "min": 0,
2618
- "orientation": "horizontal",
2619
- "style": "IPY_MODEL_8ed333f75e504d708802261a9c27ced0",
2620
- "value": 0
2621
- }
2622
- },
2623
- "63e6a05a6e504ae6821a5995a4afc83b": {
2624
- "model_module": "@jupyter-widgets/controls",
2625
- "model_name": "HTMLModel",
2626
- "model_module_version": "1.5.0",
2627
- "state": {
2628
- "_dom_classes": [],
2629
- "_model_module": "@jupyter-widgets/controls",
2630
- "_model_module_version": "1.5.0",
2631
- "_model_name": "HTMLModel",
2632
- "_view_count": null,
2633
- "_view_module": "@jupyter-widgets/controls",
2634
- "_view_module_version": "1.5.0",
2635
- "_view_name": "HTMLView",
2636
- "description": "",
2637
- "description_tooltip": null,
2638
- "layout": "IPY_MODEL_a159c363c5dc4ca3b4d791e255906714",
2639
- "placeholder": "​",
2640
- "style": "IPY_MODEL_3fbef58823b14f5a8aac2e3d93423c22",
2641
- "value": " 0.00/0.00 [00:00&lt;?, ?B/s]"
2642
- }
2643
- },
2644
- "b5e6829f1721412085ea04586367f828": {
2645
- "model_module": "@jupyter-widgets/base",
2646
- "model_name": "LayoutModel",
2647
- "model_module_version": "1.2.0",
2648
- "state": {
2649
- "_model_module": "@jupyter-widgets/base",
2650
- "_model_module_version": "1.2.0",
2651
- "_model_name": "LayoutModel",
2652
- "_view_count": null,
2653
- "_view_module": "@jupyter-widgets/base",
2654
- "_view_module_version": "1.2.0",
2655
- "_view_name": "LayoutView",
2656
- "align_content": null,
2657
- "align_items": null,
2658
- "align_self": null,
2659
- "border": null,
2660
- "bottom": null,
2661
- "display": null,
2662
- "flex": null,
2663
- "flex_flow": null,
2664
- "grid_area": null,
2665
- "grid_auto_columns": null,
2666
- "grid_auto_flow": null,
2667
- "grid_auto_rows": null,
2668
- "grid_column": null,
2669
- "grid_gap": null,
2670
- "grid_row": null,
2671
- "grid_template_areas": null,
2672
- "grid_template_columns": null,
2673
- "grid_template_rows": null,
2674
- "height": null,
2675
- "justify_content": null,
2676
- "justify_items": null,
2677
- "left": null,
2678
- "margin": null,
2679
- "max_height": null,
2680
- "max_width": null,
2681
- "min_height": null,
2682
- "min_width": null,
2683
- "object_fit": null,
2684
- "object_position": null,
2685
- "order": null,
2686
- "overflow": null,
2687
- "overflow_x": null,
2688
- "overflow_y": null,
2689
- "padding": null,
2690
- "right": null,
2691
- "top": null,
2692
- "visibility": null,
2693
- "width": null
2694
- }
2695
- },
2696
- "c468c9773bb24684894dae7179d2bd75": {
2697
- "model_module": "@jupyter-widgets/base",
2698
- "model_name": "LayoutModel",
2699
- "model_module_version": "1.2.0",
2700
- "state": {
2701
- "_model_module": "@jupyter-widgets/base",
2702
- "_model_module_version": "1.2.0",
2703
- "_model_name": "LayoutModel",
2704
- "_view_count": null,
2705
- "_view_module": "@jupyter-widgets/base",
2706
- "_view_module_version": "1.2.0",
2707
- "_view_name": "LayoutView",
2708
- "align_content": null,
2709
- "align_items": null,
2710
- "align_self": null,
2711
- "border": null,
2712
- "bottom": null,
2713
- "display": null,
2714
- "flex": null,
2715
- "flex_flow": null,
2716
- "grid_area": null,
2717
- "grid_auto_columns": null,
2718
- "grid_auto_flow": null,
2719
- "grid_auto_rows": null,
2720
- "grid_column": null,
2721
- "grid_gap": null,
2722
- "grid_row": null,
2723
- "grid_template_areas": null,
2724
- "grid_template_columns": null,
2725
- "grid_template_rows": null,
2726
- "height": null,
2727
- "justify_content": null,
2728
- "justify_items": null,
2729
- "left": null,
2730
- "margin": null,
2731
- "max_height": null,
2732
- "max_width": null,
2733
- "min_height": null,
2734
- "min_width": null,
2735
- "object_fit": null,
2736
- "object_position": null,
2737
- "order": null,
2738
- "overflow": null,
2739
- "overflow_x": null,
2740
- "overflow_y": null,
2741
- "padding": null,
2742
- "right": null,
2743
- "top": null,
2744
- "visibility": null,
2745
- "width": null
2746
- }
2747
- },
2748
- "d38a8f5cb4614b4fba1db9f3bb88b245": {
2749
- "model_module": "@jupyter-widgets/controls",
2750
- "model_name": "DescriptionStyleModel",
2751
- "model_module_version": "1.5.0",
2752
- "state": {
2753
- "_model_module": "@jupyter-widgets/controls",
2754
- "_model_module_version": "1.5.0",
2755
- "_model_name": "DescriptionStyleModel",
2756
- "_view_count": null,
2757
- "_view_module": "@jupyter-widgets/base",
2758
- "_view_module_version": "1.2.0",
2759
- "_view_name": "StyleView",
2760
- "description_width": ""
2761
- }
2762
- },
2763
- "9858e8c19aea4f378e5133f8a15deccd": {
2764
- "model_module": "@jupyter-widgets/base",
2765
- "model_name": "LayoutModel",
2766
- "model_module_version": "1.2.0",
2767
- "state": {
2768
- "_model_module": "@jupyter-widgets/base",
2769
- "_model_module_version": "1.2.0",
2770
- "_model_name": "LayoutModel",
2771
- "_view_count": null,
2772
- "_view_module": "@jupyter-widgets/base",
2773
- "_view_module_version": "1.2.0",
2774
- "_view_name": "LayoutView",
2775
- "align_content": null,
2776
- "align_items": null,
2777
- "align_self": null,
2778
- "border": null,
2779
- "bottom": null,
2780
- "display": null,
2781
- "flex": null,
2782
- "flex_flow": null,
2783
- "grid_area": null,
2784
- "grid_auto_columns": null,
2785
- "grid_auto_flow": null,
2786
- "grid_auto_rows": null,
2787
- "grid_column": null,
2788
- "grid_gap": null,
2789
- "grid_row": null,
2790
- "grid_template_areas": null,
2791
- "grid_template_columns": null,
2792
- "grid_template_rows": null,
2793
- "height": null,
2794
- "justify_content": null,
2795
- "justify_items": null,
2796
- "left": null,
2797
- "margin": null,
2798
- "max_height": null,
2799
- "max_width": null,
2800
- "min_height": null,
2801
- "min_width": null,
2802
- "object_fit": null,
2803
- "object_position": null,
2804
- "order": null,
2805
- "overflow": null,
2806
- "overflow_x": null,
2807
- "overflow_y": null,
2808
- "padding": null,
2809
- "right": null,
2810
- "top": null,
2811
- "visibility": null,
2812
- "width": "20px"
2813
- }
2814
- },
2815
- "8ed333f75e504d708802261a9c27ced0": {
2816
- "model_module": "@jupyter-widgets/controls",
2817
- "model_name": "ProgressStyleModel",
2818
- "model_module_version": "1.5.0",
2819
- "state": {
2820
- "_model_module": "@jupyter-widgets/controls",
2821
- "_model_module_version": "1.5.0",
2822
- "_model_name": "ProgressStyleModel",
2823
- "_view_count": null,
2824
- "_view_module": "@jupyter-widgets/base",
2825
- "_view_module_version": "1.2.0",
2826
- "_view_name": "StyleView",
2827
- "bar_color": null,
2828
- "description_width": ""
2829
- }
2830
- },
2831
- "a159c363c5dc4ca3b4d791e255906714": {
2832
- "model_module": "@jupyter-widgets/base",
2833
- "model_name": "LayoutModel",
2834
- "model_module_version": "1.2.0",
2835
- "state": {
2836
- "_model_module": "@jupyter-widgets/base",
2837
- "_model_module_version": "1.2.0",
2838
- "_model_name": "LayoutModel",
2839
- "_view_count": null,
2840
- "_view_module": "@jupyter-widgets/base",
2841
- "_view_module_version": "1.2.0",
2842
- "_view_name": "LayoutView",
2843
- "align_content": null,
2844
- "align_items": null,
2845
- "align_self": null,
2846
- "border": null,
2847
- "bottom": null,
2848
- "display": null,
2849
- "flex": null,
2850
- "flex_flow": null,
2851
- "grid_area": null,
2852
- "grid_auto_columns": null,
2853
- "grid_auto_flow": null,
2854
- "grid_auto_rows": null,
2855
- "grid_column": null,
2856
- "grid_gap": null,
2857
- "grid_row": null,
2858
- "grid_template_areas": null,
2859
- "grid_template_columns": null,
2860
- "grid_template_rows": null,
2861
- "height": null,
2862
- "justify_content": null,
2863
- "justify_items": null,
2864
- "left": null,
2865
- "margin": null,
2866
- "max_height": null,
2867
- "max_width": null,
2868
- "min_height": null,
2869
- "min_width": null,
2870
- "object_fit": null,
2871
- "object_position": null,
2872
- "order": null,
2873
- "overflow": null,
2874
- "overflow_x": null,
2875
- "overflow_y": null,
2876
- "padding": null,
2877
- "right": null,
2878
- "top": null,
2879
- "visibility": null,
2880
- "width": null
2881
- }
2882
- },
2883
- "3fbef58823b14f5a8aac2e3d93423c22": {
2884
- "model_module": "@jupyter-widgets/controls",
2885
- "model_name": "DescriptionStyleModel",
2886
- "model_module_version": "1.5.0",
2887
- "state": {
2888
- "_model_module": "@jupyter-widgets/controls",
2889
- "_model_module_version": "1.5.0",
2890
- "_model_name": "DescriptionStyleModel",
2891
- "_view_count": null,
2892
- "_view_module": "@jupyter-widgets/base",
2893
- "_view_module_version": "1.2.0",
2894
- "_view_name": "StyleView",
2895
- "description_width": ""
2896
- }
2897
- },
2898
- "4bf16be679d74dd4a7434a2b981b0b86": {
2899
- "model_module": "@jupyter-widgets/controls",
2900
- "model_name": "HBoxModel",
2901
- "model_module_version": "1.5.0",
2902
- "state": {
2903
- "_dom_classes": [],
2904
- "_model_module": "@jupyter-widgets/controls",
2905
- "_model_module_version": "1.5.0",
2906
- "_model_name": "HBoxModel",
2907
- "_view_count": null,
2908
- "_view_module": "@jupyter-widgets/controls",
2909
- "_view_module_version": "1.5.0",
2910
- "_view_name": "HBoxView",
2911
- "box_style": "",
2912
- "children": [
2913
- "IPY_MODEL_88b38be5409a426e94d4239a38134cae",
2914
- "IPY_MODEL_c4d5ca6092084102bee6617c14b3e824",
2915
- "IPY_MODEL_318cee4c11e548c4857d9a091b450822"
2916
- ],
2917
- "layout": "IPY_MODEL_c50dc10e133b4b8085cb9d5b535bd2e1"
2918
- }
2919
- },
2920
- "88b38be5409a426e94d4239a38134cae": {
2921
- "model_module": "@jupyter-widgets/controls",
2922
- "model_name": "HTMLModel",
2923
- "model_module_version": "1.5.0",
2924
- "state": {
2925
- "_dom_classes": [],
2926
- "_model_module": "@jupyter-widgets/controls",
2927
- "_model_module_version": "1.5.0",
2928
- "_model_name": "HTMLModel",
2929
- "_view_count": null,
2930
- "_view_module": "@jupyter-widgets/controls",
2931
- "_view_module_version": "1.5.0",
2932
- "_view_name": "HTMLView",
2933
- "description": "",
2934
- "description_tooltip": null,
2935
- "layout": "IPY_MODEL_dcc4db8905564a05b9affcd54e6e8017",
2936
- "placeholder": "​",
2937
- "style": "IPY_MODEL_43faeef826e145688d64ad1c1b14c514",
2938
- "value": "Fetching 1 files: 100%"
2939
- }
2940
- },
2941
- "c4d5ca6092084102bee6617c14b3e824": {
2942
- "model_module": "@jupyter-widgets/controls",
2943
- "model_name": "FloatProgressModel",
2944
- "model_module_version": "1.5.0",
2945
- "state": {
2946
- "_dom_classes": [],
2947
- "_model_module": "@jupyter-widgets/controls",
2948
- "_model_module_version": "1.5.0",
2949
- "_model_name": "FloatProgressModel",
2950
- "_view_count": null,
2951
- "_view_module": "@jupyter-widgets/controls",
2952
- "_view_module_version": "1.5.0",
2953
- "_view_name": "ProgressView",
2954
- "bar_style": "success",
2955
- "description": "",
2956
- "description_tooltip": null,
2957
- "layout": "IPY_MODEL_bb9213c82c7248c2a77b2b7c37d463a1",
2958
- "max": 1,
2959
- "min": 0,
2960
- "orientation": "horizontal",
2961
- "style": "IPY_MODEL_bde47ff0a15e4d058340c368aa62a9b8",
2962
- "value": 1
2963
- }
2964
- },
2965
- "318cee4c11e548c4857d9a091b450822": {
2966
- "model_module": "@jupyter-widgets/controls",
2967
- "model_name": "HTMLModel",
2968
- "model_module_version": "1.5.0",
2969
- "state": {
2970
- "_dom_classes": [],
2971
- "_model_module": "@jupyter-widgets/controls",
2972
- "_model_module_version": "1.5.0",
2973
- "_model_name": "HTMLModel",
2974
- "_view_count": null,
2975
- "_view_module": "@jupyter-widgets/controls",
2976
- "_view_module_version": "1.5.0",
2977
- "_view_name": "HTMLView",
2978
- "description": "",
2979
- "description_tooltip": null,
2980
- "layout": "IPY_MODEL_cd1278fb1b3a4a24974c392e509b4057",
2981
- "placeholder": "​",
2982
- "style": "IPY_MODEL_6b7ded2d32a74bca98a82db9fa112996",
2983
- "value": " 1/1 [00:00&lt;00:00, 72.37it/s]"
2984
- }
2985
- },
2986
- "c50dc10e133b4b8085cb9d5b535bd2e1": {
2987
- "model_module": "@jupyter-widgets/base",
2988
- "model_name": "LayoutModel",
2989
- "model_module_version": "1.2.0",
2990
- "state": {
2991
- "_model_module": "@jupyter-widgets/base",
2992
- "_model_module_version": "1.2.0",
2993
- "_model_name": "LayoutModel",
2994
- "_view_count": null,
2995
- "_view_module": "@jupyter-widgets/base",
2996
- "_view_module_version": "1.2.0",
2997
- "_view_name": "LayoutView",
2998
- "align_content": null,
2999
- "align_items": null,
3000
- "align_self": null,
3001
- "border": null,
3002
- "bottom": null,
3003
- "display": null,
3004
- "flex": null,
3005
- "flex_flow": null,
3006
- "grid_area": null,
3007
- "grid_auto_columns": null,
3008
- "grid_auto_flow": null,
3009
- "grid_auto_rows": null,
3010
- "grid_column": null,
3011
- "grid_gap": null,
3012
- "grid_row": null,
3013
- "grid_template_areas": null,
3014
- "grid_template_columns": null,
3015
- "grid_template_rows": null,
3016
- "height": null,
3017
- "justify_content": null,
3018
- "justify_items": null,
3019
- "left": null,
3020
- "margin": null,
3021
- "max_height": null,
3022
- "max_width": null,
3023
- "min_height": null,
3024
- "min_width": null,
3025
- "object_fit": null,
3026
- "object_position": null,
3027
- "order": null,
3028
- "overflow": null,
3029
- "overflow_x": null,
3030
- "overflow_y": null,
3031
- "padding": null,
3032
- "right": null,
3033
- "top": null,
3034
- "visibility": null,
3035
- "width": null
3036
- }
3037
- },
3038
- "dcc4db8905564a05b9affcd54e6e8017": {
3039
- "model_module": "@jupyter-widgets/base",
3040
- "model_name": "LayoutModel",
3041
- "model_module_version": "1.2.0",
3042
- "state": {
3043
- "_model_module": "@jupyter-widgets/base",
3044
- "_model_module_version": "1.2.0",
3045
- "_model_name": "LayoutModel",
3046
- "_view_count": null,
3047
- "_view_module": "@jupyter-widgets/base",
3048
- "_view_module_version": "1.2.0",
3049
- "_view_name": "LayoutView",
3050
- "align_content": null,
3051
- "align_items": null,
3052
- "align_self": null,
3053
- "border": null,
3054
- "bottom": null,
3055
- "display": null,
3056
- "flex": null,
3057
- "flex_flow": null,
3058
- "grid_area": null,
3059
- "grid_auto_columns": null,
3060
- "grid_auto_flow": null,
3061
- "grid_auto_rows": null,
3062
- "grid_column": null,
3063
- "grid_gap": null,
3064
- "grid_row": null,
3065
- "grid_template_areas": null,
3066
- "grid_template_columns": null,
3067
- "grid_template_rows": null,
3068
- "height": null,
3069
- "justify_content": null,
3070
- "justify_items": null,
3071
- "left": null,
3072
- "margin": null,
3073
- "max_height": null,
3074
- "max_width": null,
3075
- "min_height": null,
3076
- "min_width": null,
3077
- "object_fit": null,
3078
- "object_position": null,
3079
- "order": null,
3080
- "overflow": null,
3081
- "overflow_x": null,
3082
- "overflow_y": null,
3083
- "padding": null,
3084
- "right": null,
3085
- "top": null,
3086
- "visibility": null,
3087
- "width": null
3088
- }
3089
- },
3090
- "43faeef826e145688d64ad1c1b14c514": {
3091
- "model_module": "@jupyter-widgets/controls",
3092
- "model_name": "DescriptionStyleModel",
3093
- "model_module_version": "1.5.0",
3094
- "state": {
3095
- "_model_module": "@jupyter-widgets/controls",
3096
- "_model_module_version": "1.5.0",
3097
- "_model_name": "DescriptionStyleModel",
3098
- "_view_count": null,
3099
- "_view_module": "@jupyter-widgets/base",
3100
- "_view_module_version": "1.2.0",
3101
- "_view_name": "StyleView",
3102
- "description_width": ""
3103
- }
3104
- },
3105
- "bb9213c82c7248c2a77b2b7c37d463a1": {
3106
- "model_module": "@jupyter-widgets/base",
3107
- "model_name": "LayoutModel",
3108
- "model_module_version": "1.2.0",
3109
- "state": {
3110
- "_model_module": "@jupyter-widgets/base",
3111
- "_model_module_version": "1.2.0",
3112
- "_model_name": "LayoutModel",
3113
- "_view_count": null,
3114
- "_view_module": "@jupyter-widgets/base",
3115
- "_view_module_version": "1.2.0",
3116
- "_view_name": "LayoutView",
3117
- "align_content": null,
3118
- "align_items": null,
3119
- "align_self": null,
3120
- "border": null,
3121
- "bottom": null,
3122
- "display": null,
3123
- "flex": null,
3124
- "flex_flow": null,
3125
- "grid_area": null,
3126
- "grid_auto_columns": null,
3127
- "grid_auto_flow": null,
3128
- "grid_auto_rows": null,
3129
- "grid_column": null,
3130
- "grid_gap": null,
3131
- "grid_row": null,
3132
- "grid_template_areas": null,
3133
- "grid_template_columns": null,
3134
- "grid_template_rows": null,
3135
- "height": null,
3136
- "justify_content": null,
3137
- "justify_items": null,
3138
- "left": null,
3139
- "margin": null,
3140
- "max_height": null,
3141
- "max_width": null,
3142
- "min_height": null,
3143
- "min_width": null,
3144
- "object_fit": null,
3145
- "object_position": null,
3146
- "order": null,
3147
- "overflow": null,
3148
- "overflow_x": null,
3149
- "overflow_y": null,
3150
- "padding": null,
3151
- "right": null,
3152
- "top": null,
3153
- "visibility": null,
3154
- "width": null
3155
- }
3156
- },
3157
- "bde47ff0a15e4d058340c368aa62a9b8": {
3158
- "model_module": "@jupyter-widgets/controls",
3159
- "model_name": "ProgressStyleModel",
3160
- "model_module_version": "1.5.0",
3161
- "state": {
3162
- "_model_module": "@jupyter-widgets/controls",
3163
- "_model_module_version": "1.5.0",
3164
- "_model_name": "ProgressStyleModel",
3165
- "_view_count": null,
3166
- "_view_module": "@jupyter-widgets/base",
3167
- "_view_module_version": "1.2.0",
3168
- "_view_name": "StyleView",
3169
- "bar_color": null,
3170
- "description_width": ""
3171
- }
3172
- },
3173
- "cd1278fb1b3a4a24974c392e509b4057": {
3174
- "model_module": "@jupyter-widgets/base",
3175
- "model_name": "LayoutModel",
3176
- "model_module_version": "1.2.0",
3177
- "state": {
3178
- "_model_module": "@jupyter-widgets/base",
3179
- "_model_module_version": "1.2.0",
3180
- "_model_name": "LayoutModel",
3181
- "_view_count": null,
3182
- "_view_module": "@jupyter-widgets/base",
3183
- "_view_module_version": "1.2.0",
3184
- "_view_name": "LayoutView",
3185
- "align_content": null,
3186
- "align_items": null,
3187
- "align_self": null,
3188
- "border": null,
3189
- "bottom": null,
3190
- "display": null,
3191
- "flex": null,
3192
- "flex_flow": null,
3193
- "grid_area": null,
3194
- "grid_auto_columns": null,
3195
- "grid_auto_flow": null,
3196
- "grid_auto_rows": null,
3197
- "grid_column": null,
3198
- "grid_gap": null,
3199
- "grid_row": null,
3200
- "grid_template_areas": null,
3201
- "grid_template_columns": null,
3202
- "grid_template_rows": null,
3203
- "height": null,
3204
- "justify_content": null,
3205
- "justify_items": null,
3206
- "left": null,
3207
- "margin": null,
3208
- "max_height": null,
3209
- "max_width": null,
3210
- "min_height": null,
3211
- "min_width": null,
3212
- "object_fit": null,
3213
- "object_position": null,
3214
- "order": null,
3215
- "overflow": null,
3216
- "overflow_x": null,
3217
- "overflow_y": null,
3218
- "padding": null,
3219
- "right": null,
3220
- "top": null,
3221
- "visibility": null,
3222
- "width": null
3223
- }
3224
- },
3225
- "6b7ded2d32a74bca98a82db9fa112996": {
3226
- "model_module": "@jupyter-widgets/controls",
3227
- "model_name": "DescriptionStyleModel",
3228
- "model_module_version": "1.5.0",
3229
- "state": {
3230
- "_model_module": "@jupyter-widgets/controls",
3231
- "_model_module_version": "1.5.0",
3232
- "_model_name": "DescriptionStyleModel",
3233
- "_view_count": null,
3234
- "_view_module": "@jupyter-widgets/base",
3235
- "_view_module_version": "1.2.0",
3236
- "_view_name": "StyleView",
3237
- "description_width": ""
3238
- }
3239
- }
3240
- }
3241
- }
3242
  },
3243
  "nbformat": 4,
3244
  "nbformat_minor": 0
 
343
  "\n",
344
  "# Additional config values\n",
345
  "MODEL_ID = \"codeShare/FLUX.2-klein-AIO-SDNQ-4bit-dynamic\" #@param ['codeShare/FLUX.2-klein-AIO-SDNQ-4bit-dynamic' ]\n",
346
+ "edit_prompt = \"remove the white background. as a real photo this girl has bare skin. put this character on the color gradient background. add diagonal border with dark gray background. the background has a stylish pattern.\" #@param {type:\"string\"}\n",
347
  "resolution = \"1024 x 1024 (Square)\" #@param {type:\"string\"}\n",
348
  "\n",
349
  "# LORA Settings\n",
 
741
  "torch.cuda.empty_cache()"
742
  ],
743
  "metadata": {
744
+ "id": "QYWVhRcpmGRR"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
745
  },
746
  "execution_count": null,
747
  "outputs": []
 
959
  " print(f'\\n✅ LoRa {lora_name_loaded} loaded into pipe at strength {lora_strength_loaded}')\n",
960
  " #-----#\n",
961
  "\n",
 
 
 
 
 
 
962
  "\n",
963
  " #---Collect and clear VRAM at end of cell---#\n",
964
  " gc.collect()\n",
 
1027
  "torch.cuda.empty_cache()"
1028
  ],
1029
  "metadata": {
1030
+ "id": "0XLZ_DXrmNE2"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1031
  },
1032
+ "execution_count": null,
1033
+ "outputs": []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1034
  },
1035
  {
1036
  "cell_type": "code",
 
1168
  " return pipe"
1169
  ],
1170
  "metadata": {
1171
+ "id": "ibvDcHtJFtr8"
 
 
 
 
 
1172
  },
1173
+ "execution_count": null,
1174
+ "outputs": []
 
 
 
 
 
 
 
 
 
 
 
 
1175
  },
1176
  {
1177
  "cell_type": "code",
 
1380
  "print(\"You can download it from the file browser.\")"
1381
  ],
1382
  "metadata": {
1383
+ "id": "kwF4CB3GmTwB"
 
 
 
 
1384
  },
1385
+ "execution_count": null,
1386
+ "outputs": []
 
 
 
 
 
 
 
 
 
 
 
 
1387
  },
1388
  {
1389
  "cell_type": "code",
 
1506
  " print(\"📥 Download started...\")"
1507
  ],
1508
  "metadata": {
1509
+ "id": "GvLYqh4iMBf_"
 
 
 
 
 
1510
  },
1511
+ "execution_count": null,
1512
+ "outputs": []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1513
  }
1514
  ],
1515
  "metadata": {
 
1524
  "language_info": {
1525
  "name": "python"
1526
  },
1527
+ "accelerator": "GPU"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1528
  },
1529
  "nbformat": 4,
1530
  "nbformat_minor": 0