From d3d6e5bcc89a923d41afdd60e5b4d6e5c81bce8b Mon Sep 17 00:00:00 2001 From: DenisKochetov <57500456+DenisKochetov@users.noreply.github.com> Date: Mon, 29 Dec 2025 16:06:01 +0800 Subject: [PATCH] fix sageattention bug removed monkey patch from stable3dgen/trellis mentioned in https://github.com/MrForExample/ComfyUI-3D-Pack/issues/555#issuecomment-3694387910 --- Gen_3D_Modules/Stable3DGen/trellis/backend_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gen_3D_Modules/Stable3DGen/trellis/backend_config.py b/Gen_3D_Modules/Stable3DGen/trellis/backend_config.py index bd72c38..70fcccf 100644 --- a/Gen_3D_Modules/Stable3DGen/trellis/backend_config.py +++ b/Gen_3D_Modules/Stable3DGen/trellis/backend_config.py @@ -48,7 +48,7 @@ def _try_import_sageattention() -> bool: try: import torch.nn.functional as F from sageattention import sageattn - F.scaled_dot_product_attention = sageattn + #F.scaled_dot_product_attention = sageattn #import sageattention return True except ImportError: