mirror of
https://github.com/deepseek-ai/DeepSeek-V3.git
synced 2025-02-23 14:18:57 -05:00
small patch
removed unnecessary variable
This commit is contained in:
parent
35244be39f
commit
07de76f5ee
@ -72,7 +72,6 @@ def main(hf_ckpt_path, save_path, n_experts, mp):
|
||||
torch.set_num_threads(8)
|
||||
n_local_experts = n_experts // mp
|
||||
state_dicts = [{} for _ in range(mp)]
|
||||
tasks = []
|
||||
tensor_dir = glob(os.path.join(hf_ckpt_path, "*.safetensors"))
|
||||
token_dir = glob(os.path.join(hf_ckpt_path, "*token*"))
|
||||
for file_path in tqdm(tensor_dir):
|
||||
|
Loading…
Reference in New Issue
Block a user