Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import spaces
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
import torch
|
4 |
import gradio as gr
|
5 |
-
|
6 |
|
7 |
torch.backends.cuda.matmul.allow_tf32 = False
|
8 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
import torch
|
4 |
import gradio as gr
|
5 |
+
import os
|
6 |
|
7 |
torch.backends.cuda.matmul.allow_tf32 = False
|
8 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|