Spaces:
Paused
Paused
alessandro trinca tornidor
commited on
Commit
·
024790f
1
Parent(s):
accca77
chore: bump lisa-on-cuda to version 1.4.8
Browse files- lisa_on_cuda/utils/app_helpers.py +1 -2
- pyproject.toml +2 -2
lisa_on_cuda/utils/app_helpers.py
CHANGED
|
@@ -245,8 +245,7 @@ def get_model(args_to_parse, internal_logger: logging = None, inference_decorato
|
|
| 245 |
) if inference_decorator else prepare_model_vision_tower(
|
| 246 |
_model, args_to_parse, torch_dtype
|
| 247 |
)
|
| 248 |
-
internal_logger.debug(f"_model type:{type(_model)}
|
| 249 |
-
internal_logger.debug(f"vision_tower type:{type(vision_tower)} => {vision_tower}.")
|
| 250 |
# set device to "cuda" try to avoid CUDA init RuntimeError on ZeroGPU huggingface hardware
|
| 251 |
vision_tower.to(device=device2)
|
| 252 |
internal_logger.debug("vision tower loaded, prepare clip image processor...")
|
|
|
|
| 245 |
) if inference_decorator else prepare_model_vision_tower(
|
| 246 |
_model, args_to_parse, torch_dtype
|
| 247 |
)
|
| 248 |
+
internal_logger.debug(f"_model type:{type(_model)}, vision_tower type:{type(vision_tower)}.")
|
|
|
|
| 249 |
# set device to "cuda" try to avoid CUDA init RuntimeError on ZeroGPU huggingface hardware
|
| 250 |
vision_tower.to(device=device2)
|
| 251 |
internal_logger.debug("vision tower loaded, prepare clip image processor...")
|
pyproject.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
[tool.poetry]
|
| 2 |
name = "lisa-on-cuda"
|
| 3 |
-
version = "1.4.
|
| 4 |
description = "LISA (Reasoning Segmentation via Large Language Model) on cuda, now with huggingface ZeroGPU support!"
|
| 5 |
authors = ["alessandro trinca tornidor <[email protected]>"]
|
| 6 |
license = "Apache 2.0"
|
|
@@ -8,7 +8,7 @@ readme = "README.md"
|
|
| 8 |
|
| 9 |
[metadata]
|
| 10 |
name = "lisa-on-cuda"
|
| 11 |
-
version = "1.4.
|
| 12 |
|
| 13 |
[tool.poetry.urls]
|
| 14 |
Source = "https://huggingface.co/spaces/aletrn/lisa-on-cuda/"
|
|
|
|
| 1 |
[tool.poetry]
|
| 2 |
name = "lisa-on-cuda"
|
| 3 |
+
version = "1.4.8"
|
| 4 |
description = "LISA (Reasoning Segmentation via Large Language Model) on cuda, now with huggingface ZeroGPU support!"
|
| 5 |
authors = ["alessandro trinca tornidor <[email protected]>"]
|
| 6 |
license = "Apache 2.0"
|
|
|
|
| 8 |
|
| 9 |
[metadata]
|
| 10 |
name = "lisa-on-cuda"
|
| 11 |
+
version = "1.4.8"
|
| 12 |
|
| 13 |
[tool.poetry.urls]
|
| 14 |
Source = "https://huggingface.co/spaces/aletrn/lisa-on-cuda/"
|