[AMD][MoRI] Auto-select dispatch quantization type from MoE weight dtype. (#21040)
This commit is contained in:
@@ -69,7 +69,7 @@ class TestPureDP(CustomTestCase):
|
||||
|
||||
env = dict(os.environ)
|
||||
env["SGLANG_USE_AITER"] = "1"
|
||||
env["SGLANG_MORI_FP8_DISP"] = "False"
|
||||
env["SGLANG_MORI_DISPATCH_DTYPE"] = "bf16"
|
||||
env["SGLANG_MORI_NUM_MAX_DISPATCH_TOKENS_PER_RANK"] = "4096"
|
||||
env["MORI_SHMEM_MODE"] = "ISOLATION" # avoid out of symmetric heap memory
|
||||
|
||||
@@ -113,7 +113,7 @@ class TestMTP(CustomTestCase):
|
||||
|
||||
env = dict(os.environ)
|
||||
env["SGLANG_USE_AITER"] = "1"
|
||||
env["SGLANG_MORI_FP8_DISP"] = "False"
|
||||
env["SGLANG_MORI_DISPATCH_DTYPE"] = "bf16"
|
||||
env["SGLANG_MORI_NUM_MAX_DISPATCH_TOKENS_PER_RANK"] = "4096"
|
||||
env["MORI_SHMEM_MODE"] = "ISOLATION" # avoid out of symmetric heap memory
|
||||
|
||||
@@ -166,7 +166,7 @@ class TestNormal(CustomTestCase):
|
||||
|
||||
env = dict(os.environ)
|
||||
env["SGLANG_USE_AITER"] = "1"
|
||||
env["SGLANG_MORI_FP8_DISP"] = "False"
|
||||
env["SGLANG_MORI_DISPATCH_DTYPE"] = "bf16"
|
||||
env["SGLANG_MORI_NUM_MAX_DISPATCH_TOKENS_PER_RANK"] = "4096"
|
||||
env["MORI_SHMEM_MODE"] = "ISOLATION" # avoid out of symmetric heap memory
|
||||
|
||||
@@ -213,7 +213,7 @@ class TestLowLatency(CustomTestCase):
|
||||
|
||||
env = dict(os.environ)
|
||||
env["SGLANG_USE_AITER"] = "1"
|
||||
env["SGLANG_MORI_FP8_DISP"] = "False"
|
||||
env["SGLANG_MORI_DISPATCH_DTYPE"] = "bf16"
|
||||
env["SGLANG_MORI_NUM_MAX_DISPATCH_TOKENS_PER_RANK"] = "4096"
|
||||
env["MORI_SHMEM_MODE"] = "ISOLATION" # avoid out of symmetric heap memory
|
||||
# FIXME(billishyahao): enable p2p due to no rdma devices on CI machine
|
||||
@@ -263,7 +263,7 @@ class TestTBOwithNormal(CustomTestCase):
|
||||
|
||||
env = dict(os.environ)
|
||||
env["SGLANG_USE_AITER"] = "1"
|
||||
env["SGLANG_MORI_FP8_DISP"] = "False"
|
||||
env["SGLANG_MORI_DISPATCH_DTYPE"] = "bf16"
|
||||
env["SGLANG_MORI_NUM_MAX_DISPATCH_TOKENS_PER_RANK"] = "4096"
|
||||
env["MORI_SHMEM_MODE"] = "ISOLATION" # avoid out of symmetric heap memory
|
||||
|
||||
@@ -311,7 +311,7 @@ class TestTBOwithLowLatency(CustomTestCase):
|
||||
|
||||
env = dict(os.environ)
|
||||
env["SGLANG_USE_AITER"] = "1"
|
||||
env["SGLANG_MORI_FP8_DISP"] = "False"
|
||||
env["SGLANG_MORI_DISPATCH_DTYPE"] = "bf16"
|
||||
env["SGLANG_MORI_NUM_MAX_DISPATCH_TOKENS_PER_RANK"] = "4096"
|
||||
env["MORI_SHMEM_MODE"] = "ISOLATION" # avoid out of symmetric heap memory
|
||||
# FIXME(billishyahao): enable p2p due to no rdma devices on CI machine
|
||||
@@ -365,7 +365,7 @@ class TestMTPwithTBONormal(CustomTestCase):
|
||||
|
||||
env = dict(os.environ)
|
||||
env["SGLANG_USE_AITER"] = "1"
|
||||
env["SGLANG_MORI_FP8_DISP"] = "False"
|
||||
env["SGLANG_MORI_DISPATCH_DTYPE"] = "bf16"
|
||||
env["SGLANG_MORI_NUM_MAX_DISPATCH_TOKENS_PER_RANK"] = "4096"
|
||||
env["MORI_SHMEM_MODE"] = "ISOLATION" # avoid out of symmetric heap memory
|
||||
|
||||
@@ -423,7 +423,7 @@ class TestMTPwithTBOLowLatency(CustomTestCase):
|
||||
|
||||
env = dict(os.environ)
|
||||
env["SGLANG_USE_AITER"] = "1"
|
||||
env["SGLANG_MORI_FP8_DISP"] = "False"
|
||||
env["SGLANG_MORI_DISPATCH_DTYPE"] = "bf16"
|
||||
env["SGLANG_MORI_NUM_MAX_DISPATCH_TOKENS_PER_RANK"] = "4096"
|
||||
env["MORI_SHMEM_MODE"] = "ISOLATION" # avoid out of symmetric heap memory
|
||||
# FIXME(billishyahao): enable p2p due to no rdma devices on CI machine
|
||||
|
||||
Reference in New Issue
Block a user