()
| 2 | |
| 3 | |
| 4 | def init(): |
| 5 | global max_seq_len, max_batch_size, llama_multiple_of, mem_efficient_load |
| 6 | max_seq_len = 2048 |
| 7 | max_batch_size = 1 |
| 8 | llama_multiple_of = 256 |
| 9 | mem_efficient_load = False # Whether to load the checkpoint in a layer-wise manner. Activate this if you are facing OOM issues on edge devices (e.g., Jetson Orin). |
nothing calls this directly
no outgoing calls
no test coverage detected