From 07de76f5ee9669be472d80587585960c91361580 Mon Sep 17 00:00:00 2001 From: CodingParadigm1 <124928232+CodingParadigm1@users.noreply.github.com> Date: Sun, 2 Feb 2025 06:14:17 -0700 Subject: [PATCH] small patch removed unnecessary variable --- inference/convert.py | 1 - 1 file changed, 1 deletion(-) diff --git a/inference/convert.py b/inference/convert.py index 0310cb2..1fc1ce0 100644 --- a/inference/convert.py +++ b/inference/convert.py @@ -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):