mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-15 08:36:41 +00:00
fix typo in tests/test_anima_cache.py
This commit is contained in:
@@ -488,7 +488,13 @@ def test_full_batch_simulation(args, pairs):
|
||||
print(f" train_text_encoder (NEW=False): {train_text_encoder_FALSE}")
|
||||
print(f"")
|
||||
print(f" Condition with OLD behavior (no override): {cond_old}")
|
||||
print(f" -> {'ENTERS re-encode block -> accesses batch[\"input_ids_list\"] -> CRASH!' if cond_old else 'SKIPS re-encode block -> uses cache -> OK'}")
|
||||
msg = (
|
||||
"ENTERS re-encode block -> accesses batch['input_ids_list'] -> CRASH!"
|
||||
if cond_old
|
||||
else "SKIPS re-encode block -> uses cache -> OK"
|
||||
)
|
||||
|
||||
print(f" -> {msg}")
|
||||
print(f" Condition with NEW behavior (override): {cond_new}")
|
||||
print(f" -> {'ENTERS re-encode block' if cond_new else 'SKIPS re-encode block -> uses cache -> OK'}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user