David Krajewski commited on
Commit
90f9809
·
1 Parent(s): 19fef89

print dirs

Browse files
Files changed (1) hide show
  1. app.py +5 -13
app.py CHANGED
@@ -647,19 +647,11 @@ class Drag:
647
 
648
 
649
  with gr.Blocks() as demo:
650
- print(f"Current CUDA version: {torch.version.cuda}")
651
- # import subprocess
652
-
653
- # def find_file(filename):
654
- # result = subprocess.run(['find', '/', '-name', filename], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
655
- # if result.returncode == 0:
656
- # print(f"Found the file '{filename}' at the following locations:")
657
- # print(result.stdout)
658
- # else:
659
- # print(f"Error occurred while searching for the file '{filename}':")
660
- # print(result.stderr)
661
-
662
- # find_file("libcusolver.so.11")
663
 
664
  gr.Markdown("""<h1 align="center">MOFA-Video</h1><br>""")
665
 
 
647
 
648
 
649
  with gr.Blocks() as demo:
650
+ import os
651
+ import nvidia.cublas.lib
652
+ import nvidia.cudnn.lib
653
+ print(os.path.dirname(nvidia.cublas.lib.__file__) + ":" + os.path.dirname(nvidia.cudnn.lib.__file__))
654
+
 
 
 
 
 
 
 
 
655
 
656
  gr.Markdown("""<h1 align="center">MOFA-Video</h1><br>""")
657