fix: missing tqdm import in weight_loader
This commit is contained in:
@@ -355,7 +355,8 @@ class DeepseekV4MegaMoEExperts(nn.Module):
|
||||
) -> bool:
|
||||
# Progress bar for k8s/docker liveness during GPU upload
|
||||
if DeepseekV4MegaMoEExperts._weight_load_count == 0:
|
||||
DeepseekV4MegaMoEExperts._weight_load_tqdm = tqdm(
|
||||
from tqdm import tqdm as _tqdm
|
||||
DeepseekV4MegaMoEExperts._weight_load_tqdm = _tqdm(
|
||||
total=self.num_local_experts * 20, # ~20 tensors per expert
|
||||
desc=" Loading Native NVFP4 Expert Weights",
|
||||
unit="tensor",
|
||||
|
||||
Reference in New Issue
Block a user