mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-10 04:34:34 +00:00
add args -k and --force
This commit is contained in:
parent
bcfdace59b
commit
63b45a4c26
2 changed files with 3 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ static bool assign_layers_to_device(
|
|||
};
|
||||
|
||||
// get valid factors
|
||||
std::vector<int> valid_k = cparams.n_cycles > 0 ? {(int)cparams.n_cycles} : find_factors(n_layer);
|
||||
std::vector<int> valid_k = cparams.n_cycles > 0 ? std::vector<int>{cparams.n_cycles} : find_factors(n_layer);
|
||||
|
||||
// assign devices to sets M1, M2, M3, and M4
|
||||
// M1: devices running on macOS without Metal, and with insufficient memory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue