Skip to content

Commit e02df23

Browse files
joerundedtrifiro
andcommitted
Update src/vllm_tgis_adapter/grpc/adapters.py
Co-authored-by: Daniele <[email protected]>
1 parent 76a34f3 commit e02df23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vllm_tgis_adapter/grpc/adapters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _load_adapter_metadata(adapter_id: str, adapter_path: str, unique_id: int) -
140140
)
141141

142142
# 🌶️🌶️🌶️ Check for caikit-style adapters first
143-
if Path(adapter_path).exists() and (Path(adapter_path) / "decoder.pt").exists():
143+
if (Path(adapter_path) / "decoder.pt").exists():
144144
# Create new temporary directory and convert to peft format there
145145
# NB: This requires write access to /tmp
146146
# Intentionally setting delete=False, we need the new adapter

0 commit comments

Comments
 (0)