vllm.model_executor.kernels.linear.zentorch_utils
¶
Gates zentorch CPU linear dispatch on platform/op availability.
Functions:
-
has_zentorch_op–Return
Truewhen running on Zen CPU with all named ops registered.
_moe_activation_to_str(activation)
¶
Normalize activation to a lowercase string (enum-safe).
has_zentorch_op(op_names)
¶
Return True when running on Zen CPU with all named ops registered.