Spaces:
Runtime error
Runtime error
Commit
·
71942c1
1
Parent(s):
2470b42
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-3b/resolve/main/RWKV-4-Pile-3B-20221110-ctx4096.pth",
|
5 |
"pytorch(cpu/gpu)",
|
6 |
-
runtimedtype=torch.
|
7 |
useGPU=False,
|
8 |
-
dtype=torch.
|
9 |
)
|
10 |
import gradio as gr
|
11 |
|
|
|
3 |
model = RWKV(
|
4 |
"https://huggingface.co/BlinkDL/rwkv-4-pile-3b/resolve/main/RWKV-4-Pile-3B-20221110-ctx4096.pth",
|
5 |
"pytorch(cpu/gpu)",
|
6 |
+
runtimedtype=torch.bfloat16,
|
7 |
useGPU=False,
|
8 |
+
dtype=torch.bfloat16
|
9 |
)
|
10 |
import gradio as gr
|
11 |
|