| 23 | static const char* MINIMAL_CONFIG = R"({"model_type":"qwen","model_variant":"default","precision":"INT8","num_layers":2,"hidden_dim":64,"ffn_intermediate_dim":128,"attention_heads":2,"attention_kv_heads":2,"attention_head_dim":32,"vocab_size":100,"context_length":512})"; |
| 24 | |
| 25 | static bool test_missing_directory() { |
| 26 | return expect_init_fails("/nonexistent/path/to/model"); |
| 27 | } |
| 28 | |
| 29 | static bool test_missing_config() { |
| 30 | std::string dir = make_temp_dir("missing_config"); |
no test coverage detected