Fix CUDA build
Browse files- rotary/rotary_cuda.cu +1 -1
rotary/rotary_cuda.cu
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
#include <ATen/native/TensorIterator.h>
|
| 7 |
#include <ATen/native/cuda/Loops.cuh>
|
| 8 |
|
| 9 |
-
void
|
| 10 |
torch::Tensor const &cos, torch::Tensor const &sin,
|
| 11 |
torch::Tensor &out1, torch::Tensor &out2,
|
| 12 |
bool const conj) {
|
|
|
|
| 6 |
#include <ATen/native/TensorIterator.h>
|
| 7 |
#include <ATen/native/cuda/Loops.cuh>
|
| 8 |
|
| 9 |
+
void _apply_rotary(torch::Tensor const &x1, torch::Tensor const &x2,
|
| 10 |
torch::Tensor const &cos, torch::Tensor const &sin,
|
| 11 |
torch::Tensor &out1, torch::Tensor &out2,
|
| 12 |
bool const conj) {
|