[XPU] Fix compile size for xpu (#23069)

Signed-off-by: Kunshang Ji <kunshang.ji@intel.com>
This commit is contained in:
Kunshang Ji 2025-08-18 15:04:08 +08:00 committed by GitHub
parent 89657a557c
commit 5f5664b3e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3548,7 +3548,7 @@ class VllmConfig:
if self.compilation_config.pass_config.enable_sequence_parallelism:
self.compilation_config.custom_ops.append("+rms_norm")
if current_platform.is_cuda_alike():
if current_platform.is_cuda_alike() or current_platform.is_xpu():
# if cudagraph_mode is not explicitly set by users, set default
# value
if self.compilation_config.cudagraph_mode is None: