Commit Graph

60 Commits (b6963470a98785aae3e2cfe2b6ee4c2292aaa8da)

Author SHA1 Message Date
Vladimir Mandic 13a2e6ca33 update torch requirements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-10-19 13:20:33 -04:00
Vladimir Mandic 47755dce6b refactor devices
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2024-09-29 20:17:03 -04:00
Vladimir Mandic 5bbc8e4b03 interrogate update 2024-09-15 10:50:52 -04:00
Vladimir Mandic 5574833f0d refactor backend detection 2024-06-06 20:41:10 -04:00
Vladimir Mandic 554e5c8224 torch dynamic profiling 2024-05-16 18:40:18 -04:00
Vladimir Mandic b137f67edc lint changes 2024-05-07 09:56:32 -04:00
Vladimir Mandic 3efc93b90e prompt paste improvements 2024-03-22 09:41:15 -04:00
Vladimir Mandic 1b44a16a4e merge process and interrogate, add exif handler 2024-03-03 13:36:10 -05:00
Vladimir Mandic 19e5062fa8 fix interrogate api 2024-02-10 09:13:07 -05:00
Vladimir Mandic 2ee0baf18c unified move-model 2024-02-05 12:00:35 -05:00
Midcoastal 86212a52d6
Cleanup, Ruff, Pylint 2024-01-14 18:49:07 -05:00
Midcoastal 157772c8b9
Merge branch 'dev' of https://github.com/vladmandic/automatic into Dev/DirectoryCacheing 2024-01-08 10:18:54 -05:00
Vladimir Mandic 44cc574903 refactor blip/booru interrogate 2024-01-07 17:57:58 -05:00
Midcoastal cd18d29511
In-Memory Directory/File Cache 2024-01-05 16:55:01 -05:00
Vladimir Mandic 176b341bdf fix img2img interrogate 2023-12-30 13:59:22 -05:00
Vladimir Mandic 096fd04f53 fix model offload on long prompts and update requirements 2023-11-23 09:42:24 -05:00
Vladimir Mandic 294af698e5 modify base/hires/refiner steps calculations 2023-11-09 12:27:07 -05:00
Vladimir Mandic 21595ee9e7 lint cleanup 2023-10-16 12:07:37 -04:00
Vladimir Mandic f36c1eb476 jumbo patch 2023-09-08 13:01:20 -04:00
Vladimir Mandic 09b4c79f4a add job info to all jobs 2023-09-07 10:40:07 -04:00
Vladimir Mandic cb307399dd jumbo merge 2023-06-13 11:59:56 -04:00
Vladimir Mandic 0ccda9bc8b jumbo patch 2023-05-17 14:15:55 -04:00
Vladimir Mandic 41182009cb switch some cmdopts to opts 2023-05-08 09:27:50 -04:00
Disty0 8171d57c36 Remove unnecessary IPEX imports 2023-05-04 02:34:34 +03:00
Vladimir Mandic 7a083d322b merge commits 2023-05-02 15:06:06 -04:00
Vladimir Mandic cb4cff3929 redesign logging 2023-05-02 13:57:16 -04:00
Disty0 de8d0bef9f More patches and Import IPEX after Torch 2023-04-30 18:19:37 +03:00
Vladimir Mandic 0e7144186d jump patch 2023-04-20 11:20:27 -04:00
Vladimir Mandic ed8819b8fc lycoris, strong linting, model keyword, circular imports 2023-04-15 10:28:31 -04:00
Vladimir Mandic 2ece9782e4 handle duplicate extensions and redo exception handler 2023-04-14 09:57:53 -04:00
Vladimir Mandic 81b8294e93 switch cmdflags to settings 2023-04-12 10:40:11 -04:00
Vladimir Mandic f6679fcc77 add global exception handler 2023-03-17 10:08:07 -04:00
Max Audron 5eee2ac398 add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
AUTOMATIC 5228ec8bda remove fairscale requirement, add fake fairscale to make BLIP not complain about it mk2 2023-01-24 20:30:43 +03:00
AUTOMATIC 28189985e6 remove fairscale requirement, add fake fairscale to make BLIP not complain about it 2023-01-24 20:24:27 +03:00
AUTOMATIC 5c1cb9263f fix BLIP failing to import depending on configuration 2023-01-24 00:24:17 +03:00
Vladimir Mandic 04a561c11c
add option to skip interrogate categories 2023-01-23 12:29:23 -05:00
Vladimir Mandic 925dd09c91
improve interrogate 2023-01-23 09:03:17 -05:00
AUTOMATIC 6d805b669e make CLIP interrogator download original text files if the directory does not exist
remove random artist built-in extension (to re-added as a normal extension on demand)
remove artists.csv (but what does it mean????????????????????)
make interrogate buttons show Loading... when you click them
2023-01-21 09:14:27 +03:00
Vladimir Mandic d8d206c168
add state to interrogate 2023-01-03 11:01:04 -05:00
Vladimir Mandic 65be1df7bb
initialize result so not to cause exception on empty results 2022-12-31 07:46:04 -05:00
Yuval Aboulafia 3bf5591efe fix F541 f-string without any placeholders 2022-12-24 21:35:29 +02:00
AUTOMATIC 4b0dc206ed use modelloader for #4956 2022-12-03 18:45:51 +03:00
AUTOMATIC1111 2a649154ec
Merge pull request #4956 from TiagoSantos81/offline_BLIP
[CLIP interrogator] use local file, if available
2022-12-03 18:17:56 +03:00
brkirch 4d5f1691dd Use devices.autocast instead of torch.autocast 2022-11-30 10:33:42 -05:00
Tiago F. Santos a2ae5a6555 [interrogator] mkdir check 2022-11-24 13:04:45 +00:00
Tiago F. Santos 745f1e8f80 [CLIP interrogator] use local file, if available 2022-11-22 12:48:25 +00:00
mawr d587586d3b Added "--clip-models-path" switch to avoid using default "~/.cache/clip" and enable to run under unprivileged user without homedir 2022-10-31 00:14:07 +03:00
Patryk Wychowaniec 7157e5d064 interrogate: Fix CLIP-interrogation on CPU
Currently, trying to perform CLIP interrogation on a CPU fails, saying:

```
RuntimeError: "slow_conv2d_cpu" not implemented for 'Half'
```

This merge request fixes this issue by detecting whether the target
device is CPU and, if so, force-enabling `--no-half` and passing
`device="cpu"` to `clip.load()` (which then does some extra tricks to
ensure it works correctly on CPU).
2022-10-21 09:52:12 +03:00
AUTOMATIC b99d3cf6dd make CLIP interrogate ranks output sane values 2022-10-17 08:41:02 +03:00