File size: 414 Bytes
c426a27
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
To run BLIP/BLIP2, you should install transformers from source!
```
!pip install git+https://github.com/huggingface/transformers.git
```
To run filter module, you should install CLIP repo as a Python package as follow:
```
!pip install ftfy regex tqdm
!pip install git+https://github.com/openai/CLIP.git
```
To accelerate BLIP2 with int8, you should install accelerate
```
!pip install accelerate bitsandbytes
```