MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / init

Function init

inference/utils/constants.py:4–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3
4def 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).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected