fix: make inference deterministic for large TP (#10930)
Co-authored-by: yhyang201 <yhyang201@gmail.com> Co-authored-by: Yangmin Li <yangminl@nvidia.com> Co-authored-by: Yuan Luo <yuan.luo@hotmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -19,7 +19,7 @@ from sglang.profiler import run_profile
|
||||
PROMPT_1 = "Tell me about Richard Feynman: "
|
||||
PROMPT_2 = "Generate 1000 random numbers. Go directly into it, don't say Sure and don't say here are numbers. Just start with a number."
|
||||
dirpath = os.path.dirname(__file__)
|
||||
with open("python/sglang/test/long_prompt.txt", "r") as f:
|
||||
with open(os.path.join(dirpath, "long_prompt.txt"), "r") as f:
|
||||
LONG_PROMPT = f.read()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user