Skip to content
New issue

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

Peft token level fwd/bwd #1233

Closed
wants to merge 10 commits into from
Prev Previous commit
Next Next commit
Merge branch 'peft' into peft_xinhao
xinhaoc authored Jan 17, 2024
commit 96cb2a966337f00bb0f899dd3a3d27470c41d30d
1 change: 0 additions & 1 deletion src/ops/inc_multihead_self_attention.cu
Original file line number Diff line number Diff line change
@@ -1098,7 +1098,6 @@ void peft_bwd_kernel(IncMultiHeadSelfAttentionMeta const *m,
int strideA = m->vProjSize;
int strideB = m->vProjSize;
int strideC = num_tokens * num_total_tokens; // num_new_tokens * total_tokens

checkCUDA(cublasGemmStridedBatchedEx(m->handle.blas,
CUBLAS_OP_T,
CUBLAS_OP_N,
You are viewing a condensed version of this merge commit. You can view the full changes here.