[BugFix][XPU] Fix speculative decoding on Intel XPU due to bug with IGC_ForceOCLSIMDWidth=16 (#35298)
Signed-off-by: Ofir Zafrir <ofir.zafrir@intel.com> Co-authored-by: Kunshang Ji <kunshang.ji@intel.com>
This commit is contained in:
co-authored by
Kunshang Ji
parent
d3a51da92a
commit
a07c4c5939
@@ -201,9 +201,6 @@ class XPUPlatform(Platform):
|
|||||||
|
|
||||||
if vllm_config.lora_config is not None:
|
if vllm_config.lora_config is not None:
|
||||||
compilation_config.mode = CompilationMode.NONE
|
compilation_config.mode = CompilationMode.NONE
|
||||||
# decrease triton kernel compilation scratch space for speculative decoding
|
|
||||||
if vllm_config.speculative_config is not None:
|
|
||||||
os.environ["IGC_ForceOCLSIMDWidth"] = "16" # noqa: SIM112
|
|
||||||
# check and update parallel config
|
# check and update parallel config
|
||||||
parallel_config = vllm_config.parallel_config
|
parallel_config = vllm_config.parallel_config
|
||||||
# Only override worker_cls if it's still the default "auto"
|
# Only override worker_cls if it's still the default "auto"
|
||||||
|
|||||||
Reference in New Issue
Block a user