| 273 | } |
| 274 | |
| 275 | static std::string clean_file_name(const std::string & fname) { |
| 276 | std::string clean_fname = fname; |
| 277 | string_replace_all(clean_fname, "\\", "_"); |
| 278 | string_replace_all(clean_fname, "/", "_"); |
| 279 | return clean_fname; |
| 280 | } |
| 281 | |
| 282 | static bool common_params_handle_remote_preset(common_params & params, llama_example ex) { |
| 283 | GGML_ASSERT(!params.model.hf_repo.empty()); |
no test coverage detected