Support copying tensor from cpu to gpu without using copy engines (#10007)

This commit is contained in:
fzyzcjy authored and GitHub committed 2025-09-05 20:07:19 +08:00
1 parent 5e5c30d9ab
commit bd7f882142
6 files changed
+70 -1

No files matched your search

+2
View File
@@ -750,3 +750,5 @@ std::vector<int64_t> create_greenctx_stream_by_value(int64_t smA, int64_t smB, i
* From csrc/memory
*/
void store_kv_cache(at::Tensor k_cache, at::Tensor v_cache, at::Tensor out_loc, at::Tensor k, at::Tensor v);
void copy_to_gpu_no_ce(const at::Tensor& input, at::Tensor& output);