tloen commited on
Commit
b772f06
1 Parent(s): 69d4bc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,8 +78,8 @@ def generate_prompt(instruction, input=None):
78
 
79
  model.half()
80
  model.eval()
81
- #if torch.__version__ >= "2":
82
- # model = torch.compile(model)
83
 
84
 
85
  def evaluate(
 
78
 
79
  model.half()
80
  model.eval()
81
+ if torch.__version__ >= "2":
82
+ model = torch.compile(model)
83
 
84
 
85
  def evaluate(