Vision-CAIR
commited on
Commit
·
670561f
1
Parent(s):
ef24388
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,8 @@ from minigpt4.processors import *
|
|
19 |
from minigpt4.runners import *
|
20 |
from minigpt4.tasks import *
|
21 |
|
|
|
|
|
22 |
|
23 |
def parse_args():
|
24 |
parser = argparse.ArgumentParser(description="Demo")
|
|
|
19 |
from minigpt4.runners import *
|
20 |
from minigpt4.tasks import *
|
21 |
|
22 |
+
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
23 |
+
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
24 |
|
25 |
def parse_args():
|
26 |
parser = argparse.ArgumentParser(description="Demo")
|