Spaces:
Paused
Paused
x-lai
commited on
Commit
·
327baf0
1
Parent(s):
fdcde20
Update requirements.txt
Browse filesFormer-commit-id: d0f79ae24ce4a850997597255bf93c8c03fe2efb
- model/LISA.py +0 -7
- requirements.txt +0 -2
model/LISA.py
CHANGED
@@ -10,13 +10,6 @@ import torch.nn.functional as F
|
|
10 |
import transformers
|
11 |
|
12 |
from transformers import LlamaForCausalLM, CLIPVisionModel, BitsAndBytesConfig
|
13 |
-
from peft import (
|
14 |
-
LoraConfig,
|
15 |
-
get_peft_model,
|
16 |
-
get_peft_model_state_dict,
|
17 |
-
prepare_model_for_int8_training,
|
18 |
-
set_peft_model_state_dict,
|
19 |
-
)
|
20 |
from .llava.model.llava import LlavaLlamaForCausalLM
|
21 |
from .segment_anything import build_sam_vit_l, build_sam_vit_h
|
22 |
|
|
|
10 |
import transformers
|
11 |
|
12 |
from transformers import LlamaForCausalLM, CLIPVisionModel, BitsAndBytesConfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
from .llava.model.llava import LlavaLlamaForCausalLM
|
14 |
from .segment_anything import build_sam_vit_l, build_sam_vit_h
|
15 |
|
requirements.txt
CHANGED
@@ -6,9 +6,7 @@ markdown2==2.4.10
|
|
6 |
numpy==1.24.2
|
7 |
openai==0.27.8
|
8 |
opencv_python==4.8.0.74
|
9 |
-
peft==0.3.0
|
10 |
Pillow==9.4.0
|
11 |
-
Pillow==10.0.0
|
12 |
pycocotools==2.0.6
|
13 |
ray==2.6.1
|
14 |
Requests==2.31.0
|
|
|
6 |
numpy==1.24.2
|
7 |
openai==0.27.8
|
8 |
opencv_python==4.8.0.74
|
|
|
9 |
Pillow==9.4.0
|
|
|
10 |
pycocotools==2.0.6
|
11 |
ray==2.6.1
|
12 |
Requests==2.31.0
|