You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### MAC: torch._C' has no attribute '_cuda_resetPeakMemoryStats' #234
98
-
99
-
We haven't fixed gotten dream.py to work on Mac yet.
100
-
101
95
### OSError: Can't load tokenizer for 'openai/clip-vit-large-patch14'...
102
96
103
97
python scripts/preload_models.py
@@ -108,7 +102,7 @@ Example error.
108
102
109
103
```
110
104
...
111
-
NotImplementedError: The operator 'aten::index.Tensor' is not current implemented for the MPS device. If you want this op to be added in priority during the prototype phase of this feature, please comment on [https://github.com/pytorch/pytorch/issues/77764](https://github.com/pytorch/pytorch/issues/77764). As a temporary fix, you can set the environment variable `PYTORCH_ENABLE_MPS_FALLBACK=1` to use the CPU as a fallback for this op. WARNING: this will be slower than running natively on MPS.
105
+
NotImplementedError: The operator 'aten::_index_put_impl_' is not current implemented for the MPS device. If you want this op to be added in priority during the prototype phase of this feature, please comment on [https://github.com/pytorch/pytorch/issues/77764](https://github.com/pytorch/pytorch/issues/77764). As a temporary fix, you can set the environment variable `PYTORCH_ENABLE_MPS_FALLBACK=1` to use the CPU as a fallback for this op. WARNING: this will be slower than running natively on MPS.
112
106
```
113
107
114
108
The lstein branch includes this fix in [environment-mac.yaml](https://github.com/lstein/stable-diffusion/blob/main/environment-mac.yaml).
@@ -137,27 +131,18 @@ still working on it.
137
131
138
132
OMP: Error #15: Initializing libiomp5.dylib, but found libomp.dylib already initialized.
139
133
140
-
There are several things you can do. First, you could use something
141
-
besides Anaconda like miniforge. I read a lot of things online telling
142
-
people to use something else, but I am stuck with Anaconda for other
143
-
reasons.
144
-
145
-
Or you can try this.
146
-
147
-
export KMP_DUPLICATE_LIB_OK=True
148
-
149
-
Or this (which takes forever on my computer and didn't work anyway).
134
+
You are likely using an Intel package by mistake. Be sure to run conda with
135
+
the environment variable `CONDA_SUBDIR=osx-arm64`, like so:
0 commit comments