Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -135,10 +135,11 @@ def upload_to_ftp(filename):
|
|
135 |
print(f"FTP upload error: {e}")
|
136 |
|
137 |
""")
|
138 |
-
|
139 |
os.environ['DISTUTILS_USE_SDK'] = '1' # Force setuptools (distutils) to use the installed SDK.
|
140 |
-
subprocess.run(['pythran', './pyt.py', '-DUSE_XSIMD', '-fopenmp', '-march=native'
|
141 |
import pyt
|
|
|
142 |
|
143 |
torch.backends.cuda.matmul.allow_tf32 = False
|
144 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|
|
|
135 |
print(f"FTP upload error: {e}")
|
136 |
|
137 |
""")
|
138 |
+
|
139 |
os.environ['DISTUTILS_USE_SDK'] = '1' # Force setuptools (distutils) to use the installed SDK.
|
140 |
+
subprocess.run(['pythran', './pyt.py', '-DUSE_XSIMD', '-fopenmp', '-march=native'])
|
141 |
import pyt
|
142 |
+
'''
|
143 |
|
144 |
torch.backends.cuda.matmul.allow_tf32 = False
|
145 |
torch.backends.cuda.matmul.allow_bf16_reduced_precision_reduction = False
|