| 354 | } |
| 355 | |
| 356 | bool equal_mparams(const cmd_params_instance & other) const { |
| 357 | return model == other.model && |
| 358 | n_gpu_layers == other.n_gpu_layers && |
| 359 | main_gpu == other.main_gpu && |
| 360 | tensor_split == other.tensor_split; |
| 361 | } |
| 362 | |
| 363 | llama_context_params to_llama_cparams() const { |
| 364 | llama_context_params cparams = llama_context_default_params(); |