MCPcopy Create free account
hub / github.com/Niko1221/Strata / fetch_can

Method fetch_can

engine/src/core/expert_source.cpp:5343–5347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5341// ================================ THE ADAPTER ================================
5342
5343bool ExpertDispatch::fetch_can(int64_t layer) const {
5344 return fetch_admit > 0 && res_mut != nullptr && !usage.empty() && plan != nullptr && plan->pcie_mode == 2 &&
5345 plan->dst2 != nullptr && peer == nullptr && remote_count == 0 && fs == nullptr && pcie_num > 0 &&
5346 src != nullptr && src->pcie_layer(layer);
5347}
5348
5349void expert_pool_dispatch(void* user, const float* x_f, const int32_t* ids, const float* weights, int64_t n_embd,
5350 int64_t k, float* out) {

Callers 1

Calls 2

emptyMethod · 0.45
pcie_layerMethod · 0.45

Tested by

no test coverage detected