Spaces:
Build error
Build error
null and void
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,8 @@ import gradio as gr
|
|
2 |
import torch
|
3 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
4 |
import time
|
5 |
-
import bitsandbytes as bnb
|
6 |
|
7 |
-
|
8 |
print(f"CUDA is available: {torch.cuda.is_available()}")
|
9 |
print(f"CUDA device count: {torch.cuda.device_count()}")
|
10 |
if torch.cuda.is_available():
|
|
|
2 |
import torch
|
3 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
4 |
import time
|
|
|
5 |
|
6 |
+
|
7 |
print(f"CUDA is available: {torch.cuda.is_available()}")
|
8 |
print(f"CUDA device count: {torch.cuda.device_count()}")
|
9 |
if torch.cuda.is_available():
|