mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-06-24 21:07:35 +08:00
reset memory estimation for radiance to 1
This commit is contained in:
parent
710c3d9fca
commit
b205937b9d
@ -165,7 +165,7 @@ def get_chromadct_inference_memory_multiplier() -> float:
|
||||
if is_chromadct_model(None):
|
||||
# ChromaDCT processes in pixel space (3 channels) vs latent space (16 channels)
|
||||
# and has more efficient NeRF processing
|
||||
return 0.4 # 40% of normal inference memory requirement
|
||||
return 1 # reset
|
||||
return 1.0
|
||||
|
||||
|
||||
|
||||
@ -731,7 +731,7 @@ def minimum_inference_memory():
|
||||
# ChromaDCT models are more memory efficient - reduce inference memory requirement
|
||||
# ChromaDCT works in pixel space (3 channels) vs latent space (16 channels)
|
||||
# and has more efficient patch-based processing
|
||||
chromadct_inference_memory = int(current_inference_memory * 0.4) # 40% of normal requirement
|
||||
chromadct_inference_memory = int(current_inference_memory * 1) # reset
|
||||
|
||||
# Only print message once per session
|
||||
if not hasattr(minimum_inference_memory, '_chromadct_message_shown'):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user