Credit turboderp
This commit is contained in:
parent
0af10ab49b
commit
d4b851bdc8
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ class ExllamaModel:
|
||||||
break
|
break
|
||||||
|
|
||||||
# Case 2: CFG
|
# Case 2: CFG
|
||||||
|
# Copied from https://github.com/turboderp/exllama/blob/master/example_cfg.py
|
||||||
else:
|
else:
|
||||||
alpha = state['guidance_scale']
|
alpha = state['guidance_scale']
|
||||||
prompts = [prompt, state['negative_prompt'] or '']
|
prompts = [prompt, state['negative_prompt'] or '']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue