Pedro Cuenca
59da886875
Fix compilation for iOS
2 years ago
Pedro Cuenca
1084ea79f4
Allow user to cancel generation.
...
This will be more useful when we allow multiple images.
2 years ago
Pedro Cuenca
ed15f78628
Decide attention and ANE on hardware capabilities ( #29 )
...
For Macs with >= 8 performance cores, we select CPU+GPU (original
attention). Otherwise we select CPU+ANE (split einsum).
Some computers (M1 Pro, 16 core GPU) might yield slightly better
performance using CPU+GPU+ANE with SPLIT_EINSUM.
2 years ago
Pedro Cuenca
8796695928
Advanced Settings: ANE ( #28 )
...
* Preparing to allow users to override inference settings.
* ANE setting.
* Do not show advanced settings if ane is not available.
2 years ago
Pedro Cuenca
0ea32f6c84
Fix iOS compilation.
...
I changed the return type of the generation pipeline but did not update
the iOS code.
Addresses #26 .
2 years ago
Pedro Cuenca
9587712609
Correctly show safety checker error.
2 years ago
Pedro Cuenca
9c54eb40f6
Allow last random seed to be reused
2 years ago
Pedro Cuenca
367df55d96
Pass seed back, report generation errors.
2 years ago
Pedro Cuenca
e2cc04fce3
Implement ModelInfo.Equatable.
2 years ago
Pedro Cuenca
2a549b5221
Ensure a previous pending download is resumed
...
(and avoid adding a second duplicate task)
2 years ago
Pedro Cuenca
a0297f8c3a
Cancel downloads when selecting new model.
...
I had to make Downloader explicitly cancellable because it waits forever
for the semaphore to toggle, so Task cancellation does not work here.
Cancellation is therefore exposed through PipelineLoader.
2 years ago
Pedro Cuenca
b873c4b708
Allow safety checker to be disabled.
2 years ago
Pedro Cuenca
1839453f3d
Add guidance scale.
2 years ago
Pedro Cuenca
d3c145f219
Add v1-4 and ofa-sys v0 models.
2 years ago
Pedro Cuenca
f9d769147f
Update icon
2 years ago
Pedro Cuenca
06ce6e56b5
macOS UI ( #12 )
...
Native macOS UI
Co-authored-by: Cyril Zakka <1841186+cyrilzakka@users.noreply.github.com>
2 years ago
Pedro Cuenca
3867b905b3
Add simple metadata for a couple of models.
2 years ago
Pedro Cuenca
ffca1bda9e
Change path to cache.
...
Without code-signing, the directory is created inside `Application
Support` so better not to use a generic name.
2 years ago
Pedro Cuenca
795c1a187a
Components alignment.
2 years ago
Pedro Cuenca
da83fdfff1
Simple display of time interval.
2 years ago
Pedro Cuenca
601a081737
Show explicit Save button on macOS.
2 years ago
Pedro Cuenca
f43652ae36
Request permissions to save to photo library.
2 years ago
Pedro Cuenca
2bb9b15d40
Use Apple's package instead of my fork.
2 years ago
Pedro Cuenca
3d7e1d92b8
Enable iOS entitlements for additional memory use:
...
- com.apple.developer.kernel.increased-memory-limit
- com.apple.developer.kernel.extended-virtual-addressing
2 years ago
Pedro Cuenca
a72643e573
Share prompt
2 years ago
Pedro Cuenca
be80606e04
Diffusion app.
2 years ago