David Krajewski commited on
Commit
19fef89
1 Parent(s): 69f5e2d

Install right xformers v

Browse files
Files changed (2) hide show
  1. app.py +12 -12
  2. requirements.txt +1 -2
app.py CHANGED
@@ -648,18 +648,18 @@ class Drag:
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
 
 
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
 
requirements.txt CHANGED
@@ -13,8 +13,7 @@ cupy-cuda117
13
  av
14
  gpustat
15
 
16
-
17
- # xformers==0.0.22
18
  # decord
19
  # bitsandbytes
20
 
 
13
  av
14
  gpustat
15
 
16
+ xformers==0.0.22
 
17
  # decord
18
  # bitsandbytes
19