pharmapsychotic
384e234ba2
Minor fix to BLIP offloading
2 years ago
pharmapsychotic
eecf1864a1
Merge branch 'main' of github.com:pharmapsychotic/clip-interrogator into main
2 years ago
pharmapsychotic
c4e16359a7
More safetensor, download, and VRAM improvements
2 years ago
pharmapsychotic
fd93edc572
Setting up publish to pypi action
2 years ago
pharmapsychotic
6a62ce73e8
0.5.1
2 years ago
pharmapsychotic
bf7404d7fa
When blip_offload enabled keep BLIP model on CPU to start.
2 years ago
pharmapsychotic
9f04c8550c
add the negative cache url
2 years ago
pharmapsychotic
ae88b07a65
safetensors!
...
- store cached embeddings in safetensor format
- updated huggingface ci-preprocess repo
- bumped version to 0.5.0
2 years ago
pharmapsychotic
bcf1833ae0
0.4.4 use blip-ci instead of blip-vit
2 years ago
pharmapsychotic
93db86fa70
.
2 years ago
pharmapsychotic
78287e17e1
0.4.2:
...
- upgrade chain to take a min_count parameter so it won't early out until it has considered at least min_count flavors
- interrogate method ("best" mode) also checks against classic and fast to use their output if it's better
- fix bug of config.download_cache option not being used!
- add notes on Config object to readme
2 years ago
pharmapsychotic
290a63b51e
Update README.md
2 years ago
pharmapsychotic
71c77633a6
.
2 years ago
pharmapsychotic
42b3cf4d9e
Bunch of updates! ( #40 )
...
- auto download the cache files from huggingface
- experimental negative prompt mode
- slight quality and performance improvement to best mode
- analyze tab in Colab and run_gradio to get table of ranked terms
2 years ago
pharmapsychotic
99c8d45e86
Make the BLIP model configurable, can set config.blip_model_type now to 'base' or 'large'
2 years ago
pharmapsychotic
65c560ffac
Reuse existing blip-vit package on pypi
2 years ago
pharmapsychotic
55fe80c74c
Simplify install further
...
Big ups to @justindujardin for proper syntax to get git dependency into requirements in way that pip will accept it! :D
2 years ago
pharmapsychotic
a8ecf52a38
.
2 years ago
pharmapsychotic
02576df0ce
.
2 years ago
pharmapsychotic
1ec6cd9d45
Update to nicer BLIP packaging
2 years ago
pharmapsychotic
180cbc4f7b
Remove libraries from pip install
...
This fixes issue on Colab with conflicting numpy versions and exception importing transformers
2 years ago
pharmapsychotic
6f17fb09af
Fix for running on CPU
2 years ago
pharmapsychotic
e22b005ba5
Merge
2 years ago
pharmapsychotic
152d5f551f
0.3.1 fix for running on cpu, update readme usage instructions
2 years ago
pharmapsychotic
0a0b3968d1
Bump version to 0.3.0 for pip
2 years ago
pharmapsychotic
8b689592aa
Free Colab is too much of a potato to handle model swapping so just pick it in the setup cell.
2 years ago
pharmapsychotic
2ffcd80b4e
Update huggingface links in notebook
2 years ago
pharmapsychotic
8123696883
Handle exception trying to load cached table
2 years ago
pharmapsychotic
884aab1a26
Default to ViT-L, lower intermediate count for Colab with ViT-H
2 years ago
pharmapsychotic
abbb326f93
.
2 years ago
pharmapsychotic
faa56c8ef9
Update replicate link
2 years ago
pharmapsychotic
979fca878e
Download preprocessed cache files for ViT-L
2 years ago
pharmapsychotic
5c4872d1f7
Merge pull request #18 from pharmapsychotic/open-clip-switch
...
Switch to OpenCLIP to support ViT-H
2 years ago
pharmapsychotic
f22be02819
Prep merge to main
2 years ago
pharmapsychotic
5aed16b011
Ability to swap CLIP models (takes about 5s for ViTL and 10s for ViTH), update Replicate cog
2 years ago
pharmapsychotic
e3c1a4df84
Update more stuff for open_clip switch
2 years ago
pharmapsychotic
917b7c6c15
More fixes, improvement and cleanup.
2 years ago
pharmapsychotic
19586d3d0d
Update description with link to SD 2.0 announcement post
2 years ago
pharmapsychotic
efee3fe0d7
Tweak defaults so runtime acceptable on T4 GPU in Colab
2 years ago
pharmapsychotic
1221871c1b
Handle differences in how open_clip does prompt truncation, run_gradio support for all the open_clip models and --share option.
2 years ago
pharmapsychotic
ad01cadbef
Config changes to stay in 16GB VRAM available on Colab
2 years ago
pharmapsychotic
4bef32e69b
Shuffle BLIP back to system RAM to help with 16GB Colab
2 years ago
pharmapsychotic
8d2de646b6
Quick note on Colab compatibility before I head out for turkey
2 years ago
pharmapsychotic
429d490901
First test version with OpenCLIP and ViTH!
2 years ago
pharmapsychotic
55c922a48a
Update notebook batch processing with option to rename files so can be used with [filewords] in Dreambooth!
...
- new `quiet` config option so CLIP Interrogator doesn't print and tqdm
- `max_flavors` option to each interrogate method
2 years ago
pharmapsychotic
55b1770386
Update Replicate cog to use clip_interrogator library
2 years ago
pharmapsychotic
8c521c12a0
Merge pull request #11 from chenxwh/main
...
Add Replicate demo and API
2 years ago
pharmapsychotic
6953206901
.
2 years ago
pharmapsychotic
31b1d22e82
Batch processing in notebook and run_cli!
2 years ago
pharmapsychotic
8f5ddce2b3
.
2 years ago