Spaces:
Running
on
Zero
Running
on
Zero
macadeliccc
commited on
Commit
•
71b7f64
1
Parent(s):
5956319
test
Browse files- app.py +1 -0
- requirements.txt +1 -0
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
import spaces
|
3 |
import torch
|
4 |
import subprocess
|
|
|
5 |
|
6 |
zero = torch.Tensor([0]).cuda()
|
7 |
print(zero.device) # <-- 'cpu' 🤔
|
|
|
2 |
import spaces
|
3 |
import torch
|
4 |
import subprocess
|
5 |
+
import numpy as np
|
6 |
|
7 |
zero = torch.Tensor([0]).cuda()
|
8 |
print(zero.device) # <-- 'cpu' 🤔
|
requirements.txt
CHANGED
@@ -4,4 +4,5 @@ git+https://github.com/vllm-project/vllm.git
|
|
4 |
torch
|
5 |
datasets
|
6 |
accelerate
|
|
|
7 |
ochat
|
|
|
4 |
torch
|
5 |
datasets
|
6 |
accelerate
|
7 |
+
numpy
|
8 |
ochat
|