Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Zhang <jiemingz@nvidia.com>
  • Loading branch information
jiemingz committed Apr 20, 2024
1 parent d6e76f9 commit c1752b3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nemo/export/trt_llm/nemo/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,5 @@ def save_tranpose(val, key, shared=False):
elif "vocab_embedding" in key or "lm_head.weight" in key:
save(key, gpu_val)
else:
if torch.cuda.current_device() == 0:
import pdb
pdb.set_trace()
torch.distributed.barrier()
raise RuntimeError(f"{key} not handled by NeMo->TRTLLM converter!")

0 comments on commit c1752b3

Please sign in to comment.