Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/FastDeploy
/ func
Function
func
fastdeploy/model_executor/models/interfaces_base.py:85–87 ·
view source on GitHub ↗
(model)
Source
from the content-addressed store, hash-verified
83
84
def
default_pooling_type(pooling_type: str):
85
def
func(model):
86
model.default_pooling_type = pooling_type
# type: ignore
87
return
model
88
89
return
func
Callers
11
wrapper
Function · 0.85
fn
Function · 0.85
async_wrapper
Function · 0.85
sync_wrapper
Function · 0.85
load_tool_parser_plugins
Function · 0.85
load_model_register_plugins
Function · 0.85
load_reasoning_parser_plugins
Function · 0.85
test_gqa_split_returns_all_partitions
Method · 0.85
test_gqa_split_with_rank_and_repeat_kv
Method · 0.85
test_gqa_split_on_matrix_rows
Method · 0.85
wrapper
Function · 0.85
Calls
no outgoing calls
Tested by
3
test_gqa_split_returns_all_partitions
Method · 0.68
test_gqa_split_with_rank_and_repeat_kv
Method · 0.68
test_gqa_split_on_matrix_rows
Method · 0.68