Support copying tensor from cpu to gpu without using copy engines (#10007)
This commit is contained in:
1 parent
5e5c30d9ab
commit
bd7f882142
6 files changed
+70
-1
No files matched your search
@@ -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);
|
||||
Reference in new issue
Block a user