credent007 commited on
Commit
018ecaf
·
verified ·
1 Parent(s): 2694076

Update llm.py

Browse files
Files changed (1) hide show
  1. llm.py +0 -1
llm.py CHANGED
@@ -23,7 +23,6 @@ if torch.cuda.is_available():
23
  print("GPU name:", torch.cuda.get_device_name(0))
24
  print("Memory allocated:", torch.cuda.memory_allocated() / 1e9, "GB")
25
 
26
- print("Device map:", model.hf_device_map)
27
  # ✅ SYNC function (runs in thread)
28
  def execute_llm(model, processor, image, prompt: str):
29
  print("execute llm")
 
23
  print("GPU name:", torch.cuda.get_device_name(0))
24
  print("Memory allocated:", torch.cuda.memory_allocated() / 1e9, "GB")
25
 
 
26
  # ✅ SYNC function (runs in thread)
27
  def execute_llm(model, processor, image, prompt: str):
28
  print("execute llm")