Spaces:
Sleeping
Sleeping
Hazzzardous
commited on
Commit
·
b74218d
1
Parent(s):
2432281
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,9 @@ import torch
|
|
3 |
model = RWKV(
|
4 |
"https://huggingface.co/BlinkDL/rwkv-4-pile-1b5/resolve/main/RWKV-4-Pile-1B5-Instruct-test1-20230124.pth",
|
5 |
"pytorch(cpu/gpu)",
|
6 |
-
runtimedtype=torch.
|
7 |
useGPU=torch.cuda.is_available(),
|
8 |
-
dtype=torch.
|
9 |
)
|
10 |
import gradio as gr
|
11 |
|
|
|
3 |
model = RWKV(
|
4 |
"https://huggingface.co/BlinkDL/rwkv-4-pile-1b5/resolve/main/RWKV-4-Pile-1B5-Instruct-test1-20230124.pth",
|
5 |
"pytorch(cpu/gpu)",
|
6 |
+
runtimedtype=torch.float32,
|
7 |
useGPU=torch.cuda.is_available(),
|
8 |
+
dtype=torch.float32
|
9 |
)
|
10 |
import gradio as gr
|
11 |
|