Commit d0485181 authored by zhuwenwen's avatar zhuwenwen
Browse files

remove redundant envs

parent 4fc7b5d8
...@@ -75,7 +75,7 @@ class SiluAndMul(CustomOp): ...@@ -75,7 +75,7 @@ class SiluAndMul(CustomOp):
def forward_native(self, x: torch.Tensor) -> torch.Tensor: def forward_native(self, x: torch.Tensor) -> torch.Tensor:
"""PyTorch-native implementation equivalent to forward().""" """PyTorch-native implementation equivalent to forward()."""
if not torch.compiler.is_compiling() and envs.envs.VLLM_ENABLE_TBO: if not torch.compiler.is_compiling() and envs.VLLM_ENABLE_TBO:
return self.forward_cuda(x) return self.forward_cuda(x)
elif envs.VLLM_USE_OPT_OP: elif envs.VLLM_USE_OPT_OP:
return self.forward_cuda(x) return self.forward_cuda(x)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment