mirror of
https://github.com/turboderp-org/exllamav3.git
synced 2026-04-20 14:29:51 +00:00
Fix ComboSampler init when initializing as greedy
This commit is contained in:
@@ -117,14 +117,14 @@ class ComboSampler(CustomSampler):
|
||||
SS_Temperature(temperature if temp_last else 1.0),
|
||||
]
|
||||
|
||||
if adaptive_target != 1.0:
|
||||
stack += [
|
||||
SS_AdaptiveP(adaptive_target, adaptive_decay)
|
||||
]
|
||||
else:
|
||||
stack += [
|
||||
SS_Sample()
|
||||
]
|
||||
if adaptive_target != 1.0:
|
||||
stack += [
|
||||
SS_AdaptiveP(adaptive_target, adaptive_decay)
|
||||
]
|
||||
else:
|
||||
stack += [
|
||||
SS_Sample()
|
||||
]
|
||||
|
||||
super().__init__(stack)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user