From 78fa087115e6677e62c435f11b72526c0ffa11f0 Mon Sep 17 00:00:00 2001 From: YangXiuyu Date: Fri, 9 Dec 2022 18:14:21 +0800 Subject: [PATCH] fix: test --- tests/test_model.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_model.py b/tests/test_model.py index 1939a1ee5..f7e44177b 100644 --- a/tests/test_model.py +++ b/tests/test_model.py @@ -37,4 +37,6 @@ def test_onnx_model(name): ['ViT-H-14::laion2b-s32b-b79k'], ) def test_large_onnx_model_fp16(name): - CLIPOnnxModel(name, dtype='fp16') + from clip_server.executors.clip_onnx import CLIPEncoder + + CLIPEncoder(name, dtype='fp16')