Skip to content

Commit

Permalink
Lower minimum ratio of loaded weights on Nvidia.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Jan 27, 2025
1 parent 4f011b9 commit 255edf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfy/model_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def is_amd():

MIN_WEIGHT_MEMORY_RATIO = 0.4
if is_nvidia():
MIN_WEIGHT_MEMORY_RATIO = 0.2
MIN_WEIGHT_MEMORY_RATIO = 0.1

ENABLE_PYTORCH_ATTENTION = False
if args.use_pytorch_cross_attention:
Expand Down

0 comments on commit 255edf2

Please sign in to comment.