Fix the signature
Browse files
torch-ext/torch_binding.cpp
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
|
| 6 |
|
| 7 |
TORCH_LIBRARY_EXPAND(TORCH_EXTENSION_NAME, ops) {
|
| 8 |
-
ops.def("residual_rms(Tensor input, Tensor residual, Tensor weight, Tensor scale_tensor,
|
| 9 |
ops.impl("residual_rms", torch::kCUDA, &residual_rms);
|
| 10 |
}
|
| 11 |
|
|
|
|
| 5 |
|
| 6 |
|
| 7 |
TORCH_LIBRARY_EXPAND(TORCH_EXTENSION_NAME, ops) {
|
| 8 |
+
ops.def("residual_rms(Tensor input, Tensor residual, Tensor weight, Tensor scale_tensor, float epsilon, Tensor! output, Tensor next_buffer, int num_threads, bool force_scalar) -> ()");
|
| 9 |
ops.impl("residual_rms", torch::kCUDA, &residual_rms);
|
| 10 |
}
|
| 11 |
|