diff --git a/built-in-nodes/ModelMergeMOSSImage.mdx b/built-in-nodes/ModelMergeMOSSImage.mdx new file mode 100644 index 0000000000..4ed598a7ad --- /dev/null +++ b/built-in-nodes/ModelMergeMOSSImage.mdx @@ -0,0 +1,38 @@ +--- +title: "ModelMergeMOSSImage - ComfyUI Built-in Node Documentation" +description: "The ModelMergeMOSSImage node merges two MOSS image models by blending their matching weights block by block" +sidebarTitle: "ModelMergeMOSSImage" +icon: "circle" +mode: wide +--- + +The ModelMergeMOSSImage node merges two MOSS image models by blending their matching weights block by block, so one part of the result can come from a base model and the rest from a fine-tune or a second model. Every major component of the architecture has its own ratio: the video embedder, the text embedder, the time embedding, the shared block modulation, all 42 transformer layers, and the output heads. + +## Inputs + +| Parameter | Description | Data Type | Required | Range | +| --- | --- | --- | --- | --- | +| `model1` | The first model to merge. Everything the second model does not contribute is kept from this model | MODEL | Yes | - | +| `model2` | The second model to merge. Its weights are blended in according to the ratios below | MODEL | Yes | - | +| `video_embedder.` | Blend ratio for the video embedder block (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `text_embedder.proj.` | Blend ratio for the projection layer of the text embedder (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `text_embedder.blocks.0.` and `text_embedder.blocks.1.` | Blend ratio for each of the two text embedder blocks (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `time_embedding.` | Blend ratio for the time embedding block (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `shared_block_modulation.` | Blend ratio for the shared modulation layer used by the transformer blocks (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `layers.0.` through `layers.41.` | Blend ratio for each of the 42 transformer layers (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `final_norm_video.` | Blend ratio for the final normalization of the video stream (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `final_linear_video.` | Blend ratio for the final linear layer of the video stream (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `video_head_modulation.` | Blend ratio for the modulation layer of the video output head (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | + +A ratio of 0.0 keeps that component as it is in `model1`, a ratio of 1.0 takes it entirely from `model2`, and values in between produce a weighted blend. Both inputs must be MOSS image models with the same architecture; weights that do not match any of the prefixes above fall back to the ratio of `video_embedder.`. + +## Outputs + +| Output Name | Description | Data Type | +| --- | --- | --- | +| `MODEL` | The merged model, combining both inputs according to the specified ratios | MODEL | + +> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelMergeMOSSImage/en.md) + +--- +**Source fingerprint (SHA-256):** `3b7d9c806a8d53ad00044bf30f5e63431fea7ee565414acb70a56e3059164288` diff --git a/built-in-nodes/ModelMergeSD2.mdx b/built-in-nodes/ModelMergeSD2.mdx new file mode 100644 index 0000000000..70a59b290d --- /dev/null +++ b/built-in-nodes/ModelMergeSD2.mdx @@ -0,0 +1,35 @@ +--- +title: "ModelMergeSD2 - ComfyUI Built-in Node Documentation" +description: "The ModelMergeSD2 node merges two Stable Diffusion 2.x models by blending their matching components, with a separate weight for the time embedding" +sidebarTitle: "ModelMergeSD2" +icon: "circle" +mode: wide +--- + +The ModelMergeSD2 node merges two Stable Diffusion 2.x models by blending their matching components, with a separate weight for the time embedding, the label embedding, and every input, middle, and output block. The block layout is the same as in ModelMergeSD1, so both nodes expose the same set of ratios. + +## Inputs + +| Parameter | Description | Data Type | Required | Range | +| --- | --- | --- | --- | --- | +| `model1` | The first model to merge. Everything the second model does not contribute is kept from this model | MODEL | Yes | - | +| `model2` | The second model to merge. Its weights are blended in according to the ratios below | MODEL | Yes | - | +| `time_embed.` | Blend ratio for the time embedding layer (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `label_emb.` | Blend ratio for the label embedding layer (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `input_blocks.0.` through `input_blocks.11.` | Blend ratio for each of the 12 input blocks (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `middle_block.0.` through `middle_block.2.` | Blend ratio for each of the 3 middle blocks (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `output_blocks.0.` through `output_blocks.11.` | Blend ratio for each of the 12 output blocks (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | +| `out.` | Blend ratio for the output layer (default: 1.0) | FLOAT | Yes | 0.0 to 1.0 (step: 0.01) | + +A ratio of 0.0 keeps that component as it is in `model1`, a ratio of 1.0 takes it entirely from `model2`, and values in between produce a weighted blend. Both inputs must be Stable Diffusion 2.x models with the same block structure. + +## Outputs + +| Output Name | Description | Data Type | +| --- | --- | --- | +| `MODEL` | The merged model, combining both inputs according to the specified ratios | MODEL | + +> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelMergeSD2/en.md) + +--- +**Source fingerprint (SHA-256):** `b9d53f126139412fbd8b21be72e1dcdb02736519ab4dc9e28c7840d69acb7c87` diff --git a/docs.json b/docs.json index b7d31d715a..05df636a99 100644 --- a/docs.json +++ b/docs.json @@ -2776,8 +2776,10 @@ "built-in-nodes/ModelMergeKrea2", "built-in-nodes/ModelMergeLTXV", "built-in-nodes/ModelMergeMochiPreview", + "built-in-nodes/ModelMergeMOSSImage", "built-in-nodes/ModelMergeQwenImage", "built-in-nodes/ModelMergeSD1", + "built-in-nodes/ModelMergeSD2", "built-in-nodes/ModelMergeSD35_Large", "built-in-nodes/ModelMergeSD3_2B", "built-in-nodes/ModelMergeSDXL", @@ -5965,8 +5967,10 @@ "zh/built-in-nodes/ModelMergeKrea2", "zh/built-in-nodes/ModelMergeLTXV", "zh/built-in-nodes/ModelMergeMochiPreview", + "zh/built-in-nodes/ModelMergeMOSSImage", "zh/built-in-nodes/ModelMergeQwenImage", "zh/built-in-nodes/ModelMergeSD1", + "zh/built-in-nodes/ModelMergeSD2", "zh/built-in-nodes/ModelMergeSD35_Large", "zh/built-in-nodes/ModelMergeSD3_2B", "zh/built-in-nodes/ModelMergeSDXL", @@ -10026,8 +10030,10 @@ "ja/built-in-nodes/ModelMergeKrea2", "ja/built-in-nodes/ModelMergeLTXV", "ja/built-in-nodes/ModelMergeMochiPreview", + "ja/built-in-nodes/ModelMergeMOSSImage", "ja/built-in-nodes/ModelMergeQwenImage", "ja/built-in-nodes/ModelMergeSD1", + "ja/built-in-nodes/ModelMergeSD2", "ja/built-in-nodes/ModelMergeSD35_Large", "ja/built-in-nodes/ModelMergeSD3_2B", "ja/built-in-nodes/ModelMergeSDXL", @@ -14024,8 +14030,10 @@ "ko/built-in-nodes/ModelMergeKrea2", "ko/built-in-nodes/ModelMergeLTXV", "ko/built-in-nodes/ModelMergeMochiPreview", + "ko/built-in-nodes/ModelMergeMOSSImage", "ko/built-in-nodes/ModelMergeQwenImage", "ko/built-in-nodes/ModelMergeSD1", + "ko/built-in-nodes/ModelMergeSD2", "ko/built-in-nodes/ModelMergeSD35_Large", "ko/built-in-nodes/ModelMergeSD3_2B", "ko/built-in-nodes/ModelMergeSDXL", @@ -17564,8 +17572,10 @@ "es/built-in-nodes/ModelMergeKrea2", "es/built-in-nodes/ModelMergeLTXV", "es/built-in-nodes/ModelMergeMochiPreview", + "es/built-in-nodes/ModelMergeMOSSImage", "es/built-in-nodes/ModelMergeQwenImage", "es/built-in-nodes/ModelMergeSD1", + "es/built-in-nodes/ModelMergeSD2", "es/built-in-nodes/ModelMergeSD35_Large", "es/built-in-nodes/ModelMergeSD3_2B", "es/built-in-nodes/ModelMergeSDXL", diff --git a/es/built-in-nodes/ModelMergeMOSSImage.mdx b/es/built-in-nodes/ModelMergeMOSSImage.mdx new file mode 100644 index 0000000000..3d993db0ea --- /dev/null +++ b/es/built-in-nodes/ModelMergeMOSSImage.mdx @@ -0,0 +1,38 @@ +--- +title: "ModelMergeMOSSImage - ComfyUI Built-in Node Documentation" +description: "El nodo ModelMergeMOSSImage fusiona dos modelos de imagen MOSS mezclando sus pesos coincidentes bloque por bloque" +sidebarTitle: "ModelMergeMOSSImage" +icon: "circle" +mode: wide +--- + +El nodo ModelMergeMOSSImage fusiona dos modelos de imagen MOSS mezclando sus pesos coincidentes bloque por bloque, de modo que una parte del resultado puede provenir de un modelo base y el resto de un ajuste fino o de un segundo modelo. Cada componente principal de la arquitectura tiene su propia proporción: el embedder de video, el embedder de texto, el embedding temporal, la modulación de bloque compartida, las 42 capas transformer y las cabeceras de salida. + +## Entradas + +| Parámetro | Descripción | Tipo de datos | Obligatorio | Rango | +| --- | --- | --- | --- | --- | +| `model1` | El primer modelo a fusionar. Todo lo que el segundo modelo no aporta se conserva de este modelo | MODEL | Sí | - | +| `model2` | El segundo modelo a fusionar. Sus pesos se mezclan de acuerdo con las proporciones siguientes | MODEL | Sí | - | +| `video_embedder.` | Proporción de mezcla para el bloque del embedder de video (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `text_embedder.proj.` | Proporción de mezcla para la capa de proyección del embedder de texto (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `text_embedder.blocks.0.` y `text_embedder.blocks.1.` | Proporción de mezcla para cada uno de los dos bloques del embedder de texto (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `time_embedding.` | Proporción de mezcla para el bloque de embedding temporal (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `shared_block_modulation.` | Proporción de mezcla para la capa de modulación compartida utilizada por los bloques transformer (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `layers.0.` hasta `layers.41.` | Proporción de mezcla para cada una de las 42 capas transformer (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `final_norm_video.` | Proporción de mezcla para la normalización final del flujo de video (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `final_linear_video.` | Proporción de mezcla para la capa lineal final del flujo de video (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `video_head_modulation.` | Proporción de mezcla para la capa de modulación de la cabecera de salida de video (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | + +Una proporción de 0.0 mantiene ese componente tal como está en `model1`, una proporción de 1.0 lo toma completamente de `model2`, y los valores intermedios producen una mezcla ponderada. Ambas entradas deben ser modelos de imagen MOSS con la misma arquitectura; los pesos que no coincidan con ninguno de los prefijos anteriores usan la proporción de `video_embedder.`. + +## Salidas + +| Nombre de salida | Descripción | Tipo de datos | +| --- | --- | --- | +| `MODEL` | El modelo fusionado, que combina ambas entradas de acuerdo con las proporciones especificadas | MODEL | + +> Esta documentación fue generada por IA. Si encuentra algún error o tiene sugerencias de mejora, ¡no dude en contribuir! [Editar en GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelMergeMOSSImage/es.md) + +--- +**Source fingerprint (SHA-256):** `3b7d9c806a8d53ad00044bf30f5e63431fea7ee565414acb70a56e3059164288` diff --git a/es/built-in-nodes/ModelMergeSD2.mdx b/es/built-in-nodes/ModelMergeSD2.mdx new file mode 100644 index 0000000000..ea2076832e --- /dev/null +++ b/es/built-in-nodes/ModelMergeSD2.mdx @@ -0,0 +1,35 @@ +--- +title: "Fusionar modelo SD 2 - ComfyUI Built-in Node Documentation" +description: "El nodo ModelMergeSD2 fusiona dos modelos Stable Diffusion 2.x mezclando sus componentes correspondientes" +sidebarTitle: "Fusionar modelo SD 2" +icon: "circle" +mode: wide +--- + +El nodo ModelMergeSD2 fusiona dos modelos Stable Diffusion 2.x mezclando sus componentes correspondientes, con un peso independiente para el embedding de tiempo, el embedding de etiquetas y cada bloque de entrada, central y de salida. La disposición de los bloques es la misma que en ModelMergeSD1, por lo que ambos nodos exponen el mismo conjunto de proporciones. + +## Entradas + +| Parámetro | Descripción | Tipo de datos | Obligatorio | Rango | +| --- | --- | --- | --- | --- | +| `modelo1` | El primer modelo que se va a fusionar. Todo lo que no aporta el segundo modelo se conserva de este modelo | MODEL | Sí | - | +| `modelo2` | El segundo modelo que se va a fusionar. Sus pesos se mezclan según las proporciones indicadas a continuación | MODEL | Sí | - | +| `time_embed.` | Proporción de mezcla para la capa de embedding de tiempo (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `label_emb.` | Proporción de mezcla para la capa de embedding de etiquetas (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `input_blocks.0.` hasta `input_blocks.11.` | Proporción de mezcla para cada uno de los 12 bloques de entrada (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `middle_block.0.` hasta `middle_block.2.` | Proporción de mezcla para cada uno de los 3 bloques centrales (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `output_blocks.0.` hasta `output_blocks.11.` | Proporción de mezcla para cada uno de los 12 bloques de salida (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | +| `out.` | Proporción de mezcla para la capa de salida (predeterminado: 1.0) | FLOAT | Sí | 0.0 a 1.0 (paso: 0.01) | + +Una proporción de 0.0 mantiene ese componente tal como está en `model1`, una proporción de 1.0 lo toma por completo de `model2`, y los valores intermedios producen una mezcla ponderada. Ambas entradas deben ser modelos Stable Diffusion 2.x con la misma estructura de bloques. + +## Salidas + +| Nombre de salida | Descripción | Tipo de datos | +| --- | --- | --- | +| `MODEL` | El modelo fusionado, que combina ambas entradas según las proporciones especificadas | MODEL | + +> Esta documentación fue generada por IA. Si encuentra algún error o tiene sugerencias de mejora, ¡no dude en contribuir! [Editar en GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelMergeSD2/es.md) + +--- +**Source fingerprint (SHA-256):** `b9d53f126139412fbd8b21be72e1dcdb02736519ab4dc9e28c7840d69acb7c87` diff --git a/ja/built-in-nodes/ModelMergeMOSSImage.mdx b/ja/built-in-nodes/ModelMergeMOSSImage.mdx new file mode 100644 index 0000000000..2803e52dd2 --- /dev/null +++ b/ja/built-in-nodes/ModelMergeMOSSImage.mdx @@ -0,0 +1,38 @@ +--- +title: "ModelMergeMOSSImage - ComfyUI Built-in Node Documentation" +description: "ModelMergeMOSSImage ノードは、2 つの MOSS 画像モデルを、対応する重みをブロックごとにブレンドすることでマージします。" +sidebarTitle: "ModelMergeMOSSImage" +icon: "circle" +mode: wide +--- + +ModelMergeMOSSImage ノードは、2 つの MOSS 画像モデルを、対応する重みをブロックごとにブレンドすることでマージします。これにより、結果の一部をベースモデルから、残りをファインチューンまたは 2 番目のモデルから取得できます。アーキテクチャの主要コンポーネントごとに個別の比率があります。ビデオエンベッダー、テキストエンベッダー、時間埋め込み、共有ブロック変調、42 個すべての Transformer レイヤー、および出力ヘッドです。 + +## 入力 + +| パラメータ | 説明 | データ型 | 必須 | 範囲 | +| --- | --- | --- | --- | --- | +| `model1` | マージする最初のモデルです。2 番目のモデルが寄与しない部分はすべてこのモデルから保持されます | MODEL | はい | - | +| `model2` | マージする 2 番目のモデルです。その重みは、以下の比率に従ってブレンドされます | MODEL | はい | - | +| `video_embedder.` | ビデオエンベッダーブロックのブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `text_embedder.proj.` | テキストエンベッダーの投影層のブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `text_embedder.blocks.0.` と `text_embedder.blocks.1.` | 2 つのテキストエンベッダーブロックそれぞれのブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `time_embedding.` | 時間埋め込みブロックのブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `shared_block_modulation.` | Transformer ブロックで使用される共有変調層のブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `layers.0.` から `layers.41.` まで | 42 個の Transformer レイヤーそれぞれのブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `final_norm_video.` | ビデオストリームの最終正規化のブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `final_linear_video.` | ビデオストリームの最終線形層のブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `video_head_modulation.` | ビデオ出力ヘッドの変調層のブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | + +比率 0.0 はそのコンポーネントを `model1` のまま保持し、比率 1.0 は完全に `model2` から取得し、中間の値は重み付きブレンドを生成します。両方の入力は同じアーキテクチャの MOSS 画像モデルである必要があります。上記のどのプレフィックスにも一致しない重みは、`video_embedder.` の比率にフォールバックします。 + +## 出力 + +| 出力名 | 説明 | データ型 | +| --- | --- | --- | +| `MODEL` | 指定された比率に従って両方の入力を組み合わせた、マージ済みモデルです | MODEL | + +> このドキュメントは AI によって生成されました。エラーを見つけた場合や改善のご提案がある場合は、ぜひ貢献してください! [GitHub で編集](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelMergeMOSSImage/ja.md) + +--- +**Source fingerprint (SHA-256):** `3b7d9c806a8d53ad00044bf30f5e63431fea7ee565414acb70a56e3059164288` diff --git a/ja/built-in-nodes/ModelMergeSD2.mdx b/ja/built-in-nodes/ModelMergeSD2.mdx new file mode 100644 index 0000000000..c8160a65c3 --- /dev/null +++ b/ja/built-in-nodes/ModelMergeSD2.mdx @@ -0,0 +1,35 @@ +--- +title: "モデルマージSD2 - ComfyUI Built-in Node Documentation" +description: "ModelMergeSD2 ノードは、2つの Stable Diffusion 2.x モデルを、一致するコンポーネントをブレンドしてマージします。" +sidebarTitle: "モデルマージSD2" +icon: "circle" +mode: wide +--- + +ModelMergeSD2 ノードは、2つの Stable Diffusion 2.x モデルを、一致するコンポーネントをブレンドしてマージします。時間埋め込み、ラベル埋め込み、および各入力・中間・出力ブロックに対して個別の重みを持ちます。ブロックレイアウトは ModelMergeSD1 と同じであるため、両ノードは同じ比率のセットを公開します。 + +## 入力 + +| パラメータ | 説明 | データ型 | 必須 | 範囲 | +| --- | --- | --- | --- | --- | +| `モデル1` | マージする最初のモデルです。2番目のモデルが寄与しない部分はすべてこのモデルから保持されます | MODEL | はい | - | +| `モデル2` | マージする2番目のモデルです。その重みは以下の比率に従ってブレンドされます | MODEL | はい | - | +| `time_embed.` | 時間埋め込み層のブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `label_emb.` | ラベル埋め込み層のブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `input_blocks.0.` から `input_blocks.11.` まで | 12個の各入力ブロックのブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `middle_block.0.` から `middle_block.2.` まで | 3個の各中間ブロックのブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `output_blocks.0.` から `output_blocks.11.` まで | 12個の各出力ブロックのブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | +| `out.` | 出力層のブレンド比率(デフォルト: 1.0) | FLOAT | はい | 0.0 〜 1.0 (ステップ 0.01) | + +比率 0.0 はそのコンポーネントを `model1` の状態のまま保持し、比率 1.0 は完全に `model2` から取得します。中間の値は重み付きブレンドを生成します。両方の入力は、同じブロック構造を持つ Stable Diffusion 2.x モデルである必要があります。 + +## 出力 + +| 出力名 | 説明 | データ型 | +| --- | --- | --- | +| `MODEL` | 指定された比率に従って両方の入力を組み合わせた、マージ済みモデルです | MODEL | + +> このドキュメントは AI によって生成されました。エラーを見つけた場合や改善のご提案がある場合は、ぜひ貢献してください! [GitHub で編集](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelMergeSD2/ja.md) + +--- +**Source fingerprint (SHA-256):** `b9d53f126139412fbd8b21be72e1dcdb02736519ab4dc9e28c7840d69acb7c87` diff --git a/ko/built-in-nodes/ModelMergeMOSSImage.mdx b/ko/built-in-nodes/ModelMergeMOSSImage.mdx new file mode 100644 index 0000000000..469ec41ae5 --- /dev/null +++ b/ko/built-in-nodes/ModelMergeMOSSImage.mdx @@ -0,0 +1,38 @@ +--- +title: "ModelMergeMOSSImage - ComfyUI Built-in Node Documentation" +description: "ModelMergeMOSSImage 노드는 두 MOSS 이미지 모델을 일치하는 가중치를 블록별로 혼합하여 병합하므로, 결과의 일부는 기본 모델에서, 나머지는 파인튜닝 모델 또는 두 번째 모델에서 가져올 수 있습니다." +sidebarTitle: "ModelMergeMOSSImage" +icon: "circle" +mode: wide +--- + +ModelMergeMOSSImage 노드는 두 MOSS 이미지 모델을 일치하는 가중치를 블록별로 혼합하여 병합하므로, 결과의 일부는 기본 모델에서, 나머지는 파인튜닝 모델 또는 두 번째 모델에서 가져올 수 있습니다. 아키텍처의 모든 주요 구성 요소에는 고유한 비율이 있습니다: 비디오 임베더, 텍스트 임베더, 시간 임베딩, 공유 블록 모듈레이션, 42개 트랜스포머 레이어 전체, 출력 헤드입니다. + +## 입력 + +| 매개변수 | 설명 | 데이터 타입 | 필수 | 범위 | +| --- | --- | --- | --- | --- | +| `model1` | 병합할 첫 번째 모델입니다. 두 번째 모델이 기여하지 않는 모든 항목은 이 모델에서 유지됩니다 | MODEL | 예 | - | +| `model2` | 병합할 두 번째 모델입니다. 이 모델의 가중치는 아래 비율에 따라 혼합됩니다 | MODEL | 예 | - | +| `video_embedder.` | 비디오 임베더 블록의 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `text_embedder.proj.` | 텍스트 임베더의 프로젝션 레이어에 대한 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `text_embedder.blocks.0.` 및 `text_embedder.blocks.1.` | 두 텍스트 임베더 블록 각각의 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `time_embedding.` | 시간 임베딩 블록의 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `shared_block_modulation.` | 트랜스포머 블록에서 사용하는 공유 모듈레이션 레이어의 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `layers.0.`부터 `layers.41.`까지 | 42개 트랜스포머 레이어 각각의 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `final_norm_video.` | 비디오 스트림의 최종 정규화에 대한 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `final_linear_video.` | 비디오 스트림의 최종 선형 레이어에 대한 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `video_head_modulation.` | 비디오 출력 헤드의 모듈레이션 레이어에 대한 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | + +비율이 0.0이면 해당 구성 요소를 `model1`에 있는 그대로 유지하고, 1.0이면 전적으로 `model2`에서 가져오며, 그 사이의 값은 가중 혼합을 생성합니다. 두 입력은 동일한 아키텍처를 가진 MOSS 이미지 모델이어야 합니다. 위의 접두사 중 어느 것과도 일치하지 않는 가중치는 `video_embedder.`의 비율로 대체됩니다. + +## 출력 + +| 출력 이름 | 설명 | 데이터 타입 | +| --- | --- | --- | +| `MODEL` | 지정된 비율에 따라 두 입력을 결합한 병합된 모델입니다 | MODEL | + +> 이 문서는 AI에 의해 생성되었습니다. 오류를 발견하거나 개선 제안이 있으시면 기여해 주세요! [GitHub에서 편집](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelMergeMOSSImage/ko.md) + +--- +**Source fingerprint (SHA-256):** `3b7d9c806a8d53ad00044bf30f5e63431fea7ee565414acb70a56e3059164288` diff --git a/ko/built-in-nodes/ModelMergeSD2.mdx b/ko/built-in-nodes/ModelMergeSD2.mdx new file mode 100644 index 0000000000..371801977f --- /dev/null +++ b/ko/built-in-nodes/ModelMergeSD2.mdx @@ -0,0 +1,35 @@ +--- +title: "모델 병합 (SD2) - ComfyUI Built-in Node Documentation" +description: "ModelMergeSD2 노드는 일치하는 구성 요소를 혼합하여 두 Stable Diffusion 2.x 모델을 병합하며, 시간 임베딩, 레이블 임베딩, 그리고 모든 입력, 중간 및 출력 블록에 대해 별도의 가중치를 둡니다." +sidebarTitle: "모델 병합 (SD2)" +icon: "circle" +mode: wide +--- + +ModelMergeSD2 노드는 일치하는 구성 요소를 혼합하여 두 Stable Diffusion 2.x 모델을 병합하며, 시간 임베딩, 레이블 임베딩, 그리고 모든 입력, 중간 및 출력 블록에 대해 별도의 가중치를 둡니다. 블록 레이아웃은 ModelMergeSD1과 동일하므로 두 노드는 동일한 비율 집합을 노출합니다. + +## 입력 + +| 매개변수 | 설명 | 데이터 타입 | 필수 | 범위 | +| --- | --- | --- | --- | --- | +| `모델1` | 병합할 첫 번째 모델입니다. 두 번째 모델이 기여하지 않는 모든 부분은 이 모델에서 유지됩니다 | MODEL | 예 | - | +| `모델2` | 병합할 두 번째 모델입니다. 해당 가중치는 아래 비율에 따라 혼합되어 반영됩니다 | MODEL | 예 | - | +| `time_embed.` | 시간 임베딩 레이어의 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `label_emb.` | 레이블 임베딩 레이어의 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `input_blocks.0.`부터 `input_blocks.11.`까지 | 12개 입력 블록 각각의 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `middle_block.0.`부터 `middle_block.2.`까지 | 3개 중간 블록 각각의 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `output_blocks.0.`부터 `output_blocks.11.`까지 | 12개 출력 블록 각각의 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | +| `out.` | 출력 레이어의 혼합 비율입니다(기본값: 1.0) | FLOAT | 예 | 0.0 ~ 1.0 (단계: 0.01) | + +비율 0.0은 해당 구성 요소를 `model1`에 있는 그대로 유지하고, 비율 1.0은 이를 전적으로 `model2`에서 가져오며, 그 사이 값은 가중치가 적용된 혼합을 생성합니다. 두 입력 모두 동일한 블록 구조를 가진 Stable Diffusion 2.x 모델이어야 합니다. + +## 출력 + +| 출력 이름 | 설명 | 데이터 타입 | +| --- | --- | --- | +| `MODEL` | 지정된 비율에 따라 두 입력을 결합한 병합된 모델입니다 | MODEL | + +> 이 문서는 AI에 의해 생성되었습니다. 오류를 발견하거나 개선 제안이 있으시면 기여해 주세요! [GitHub에서 편집](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelMergeSD2/ko.md) + +--- +**Source fingerprint (SHA-256):** `b9d53f126139412fbd8b21be72e1dcdb02736519ab4dc9e28c7840d69acb7c87` diff --git a/zh/built-in-nodes/ModelMergeMOSSImage.mdx b/zh/built-in-nodes/ModelMergeMOSSImage.mdx new file mode 100644 index 0000000000..32a609be80 --- /dev/null +++ b/zh/built-in-nodes/ModelMergeMOSSImage.mdx @@ -0,0 +1,38 @@ +--- +title: "ModelMergeMOSSImage - ComfyUI Built-in Node Documentation" +description: "ModelMergeMOSSImage 节点通过逐块混合两个 MOSS 图像模型的对应权重来合并它们,因此结果的一部分可以来自基础模型,其余部分来自微调模型或第二个模型。" +sidebarTitle: "ModelMergeMOSSImage" +icon: "circle" +mode: wide +--- + +ModelMergeMOSSImage 节点通过逐块混合两个 MOSS 图像模型的对应权重来合并它们,因此结果的一部分可以来自基础模型,其余部分来自微调模型或第二个模型。架构的每个主要组件都有各自的混合比例:视频嵌入器、文本嵌入器、时间嵌入、共享块调制、全部 42 个 transformer 层以及输出头。 + +## 输入 + +| 参数名 | 描述 | 数据类型 | 是否必需 | 范围 | +| --- | --- | --- | --- | --- | +| `model1` | 要合并的第一个模型。第二个模型未贡献的所有内容都从此模型保留 | MODEL | 是 | - | +| `model2` | 要合并的第二个模型。其权重按下方比例混合进来 | MODEL | 是 | - | +| `video_embedder.` | 视频嵌入器块的混合比例(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0 (步长:0.01) | +| `text_embedder.proj.` | 文本嵌入器投影层的混合比例(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0 (步长:0.01) | +| `text_embedder.blocks.0.` 和 `text_embedder.blocks.1.` | 两个文本嵌入器块各自的混合比例(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0 (步长:0.01) | +| `time_embedding.` | 时间嵌入块的混合比例(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0 (步长:0.01) | +| `shared_block_modulation.` | transformer 块所使用的共享调制层的混合比例(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0 (步长:0.01) | +| `layers.0.` 到 `layers.41.` | 42 个 transformer 层各自的混合比例(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0 (步长:0.01) | +| `final_norm_video.` | 视频流最终归一化层的混合比例(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0 (步长:0.01) | +| `final_linear_video.` | 视频流最终线性层的混合比例(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0 (步长:0.01) | +| `video_head_modulation.` | 视频输出头调制层的混合比例(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0 (步长:0.01) | + +比例为 0.0 时,该组件保持 `model1` 中的原样;比例为 1.0 时,该组件完全取自 `model2`;介于两者之间的值会产生加权混合。两个输入都必须是架构相同的 MOSS 图像模型;不匹配上述任何前缀的权重将回退到 `video_embedder.` 的比例。 + +## 输出 + +| 输出名 | 描述 | 数据类型 | +| --- | --- | --- | +| `MODEL` | 合并后的模型,按指定比例组合两个输入 | MODEL | + +> 本文档由 AI 生成。如果您发现任何错误或有改进建议,欢迎贡献! [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelMergeMOSSImage/zh.md) + +--- +**Source fingerprint (SHA-256):** `3b7d9c806a8d53ad00044bf30f5e63431fea7ee565414acb70a56e3059164288` diff --git a/zh/built-in-nodes/ModelMergeSD2.mdx b/zh/built-in-nodes/ModelMergeSD2.mdx new file mode 100644 index 0000000000..a988d1a65c --- /dev/null +++ b/zh/built-in-nodes/ModelMergeSD2.mdx @@ -0,0 +1,35 @@ +--- +title: "模型融合(SD2) - ComfyUI Built-in Node Documentation" +description: "ModelMergeSD2 节点通过混合两个 Stable Diffusion 2.x 模型中相互对应的组件来合并这两个模型,其中时间嵌入、标签嵌入以及每个输入块、中间块和输出块都各有一个独立的权重。" +sidebarTitle: "模型融合(SD2)" +icon: "circle" +mode: wide +--- + +ModelMergeSD2 节点通过混合两个 Stable Diffusion 2.x 模型中相互对应的组件来合并这两个模型,其中时间嵌入、标签嵌入以及每个输入块、中间块和输出块都各有一个独立的权重。其块布局与 ModelMergeSD1 相同,因此这两个节点暴露的比率集合也完全一致。 + +## 输入 + +| 参数 | 描述 | 数据类型 | 必填 | 范围 | +| --- | --- | --- | --- | --- | +| `模型1` | 要合并的第一个模型。第二个模型未参与贡献的所有内容都保留自该模型 | MODEL | 是 | - | +| `模型2` | 要合并的第二个模型。其权重会按照下方的比率混合进来 | MODEL | 是 | - | +| `time_embed.` | 时间嵌入层的混合比率(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0(步长:0.01) | +| `label_emb.` | 标签嵌入层的混合比率(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0(步长:0.01) | +| `input_blocks.0.` 到 `input_blocks.11.` | 12 个输入块各自的混合比率(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0(步长:0.01) | +| `middle_block.0.` 到 `middle_block.2.` | 3 个中间块各自的混合比率(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0(步长:0.01) | +| `output_blocks.0.` 到 `output_blocks.11.` | 12 个输出块各自的混合比率(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0(步长:0.01) | +| `出.` | 输出层的混合比率(默认值:1.0) | FLOAT | 是 | 0.0 到 1.0(步长:0.01) | + +比率为 0.0 时,该组件保持 `model1` 中的原样;比率为 1.0 时,该组件完全取自 `model2`;介于两者之间的值则会产生加权混合。两个输入都必须是具有相同块结构的 Stable Diffusion 2.x 模型。 + +## 输出 + +| 输出名 | 描述 | 数据类型 | +| --- | --- | --- | +| `MODEL` | 合并后的模型,按照指定的比率将两个输入组合在一起 | MODEL | + +> 本文档由 AI 生成。如果您发现任何错误或有改进建议,欢迎贡献! [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelMergeSD2/zh.md) + +--- +**Source fingerprint (SHA-256):** `b9d53f126139412fbd8b21be72e1dcdb02736519ab4dc9e28c7840d69acb7c87`