Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions instill/helpers/ray_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ async def parse_task_completion_to_completion_input(

# number of generated outputs
if "n" in parameter:
inp.n = parameter["n"]
inp.n = int(parameter["n"])

# top p
if "top-p" in parameter:
Expand Down Expand Up @@ -640,7 +640,7 @@ async def parse_task_chat_to_chat_input(

# number of generated outputs
if "n" in parameter:
inp.n = parameter["n"]
inp.n = int(parameter["n"])

# top p
if "top-p" in parameter:
Expand Down Expand Up @@ -830,7 +830,7 @@ async def parse_task_chat_to_multimodal_chat_input(

# number of generated outputs
if "n" in parameter:
inp.n = parameter["n"]
inp.n = int(parameter["n"])

# top p
if "top-p" in parameter:
Expand Down Expand Up @@ -886,7 +886,7 @@ async def parse_task_text_to_image_input(

# number of generated outputs
if "n" in parameter:
inp.n = parameter["n"]
inp.n = int(parameter["n"])

# seed
if "seed" in parameter:
Expand Down