MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / resolve_model_root

Function resolve_model_root

src/models/roformer/assets.cpp:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 case assets::TensorStorageType::F32:
17 case assets::TensorStorageType::F16:
18 case assets::TensorStorageType::BF16:
19 case assets::TensorStorageType::Q8_0:
20 return;
21 default:
22 throw std::runtime_error(
23 "RoFormer weight_type currently supports only native, f32, f16, bf16, and q8_0");
24 }
25}
26

Callers 3

discover_config_assetsFunction · 0.70
discover_weight_assetsFunction · 0.70
resolve_model_configFunction · 0.70

Calls 1

is_existing_directoryFunction · 0.85

Tested by

no test coverage detected