Skip to content

Commit 7e3cd4d

Browse files
committed
revert
1 parent 9e2ba38 commit 7e3cd4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def load_model():
171171
print("Loading base model…")
172172
model = AutoModelForCausalLM.from_pretrained(MODEL_PATH)
173173

174+
model = torch.compile(model)
174175
model.eval()
175176

176177
print("Warming up (1 token)…")
@@ -375,7 +376,6 @@ async def generate_stream():
375376
"timestamp": time.time(),
376377
}
377378
background_tasks.add_task(write_completion_log, event)
378-
print("ZAFIR", completion_text)
379379

380380
response = {
381381
"id": str(uuid.uuid4()),

0 commit comments

Comments
 (0)