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
Copy file name to clipboardExpand all lines: README-Mac-MPS.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -320,3 +320,20 @@ something that depends on it-- Rosetta can translate some Intel instructions but
320
320
not the specialized ones here. To avoid this, make sure to use the environment
321
321
variable `CONDA_SUBDIR=osx-arm64`, which restricts the Conda environment to only
322
322
use ARM packages, and use `nomkl` as described above.
323
+
324
+
### input types 'tensor<2x1280xf32>' and 'tensor<*xf16>' are not broadcast compatible
325
+
326
+
May appear when just starting to generate, e.g.:
327
+
328
+
```
329
+
dream> clouds
330
+
Generating: 0%| | 0/1 [00:00<?, ?it/s]/Users/[...]/dev/stable-diffusion/ldm/modules/embedding_manager.py:152: UserWarning: The operator 'aten::nonzero' is not currently supported on the MPS backend and will fall back to run on the CPU. This may have performance implications. (Triggered internally at /Users/runner/work/_temp/anaconda/conda-bld/pytorch_1662016319283/work/aten/src/ATen/mps/MPSFallback.mm:11.)
331
+
placeholder_idx = torch.where(
332
+
loc("mps_add"("(mpsFileLoc): /AppleInternal/Library/BuildRoots/20d6c351-ee94-11ec-bcaf-7247572f23b4/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShadersGraph/mpsgraph/MetalPerformanceShadersGraph/Core/Files/MPSGraphUtilities.mm":219:0)): error: input types 'tensor<2x1280xf32>' and 'tensor<*xf16>' are not broadcast compatible
333
+
LLVM ERROR: Failed to infer result type(s).
334
+
Abort trap: 6
335
+
/Users/[...]/opt/anaconda3/envs/ldm/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
336
+
warnings.warn('resource_tracker: There appear to be %d '
337
+
```
338
+
339
+
Macs do not support autocast/mixed-precision. Supply `--full_precision` to use float32 everywhere.
Copy file name to clipboardExpand all lines: README.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,13 @@ You may also pass a -v<count> option to generate count variants on the original
138
138
passing the first generated image back into img2img the requested number of times. It generates interesting
139
139
variants.
140
140
141
+
## Seamless Tiling
142
+
143
+
The seamless tiling mode causes generated images to seamlessly tile with itself. To use it, add the --seamless option when starting the script which will result in all generated images to tile, or for each dream> prompt as shown here:
144
+
```
145
+
dream> "pond garden with lotus by claude monet" --seamless -s100 -n4
146
+
```
147
+
141
148
## GFPGAN and Real-ESRGAN Support
142
149
143
150
The script also provides the ability to do face restoration and
@@ -400,7 +407,11 @@ repository and associated paper for details and limitations.
400
407
401
408
# Latest Changes
402
409
403
-
- v1.13 (3 September 2022)
410
+
- v1.14 (In progress)
411
+
412
+
- Add "seamless mode" for circular tiling of image. Generates beautiful effects. ([prixt](https://github.com/prixt))
413
+
414
+
- v1.13 (3 September 2022
404
415
405
416
- Support image variations (see [VARIATIONS](VARIATIONS.md) ([Kevin Gibbons](https://github.com/bakkot) and many contributors and reviewers)
406
417
- Supports a Google Colab notebook for a standalone server running on Google hardware [Arturo Mendivil](https://github.com/artmen1516)
0 commit comments