mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[CI] Add unit test for swap_layout && remove unit test of splitwise_scheduler (#6250)
* Add unit test for swap_layout * remove splitwise_scheduler test
This commit is contained in:
@@ -53,7 +53,6 @@ void SwapCacheImpLayout(
|
||||
const paddle::Tensor& cache_gpu = cache_gpu_tensors[layer_idx];
|
||||
data_t* cache_gpu_ptr = const_cast<data_t*>(cache_gpu.data<data_t>());
|
||||
auto* cache_cpu_ptr = reinterpret_cast<data_t*>(cache_cpu_pointer);
|
||||
// auto stream = cache_gpu.stream();
|
||||
|
||||
for (int block_idx = 0; block_idx < gpu_block_ids.size(); block_idx++) {
|
||||
auto cur_gpu_block_id = gpu_block_ids[block_idx];
|
||||
|
||||
Reference in New Issue
Block a user