remove torch type

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2025-06-02 14:29:03 +02:00
parent 738385004a
commit 07045386c6

View File

@ -99,7 +99,6 @@ class HuggingFaceTransformersVlmModel(BasePageModel, HuggingFaceModelDownloadMix
self.vlm_model = model_cls.from_pretrained(
artifacts_path,
device_map=self.device,
torch_dtype="auto",
_attn_implementation=(
"flash_attention_2"
if self.device.startswith("cuda")