diff --git a/server/clip_server/model/openclip_model.py b/server/clip_server/model/openclip_model.py index dcfc39da4..3d667ebcf 100644 --- a/server/clip_server/model/openclip_model.py +++ b/server/clip_server/model/openclip_model.py @@ -40,8 +40,6 @@ def get_model_name(name: str): model_name = name if model_name == 'ViT-L/14@336px': return 'ViT-L-14-336' - elif model_name.endswith('-quickgelu'): - return model_name[:-10] return model_name.replace('/', '-') def encode_text(self, input_ids: 'torch.Tensor', **kwargs):