Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
.. drwxr-xr-x
cudnn_fmha drwxr-xr-x
cutlass_fmha drwxr-xr-x
fastertransformer_decoder_attention drwxr-xr-x
flash_attention drwxr-xr-x
lean_attention drwxr-xr-x
tensorrt_fused_multihead_attention drwxr-xr-x
xqa drwxr-xr-x
add_bias_transpose.cu 50 KB -rw-r--r--
add_bias_transpose.h 6 KB -rw-r--r--
attention.cc 16 KB -rw-r--r--
attention.h 1 KB -rw-r--r--
attention_data.h 14 KB -rw-r--r--
attention_impl.cu 49 KB -rw-r--r--
attention_impl.h 8 KB -rw-r--r--
attention_kernel_options.cc 8 KB -rw-r--r--
attention_kernel_options.h 4 KB -rw-r--r--
attention_kv_cache.cu 62 KB -rw-r--r--
attention_kv_cache.h 7 KB -rw-r--r--
attention_prepare_qkv.cu 37 KB -rw-r--r--
attention_qk.cu 4 KB -rw-r--r--
attention_qk.h 569 b -rw-r--r--
attention_softmax.cu 53 KB -rw-r--r--
attention_softmax.h 3 KB -rw-r--r--
attention_strided_copy.cu 7 KB -rw-r--r--
attention_transpose.cu 17 KB -rw-r--r--
bert_padding.cu 19 KB -rw-r--r--
bert_padding.h 2 KB -rw-r--r--
branchwise_rms_norm.cc 3 KB -rw-r--r--
branchwise_rms_norm.h 523 b -rw-r--r--
branchwise_rms_norm_impl.cu 4 KB -rw-r--r--
branchwise_rms_norm_impl.h 551 b -rw-r--r--
causal_conv_with_state.cc 7 KB -rw-r--r--
causal_conv_with_state.h 778 b -rw-r--r--
causal_conv_with_state_impl.cu 24 KB -rw-r--r--
causal_conv_with_state_impl.h 3 KB -rw-r--r--
decoder_attention.cc 17 KB -rw-r--r--
decoder_attention.h 615 b -rw-r--r--
decoder_attention_impl.cu 11 KB -rw-r--r--
decoder_attention_impl.h 2 KB -rw-r--r--
decoder_masked_multihead_attention.cc 13 KB -rw-r--r--
decoder_masked_multihead_attention.h 730 b -rw-r--r--
decoder_masked_self_attention.cc 9 KB -rw-r--r--
decoder_masked_self_attention.h 680 b -rw-r--r--
dynamic_sparse_attention.cc 13 KB -rw-r--r--
dynamic_sparse_attention.h 987 b -rw-r--r--
dynamic_sparse_attention_impl.cu 50 KB -rw-r--r--
dynamic_sparse_attention_impl.h 3 KB -rw-r--r--
embed_layer_norm.cc 4 KB -rw-r--r--
embed_layer_norm.h 557 b -rw-r--r--
embed_layer_norm_impl.cu 9 KB -rw-r--r--
embed_layer_norm_impl.h 2 KB -rw-r--r--
engram_gate.cc 4 KB -rw-r--r--
engram_gate.h 568 b -rw-r--r--
engram_gate_impl.cu 5 KB -rw-r--r--
engram_gate_impl.h 698 b -rw-r--r--
engram_helper.cuh 4 KB -rw-r--r--
fast_gelu.cc 4 KB -rw-r--r--
fast_gelu.h 578 b -rw-r--r--
gated_add.cc 3 KB -rw-r--r--
gated_add.h 608 b -rw-r--r--
gated_add_impl.cu 4 KB -rw-r--r--
gated_add_impl.h 636 b -rw-r--r--
gated_delta_net.cc 21 KB -rw-r--r--
gated_delta_net.h 897 b -rw-r--r--
gated_delta_net_impl.cu 32 KB -rw-r--r--
gated_delta_net_impl.h 2 KB -rw-r--r--
gated_delta_net_mma.cuh 13 KB -rw-r--r--
gated_delta_net_plan.cc 961 b -rw-r--r--
gated_delta_net_plan.h 12 KB -rw-r--r--
gated_delta_net_split_impl.cu 23 KB -rw-r--r--
gemma_rotary_emb.cc 3 KB -rw-r--r--
gemma_rotary_emb.h 617 b -rw-r--r--
gemma_rotary_emb_impl.cu 3 KB -rw-r--r--
gemma_rotary_emb_impl.h 650 b -rw-r--r--
group_query_attention.cc 59 KB -rw-r--r--
group_query_attention.h 3 KB -rw-r--r--
group_query_attention_eligibility.h 9 KB -rw-r--r--
group_query_attention_impl.cu 90 KB -rw-r--r--
group_query_attention_impl.h 9 KB -rw-r--r--
group_query_attention_qdq.cuh 40 KB -rw-r--r--
group_query_attention_qkv.cuh 25 KB -rw-r--r--
group_query_attention_workspace.cc 24 KB -rw-r--r--
group_query_attention_workspace.h 14 KB -rw-r--r--
group_query_attention_workspace_bounds.cc 17 KB -rw-r--r--
group_query_attention_workspace_bounds.h 3 KB -rw-r--r--
group_query_attention_workspace_estimate.cc 22 KB -rw-r--r--
group_query_attention_workspace_estimate.h 3 KB -rw-r--r--
group_query_attention_workspace_mea_unfused.cc 12 KB -rw-r--r--
group_query_attention_workspace_routes.cc 11 KB -rw-r--r--
group_query_attention_workspace_xqa_flash.cc 29 KB -rw-r--r--
hyper_connection_post_mix.cc 3 KB -rw-r--r--
hyper_connection_post_mix.h 515 b -rw-r--r--
hyper_connection_post_mix_impl.cu 3 KB -rw-r--r--
hyper_connection_post_mix_impl.h 514 b -rw-r--r--
hyper_connection_pre_mix.cc 3 KB -rw-r--r--
hyper_connection_pre_mix.h 539 b -rw-r--r--
hyper_connection_pre_mix_impl.cu 3 KB -rw-r--r--
hyper_connection_pre_mix_impl.h 579 b -rw-r--r--
layer_norm.cuh 8 KB -rw-r--r--
linear_attention.cc 12 KB -rw-r--r--
linear_attention.h 841 b -rw-r--r--
linear_attention_gates.cc 6 KB -rw-r--r--
linear_attention_gates.h 1 KB -rw-r--r--
linear_attention_gates_impl.cu 7 KB -rw-r--r--
linear_attention_gates_impl.h 1 KB -rw-r--r--
linear_attention_impl.cu 56 KB -rw-r--r--
linear_attention_impl.h 2 KB -rw-r--r--
longformer_attention.cc 14 KB -rw-r--r--
longformer_attention.h 715 b -rw-r--r--
longformer_attention_impl.cu 50 KB -rw-r--r--
longformer_attention_impl.h 2 KB -rw-r--r--
longformer_attention_softmax.cu 30 KB -rw-r--r--
longformer_attention_softmax.h 2 KB -rw-r--r--
longformer_global_impl.cu 3 KB -rw-r--r--
longformer_global_impl.h 677 b -rw-r--r--
mrotary_embedding.cc 5 KB -rw-r--r--
mrotary_embedding.h 759 b -rw-r--r--
mrotary_embedding_impl.cu 8 KB -rw-r--r--
mrotary_embedding_impl.h 1 KB -rw-r--r--
multihead_attention.cc 32 KB -rw-r--r--
multihead_attention.h 2 KB -rw-r--r--
ngram_hash_mapping.cc 5 KB -rw-r--r--
ngram_hash_mapping.h 656 b -rw-r--r--
ngram_hash_mapping_impl.cu 8 KB -rw-r--r--
ngram_hash_mapping_impl.h 769 b -rw-r--r--
ngram_repeat_block.cc 2 KB -rw-r--r--
ngram_repeat_block.h 576 b -rw-r--r--
ngram_repeat_block_impl.cu 3 KB -rw-r--r--
ngram_repeat_block_impl.h 566 b -rw-r--r--
packed_attention.cc 13 KB -rw-r--r--
packed_attention.h 3 KB -rw-r--r--
packed_attention_data.h 1 KB -rw-r--r--
packed_attention_impl.cu 25 KB -rw-r--r--
packed_attention_impl.h 1 KB -rw-r--r--
packed_attention_workspace.cc 52 KB -rw-r--r--
packed_attention_workspace.h 10 KB -rw-r--r--
packed_attention_workspace_estimate.cc 19 KB -rw-r--r--
packed_attention_workspace_estimate.h 4 KB -rw-r--r--
packed_multihead_attention.cc 12 KB -rw-r--r--
packed_multihead_attention.h 2 KB -rw-r--r--
packed_multihead_attention_impl.cu 34 KB -rw-r--r--
packed_multihead_attention_impl.h 1 KB -rw-r--r--
paged_attention.cc 59 KB -rw-r--r--
paged_attention.h 4 KB -rw-r--r--
paged_attention_impl.cu 108 KB -rw-r--r--
paged_attention_impl.h 3 KB -rw-r--r--
relative_attn_bias.cc 10 KB -rw-r--r--
relative_attn_bias.h 871 b -rw-r--r--
relative_attn_bias_impl.cu 15 KB -rw-r--r--
relative_attn_bias_impl.h 1 KB -rw-r--r--
remove_padding.cc 5 KB -rw-r--r--
remove_padding.h 558 b -rw-r--r--
restore_padding.cc 3 KB -rw-r--r--
restore_padding.h 560 b -rw-r--r--
rotary_common.cuh 21 KB -rw-r--r--
rotary_embedding.cc 4 KB -rw-r--r--
rotary_embedding.h 676 b -rw-r--r--
rotary_embedding_impl.cu 11 KB -rw-r--r--
rotary_embedding_impl.h 1 KB -rw-r--r--
rotary_embedding_util.h 14 KB -rw-r--r--
scaled_silu.cc 2 KB -rw-r--r--
scaled_silu.h 482 b -rw-r--r--
scaled_silu_impl.cu 2 KB -rw-r--r--
scaled_silu_impl.h 428 b -rw-r--r--
skip_layer_norm.cc 6 KB -rw-r--r--
skip_layer_norm.h 608 b -rw-r--r--
skip_layer_norm_impl.cu 11 KB -rw-r--r--
skip_layer_norm_impl.h 1 KB -rw-r--r--
sparse_paged_attention.cc 17 KB -rw-r--r--
sparse_paged_attention.h 1,011 b -rw-r--r--
sparse_paged_attention_impl.cu 26 KB -rw-r--r--
sparse_paged_attention_impl.h 1 KB -rw-r--r--
transformer_common.cc 1 KB -rw-r--r--
transformer_common.h 1 KB -rw-r--r--
transformer_cuda_common.h 654 b -rw-r--r--
unfused_attention.cu 20 KB -rw-r--r--
unfused_attention.h 5 KB -rw-r--r--
utils.cuh 20 KB -rw-r--r--
varlen_causal_conv_with_state.cc 9 KB -rw-r--r--
varlen_causal_conv_with_state.h 2 KB -rw-r--r--
varlen_causal_conv_with_state_impl.cu 13 KB -rw-r--r--
varlen_ngram_hash_mapping.cc 9 KB -rw-r--r--
varlen_ngram_hash_mapping.h 699 b -rw-r--r--
varlen_ngram_hash_mapping_impl.cu 18 KB -rw-r--r--
varlen_ngram_hash_mapping_impl.h 2 KB -rw-r--r--