mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-08 00:49:05 +00:00
set minimal disk speed to 500Mbps
This commit is contained in:
parent
4f5265a78d
commit
c701340719
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ static void assign_device(
|
||||||
uint32_t * n_gpu_layers,
|
uint32_t * n_gpu_layers,
|
||||||
struct llama_model * model,
|
struct llama_model * model,
|
||||||
const struct llama_context_params cparams,
|
const struct llama_context_params cparams,
|
||||||
float min_disk_read_speed = 0.1f) { // minimum disk I/O speed: 100 MB/s
|
float min_disk_read_speed = 0.5f) { // minimum disk I/O speed: 500 MB/s
|
||||||
GGML_ASSERT(dev_info_set != nullptr);
|
GGML_ASSERT(dev_info_set != nullptr);
|
||||||
GGML_ASSERT(n_layer_window != nullptr);
|
GGML_ASSERT(n_layer_window != nullptr);
|
||||||
GGML_ASSERT(my_rank == 0);
|
GGML_ASSERT(my_rank == 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue