Spaces:
Running
on
Zero
Running
on
Zero
tweak imports
Browse files- model_utils.py +1 -2
model_utils.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import subprocess
|
2 |
import os
|
3 |
import torch
|
4 |
-
from transformers import BitsAndBytesConfig, AutoConfig, AutoModelForCausalLM, LlavaNextForConditionalGeneration, LlavaForConditionalGeneration, PaliGemmaForConditionalGeneration, Idefics2ForConditionalGeneration, Owlv2ForObjectDetection, GroundingDinoForObjectDetection, SamModel
|
5 |
import spaces
|
6 |
|
7 |
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
@@ -22,7 +22,6 @@ ARCHITECTURE_MAP = {
|
|
22 |
"GroundingDinoForObjectDetection": GroundingDinoForObjectDetection,
|
23 |
"SamModel": SamModel,
|
24 |
"AutoModelForCausalLM": AutoModelForCausalLM,
|
25 |
-
"NomicBertModel": NomicBertModel,
|
26 |
}
|
27 |
|
28 |
|
|
|
1 |
import subprocess
|
2 |
import os
|
3 |
import torch
|
4 |
+
from transformers import BitsAndBytesConfig, AutoConfig, AutoModelForCausalLM, LlavaNextForConditionalGeneration, LlavaForConditionalGeneration, PaliGemmaForConditionalGeneration, Idefics2ForConditionalGeneration, Owlv2ForObjectDetection, GroundingDinoForObjectDetection, SamModel
|
5 |
import spaces
|
6 |
|
7 |
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
|
|
22 |
"GroundingDinoForObjectDetection": GroundingDinoForObjectDetection,
|
23 |
"SamModel": SamModel,
|
24 |
"AutoModelForCausalLM": AutoModelForCausalLM,
|
|
|
25 |
}
|
26 |
|
27 |
|