Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

allow searching for new .pt2 extension, which can contain AOTI compiled modules (#6689)

Raphael Walker8d88bfaff9bd
diff --git a/folder_paths.py b/folder_paths.py
index 3d8f61d4a..72c70f594 100644
--- a/folder_paths.py
+++ b/folder_paths.py
@@ -9,7 +9,7 @@ from collections.abc import Collection
from comfy.cli_args import args
-supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.bin', '.pth', '.safetensors', '.pkl', '.sft'}
+supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetensors', '.pkl', '.sft'}
folder_names_and_paths: dict[str, tuple[list[str], set[str]]] = {}