Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/FastDeploy
/ apply
Method
apply
tests/distributed/chunked_moe.py:105–106 ·
view source on GitHub ↗
(self, layer, x, gate, topk_ids_hookfunc=None)
Source
from the content-addressed store, hash-verified
103
104
class
MockQuantMethod:
105
def
apply(self, layer, x, gate, topk_ids_hookfunc=None):
106
return
x
107
108
109
class
TestChunkedMoE(unittest.TestCase):
Callers
5
test_apply
Method · 0.45
test_apply_with_bias
Method · 0.45
test_apply_without_bias
Method · 0.45
test_apply_prefix_missing_key
Method · 0.45
get_baseline_logprobs
Function · 0.45
Calls
no outgoing calls
Tested by
5
test_apply
Method · 0.36
test_apply_with_bias
Method · 0.36
test_apply_without_bias
Method · 0.36
test_apply_prefix_missing_key
Method · 0.36
get_baseline_logprobs
Function · 0.36