Skip to content

Commit 8647933

Browse files
committed
remove env variable
1 parent daeb58d commit 8647933

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

deepecho/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
77
import os
88

9-
# Enable fallback so ops not implemented on MPS run on CPU
10-
# https://github.com/pytorch/pytorch/issues/77764
11-
os.environ['PYTORCH_ENABLE_MPS_FALLBACK'] = '1'
12-
139
from deepecho.demo import load_demo
1410
from deepecho.models.basic_gan import BasicGANModel
1511
from deepecho.models.par import PARModel

deepecho/models/_utils.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
import os
2-
3-
# Enable fallback so ops not implemented on MPS run on CPU
4-
# https://github.com/pytorch/pytorch/issues/77764
5-
os.environ['PYTORCH_ENABLE_MPS_FALLBACK'] = '1'
6-
71
import platform
82
import warnings
93

0 commit comments

Comments
 (0)