mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-21 23:57:58 +01:00
Fix temperature_last when temperature not in sampler priority (#6439)
This commit is contained in:
parent
9d8b1c5fd9
commit
03a2e70054
@ -570,7 +570,6 @@ def get_logits_processor_patch(self, **kwargs):
|
||||
# Handle temperature_last
|
||||
if generation_config.temperature_last:
|
||||
for param_name in ['temperature', 'dynamic_temperature', 'quadratic_sampling']:
|
||||
if param_name in sampler_priority:
|
||||
if param_name in sampler_priority:
|
||||
index = sampler_priority.index(param_name)
|
||||
sampler_priority.append(sampler_priority.pop(index))
|
||||
|
Loading…
Reference in New Issue
Block a user