mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Comment for the try except import.
This commit is contained in:
parent
f48b6109fd
commit
da1b5fa6b7
@ -24,6 +24,7 @@ try:
|
||||
|
||||
VLM_BATCH_TYPES = {PaliGemmaBatch, VlmCausalLMBatch, IdeficsCausalLMBatch}
|
||||
except (ImportError, NotImplementedError):
|
||||
# These imports can fail on CPU/Non flash.
|
||||
VLM_BATCH_TYPES = set()
|
||||
|
||||
from text_generation_server.pb import generate_pb2_grpc, generate_pb2
|
||||
|
Loading…
Reference in New Issue
Block a user