> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-comfy-docs-comfyapi-search.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ModelAttentionBackend - ComfyUI Built-in Node Documentation

> 이 노드는 모델의 밀집 어텐션 구현을 선택하고, 모델을 복제한 뒤, 선택한 백엔드를 적용하여 패치된 복제본을 반환합니다.

이 노드는 모델의 밀집 어텐션 구현을 선택하고, 모델을 복제한 뒤, 선택한 백엔드를 적용하여 패치된 복제본을 반환합니다. Block Sparse Attention과 함께 사용할 때, 이 백엔드는 희소 어텐션이 비활성 상태이거나 지원되지 않을 때마다 사용됩니다. 선택한 백엔드를 사용할 수 없으면 노드는 자동으로 PyTorch 어텐션으로 대체됩니다.

## 입력

| 매개변수        | 설명                                                                                                                                                             | 데이터 타입 | 필수 | 범위                                                 |
| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -- | -------------------------------------------------- |
| `model`     | 패치할 모델입니다.                                                                                                                                                     | MODEL  | 예  |                                                    |
| `attention` | 적용할 밀집 어텐션 백엔드입니다. Comfy Kitchen 어텐션은 양자화된 INT8 어텐션을 사용하며 Nvidia 및 AMD GPU에서만 사용할 수 있습니다. 기본값: "pytorch attention". 선택한 백엔드를 사용할 수 없으면 PyTorch 어텐션이 대체로 사용됩니다. | COMBO  | 예  | "pytorch attention"<br />"comfy kitchen attention" |

참고: "comfy kitchen attention" 옵션은 현재 환경에서 Comfy Kitchen INT8 어텐션 모듈을 사용할 수 있는 경우에만 표시됩니다.

## 출력

| 출력 이름   | 설명                              | 데이터 타입 |
| ------- | ------------------------------- | ------ |
| `model` | 선택한 어텐션 백엔드가 적용된 입력 모델의 복제본입니다. | MODEL  |

> 이 문서는 AI에 의해 생성되었습니다. 오류를 발견하거나 개선 제안이 있으시면 기여해 주세요! [GitHub에서 편집](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelAttentionBackend/ko.md)

***

**Source fingerprint (SHA-256):** `4f6e4800c2a3bb09b47b7c8f0481e1b6de3070f57234e610df5d3ce60dfdb309`
