`generated_cols` needs to be set properly by TPU static backend
This commit is contained in:
parent
9594b2db1c
commit
45bfde8d5d
|
@ -3064,6 +3064,7 @@ def tpumtjgenerate(txt, minimum, maximum, found_entries=None):
|
|||
past = genout
|
||||
for i in range(vars.numseqs):
|
||||
vars.lua_koboldbridge.generated[i+1] = vars.lua_state.table(*genout[i].tolist())
|
||||
vars.lua_koboldbridge.generated_cols = vars.generated_tkns = genout.shape[-1]
|
||||
|
||||
except Exception as e:
|
||||
if(issubclass(type(e), lupa.LuaError)):
|
||||
|
|
Loading…
Reference in New Issue