minhdang commited on
Commit
92f2bfc
1 Parent(s): abd7288

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ model_id = "deepseek-ai/deepseek-coder-33b-instruct"
24
  model = AutoModelForCausalLM.from_pretrained(model_id,device_map="auto",quantization_config=nf4_config)
25
  tokenizer=AutoTokenizer.from_pretrained(model_id)
26
  tokenizer.use_defaul_system_prompt=True
27
-
28
 
29
  @spaces.GPU
30
  def gen(
 
24
  model = AutoModelForCausalLM.from_pretrained(model_id,device_map="auto",quantization_config=nf4_config)
25
  tokenizer=AutoTokenizer.from_pretrained(model_id)
26
  tokenizer.use_defaul_system_prompt=True
27
+ os.system("nvidia-smi")
28
 
29
  @spaces.GPU
30
  def gen(