debug
Browse files
data/models/llama3-1-70b.py
CHANGED
|
@@ -22,7 +22,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 22 |
).to("cuda")
|
| 23 |
|
| 24 |
@app.route('/chat', methods=['POST'])
|
| 25 |
-
@spaces.GPU(
|
| 26 |
def chat_completion():
|
| 27 |
data = request.json
|
| 28 |
|
|
|
|
| 22 |
).to("cuda")
|
| 23 |
|
| 24 |
@app.route('/chat', methods=['POST'])
|
| 25 |
+
@spaces.GPU(duration=120)
|
| 26 |
def chat_completion():
|
| 27 |
data = request.json
|
| 28 |
|