You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took a look into original vllm and they use torch instead:
# layer norm ops
def rms_norm(out: torch.Tensor, input: torch.Tensor, weight: torch.Tensor,
epsilon: float) -> None:
torch.ops._C.rms_norm(out, input, weight, epsilon)
```
But if i change it to torch, it goes nuts and a lot of errors come in. What should I do?
The text was updated successfully, but these errors were encountered:
Hello, after all following your code and installing vllm_uncertainty I'm trying to run a code. In forward_step:
I got an error of 'vllm_ops' undefined. Then I go to
_custom_ops.py
: And I found the fix with importInstead of importing from vllm._C I did
from vllm.model_executor.layers import ops as vllm_ops
But that doesn't have a method rms_norm in line:I took a look into original vllm and they use torch instead:
The text was updated successfully, but these errors were encountered: