mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
MTJ Gen Work
This commit is contained in:
@@ -5053,6 +5053,8 @@ def tpu_raw_generate(
|
|||||||
max_length: int,
|
max_length: int,
|
||||||
batch_count: int,
|
batch_count: int,
|
||||||
):
|
):
|
||||||
|
|
||||||
|
prompt_tokens = prompt_tokens[0]
|
||||||
# Mostly lifted from apiactionsubmit_tpumtjgenerate
|
# Mostly lifted from apiactionsubmit_tpumtjgenerate
|
||||||
soft_tokens = tpumtjgetsofttokens()
|
soft_tokens = tpumtjgetsofttokens()
|
||||||
__debug("we are generating with", prompt_tokens, "batch", batch_count, "soft tokens", soft_tokens)
|
__debug("we are generating with", prompt_tokens, "batch", batch_count, "soft tokens", soft_tokens)
|
||||||
|
Reference in New Issue
Block a user