Skip to content

Commit

Permalink
remove duplicate print
Browse files Browse the repository at this point in the history
AllentDan committed Jan 14, 2025
1 parent 9aaf0b9 commit af14f54
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lmdeploy/lite/quantization/awq.py
Original file line number Diff line number Diff line change
@@ -359,7 +359,6 @@ def smooth_layers(layers,
max_memory = torch.cuda.max_memory_allocated() / 1024 / 1024 / 1024
print(f'{l_name} smooth weight done.'
f' max gpu memory: {max_memory:.2f} GB')
print(f'{l_name} smooth weight done.')


def pseudo_quantize_tensor(w,
@@ -431,4 +430,3 @@ def awq_layers(layers,
max_memory = torch.cuda.max_memory_allocated() / 1024 / 1024 / 1024
print(f'{l_name} smooth weight done.'
f' max gpu memory: {max_memory:.2f} GB')
print(f'{l_name} smooth weight done.')

0 comments on commit af14f54

Please sign in to comment.