remove debug

This commit is contained in:
maybleMyers 2025-08-30 04:39:48 -07:00
parent 6862ac07c5
commit 5612bc2ccd

View File

@ -424,7 +424,10 @@ def build_module_profile(model, model_gpu_memory_when_using_cpu_swap):
is_chromadct = True
if is_chromadct:
print("Detected ChromaDCT model - using optimized module profiling...")
# Only print message once per session
if not hasattr(build_module_profile, '_chromadct_profiling_message_shown'):
print("Detected ChromaDCT model - using optimized module profiling...")
build_module_profile._chromadct_profiling_message_shown = True
return build_chromadct_module_profile(model, all_modules, legacy_modules, model_gpu_memory_when_using_cpu_swap)
except Exception as e:
print(f"ChromaDCT detection failed: {e}")