"docs/vscode:/vscode.git/clone" did not exist on "e9b92dcd89e8d05f162a8fdaa3d5d60012615514"
Commit 6d2f74ef authored by Woosuk Kwon's avatar Woosuk Kwon
Browse files

Remove redundant fn

parent 3b41f165
......@@ -5,16 +5,9 @@ void copy_blocks(
torch::Tensor& dst,
const std::map<int64_t, int64_t>& block_mapping);
void copy_cache_blocks(
torch::Tensor& src,
torch::Tensor& dst,
const std::map<int64_t, int64_t>& block_mapping) {
copy_blocks(src, dst, block_mapping);
}
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
m.def(
"copy_cache_blocks",
&copy_cache_blocks,
&copy_blocks,
"Copy the cache blocks from src to dst");
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment