| 64 | runtime::ModelInspection inspect(const runtime::ModelLoadRequest & request) const override { |
| 65 | const auto assets = load_miocodec_assets(request.model_path); |
| 66 | runtime::ModelInspection inspection; |
| 67 | inspection.cli.session_options = { |
| 68 | {"miocodec.weight_type", "native|f32|f16|bf16|q8_0", "Weight storage type. Default: f32.", false, "f32"}, |
| 69 | {"miocodec.weight_context_mb", "int", "Context or graph arena size in MiB. Default: 8.", false, "8", "1"}, |
| 70 | {"miocodec.constant_context_mb", "int", "Context or graph arena size in MiB. Default: 16.", false, "16", "1"}, |
| 71 | {"miocodec.content_graph_arena_mb", "int", "Context or graph arena size in MiB. Default: 32.", false, "32", "1"}, |
| 72 | {"miocodec.global_graph_arena_mb", "int", "Context or graph arena size in MiB. Default: 32.", false, "32", "1"}, |
| 73 | {"miocodec.wave_graph_arena_mb", "int", "Context or graph arena size in MiB. Default: 32.", false, "32", "1"}, |
| 74 | }; |
| 75 | inspection.model_root = assets->resources.model_root(); |
| 76 | inspection.metadata = metadata(*assets); |
| 77 | inspection.capabilities = capabilities(*assets); |
| 78 | const auto spec_path = engine::model_spec::default_spec_path(family()); |
nothing calls this directly
no test coverage detected