mirror of
https://github.com/0xSojalSec/airllm.git
synced 2026-03-07 06:15:16 +00:00
Merge branch 'main' of github.com:lyogavin/airllm
This commit is contained in:
@@ -93,7 +93,7 @@ class MlxModelPersister(ModelPersister):
|
||||
to_load_path = Path(path) / (layer_name + ".mlx.npz")
|
||||
#available = psutil.virtual_memory().available / 1024 / 1024
|
||||
#print(f"start loading: {to_load_path}, before loading: {available:.02f}")
|
||||
layer_state_dict = mx.load(to_load_path)
|
||||
layer_state_dict = mx.load(str(to_load_path))
|
||||
#available = psutil.virtual_memory().available / 1024 / 1024
|
||||
#print(f"loaded {layer_name}, available mem: {available:.02f}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user