Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ subprocess.run(
|
|
7 |
env={"FLASH_ATTENTION_SKIP_CUDA_BUILD": "TRUE"},
|
8 |
shell=True,
|
9 |
)
|
|
|
10 |
from transformers import AutoTokenizer, AutoModel
|
11 |
import torch
|
12 |
import torchvision.transforms as T
|
|
|
7 |
env={"FLASH_ATTENTION_SKIP_CUDA_BUILD": "TRUE"},
|
8 |
shell=True,
|
9 |
)
|
10 |
+
subprocess.run("nvidia-smi")
|
11 |
from transformers import AutoTokenizer, AutoModel
|
12 |
import torch
|
13 |
import torchvision.transforms as T
|