Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ZX-ModelCloud committed Dec 19, 2024
1 parent a4355b4 commit 48dcead
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/models/model_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from gptqmodel.quantization import FORMAT # noqa: E402
from gptqmodel.quantization.config import QuantizeConfig # noqa: E402
from gptqmodel.utils.eval import lm_eval # noqa: E402
from ovis_calibration_dataset import get_calib_dataset
from ovis.ovis_calibration_dataset import get_calib_dataset
from gptqmodel.utils.torch import torch_empty_cache # noqa: E402


Expand Down
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/models/test_ovis_1_6_llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_ovis_1_6(self):
visual_tokenizer = model.get_visual_tokenizer()

# enter image path and prompt
image_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "10016.jpg")
image_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "ovis/10016.jpg")
image = Image.open(image_path)
text = "What does this picture show?"
query = f'<image>\n{text}'
Expand Down

0 comments on commit 48dcead

Please sign in to comment.