Update app.py
Browse files
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(
|