Skip to content

Commit a4ac123

Browse files
Update ggml/src/ggml-cuda/fattn-common.cuh
Co-authored-by: Georgi Gerganov <[email protected]>
1 parent dda502e commit a4ac123

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ggml/src/ggml-cuda/fattn-common.cuh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,6 @@ void launch_fattn(
777777

778778
V_f16.alloc(ggml_nelements(V));
779779
if (ggml_is_contiguously_allocated(V)) {
780-
V_f16.alloc(ggml_nelements(V));
781780
to_fp16_cuda_t to_fp16 = ggml_get_to_fp16_cuda(V->type);
782781
to_fp16(V_data, V_f16.ptr, ggml_nelements(V), main_stream);
783782
V_data = (char *) V_f16.ptr;

0 commit comments

Comments
 (0)