Skip to content

Commit

Permalink
remove useless.
Browse files Browse the repository at this point in the history
  • Loading branch information
lkk12014402 committed May 22, 2024
1 parent e70a631 commit e32eebc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions comps/llms/local/llm_hf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@
import lm_eval.api.registry
import torch
from docarray import BaseDoc
from fastapi.responses import StreamingResponse
from GenAIEval.evaluation.lm_evaluation_harness.lm_eval.models.huggingface import HFLM, GaudiHFModelAdapter
from langchain_community.llms import HuggingFaceEndpoint

from comps import GeneratedDoc, ServiceType, opea_microservices, opea_telemetry, register_microservice
from comps import ServiceType, opea_microservices, opea_telemetry, register_microservice

lm_eval.api.registry.MODEL_REGISTRY["hf"] = HFLM
lm_eval.api.registry.MODEL_REGISTRY["gaudi-hf"] = GaudiHFModelAdapter
Expand Down

0 comments on commit e32eebc

Please sign in to comment.