Skip to content

Commit

Permalink
fix: reduce batch amount with PP On
Browse files Browse the repository at this point in the history
Closes #402
  • Loading branch information
db0 committed Mar 27, 2024
1 parent 42e22bb commit d958a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/classes/stable/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def get_safe_amount(self, amount, wp):
mps = wp.get_amount_calculation_things()
# If the job has upscalers, we increase the amount of MPS in our calculations
# As currently the upscaling happens serially on the worker
pp_multiplier = 1 + (wp.count_pp() * 0.2)
pp_multiplier = 1 + (wp.count_pp() * 0.4)
if wp.has_heavy_pp():
pp_multiplier *= 1.8
mps *= pp_multiplier
Expand Down

0 comments on commit d958a36

Please sign in to comment.