We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当我令stratified_transformer.channels = [256],stratified_transformer.num_heads = [4]时,我遇到了Caught an unknown exception!这个错误。我发现在pontops2中仅提供了 switch (C / h) { case 16: attention_step1_forward_cuda_kernel_v2<16><<<blocks, n_threads, 0>>>(N, M, h, q, k, index0_offsets, index1, attn); break; case 32: attention_step1_forward_cuda_kernel_v2<32><<<blocks, n_threads, 0>>>(N, M, h, q, k, index0_offsets, index1, attn); break; default: throw "d != 16 and d != 32"; } 我能否简单的修改这里的16为256/4=64来解决该bug?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当我令stratified_transformer.channels = [256],stratified_transformer.num_heads = [4]时,我遇到了Caught an unknown exception!这个错误。我发现在pontops2中仅提供了
switch (C / h) {
case 16:
attention_step1_forward_cuda_kernel_v2<16><<<blocks, n_threads, 0>>>(N, M, h, q, k, index0_offsets, index1, attn);
break;
case 32:
attention_step1_forward_cuda_kernel_v2<32><<<blocks, n_threads, 0>>>(N, M, h, q, k, index0_offsets, index1, attn);
break;
default:
throw "d != 16 and d != 32";
}
我能否简单的修改这里的16为256/4=64来解决该bug?
The text was updated successfully, but these errors were encountered: