mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-10 21:24:33 +00:00
add automatic layer window size assignment workflow
This commit is contained in:
parent
53cb3a6069
commit
2bd4d03aa8
6 changed files with 241 additions and 110 deletions
|
@ -144,7 +144,7 @@ struct gpt_sampler_params {
|
|||
struct gpt_params {
|
||||
int32_t n_world = 1; // number of devices to use
|
||||
int32_t rank = 0; // my rank for distributed inference
|
||||
uint32_t n_layer_window[32] = {32}; // layer window size on each node
|
||||
uint32_t n_layer_window[32] = {0}; // layer window size on each node
|
||||
std::string master_ip = "localhost"; // ip address of the master node
|
||||
std::string next_node_ip = "localhost"; // ip address of my next node
|
||||
bool unload = false; // unload layer weights after use or not
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue