[Bug Fix] GLM-5.1: drop constexpr on page_indice_batch_offset, skip offloader post_init on draft worker, support N=32 in copy_to_gpu_no_ce (#23550)
This commit is contained in:
@@ -52,6 +52,8 @@ void copy_to_gpu_no_ce(const at::Tensor& input, at::Tensor& output) {
|
||||
copy_to_gpu_no_ce_impl<72>(input, output);
|
||||
} else if (N == 64) {
|
||||
copy_to_gpu_no_ce_impl<64>(input, output);
|
||||
} else if (N == 32) {
|
||||
copy_to_gpu_no_ce_impl<32>(input, output);
|
||||
} else {
|
||||
TORCH_CHECK(false, "unexpected N");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user