Skip to content

Commit c7bef70

Browse files
Latest changes to aadpt to upstream master
1 parent 7851fbf commit c7bef70

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/offline_inference/prithvi_geospatial_mae.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ def __init__(self):
143143
self.model = LLM(
144144
model=os.path.join(os.path.dirname(__file__), "./model"),
145145
skip_tokenizer_init=True,
146-
dtype="float32",
146+
dtype="float16",
147+
enforce_eager=True
147148
)
148149

149150
def run(self, input_data, location_coords):

vllm/v1/engine/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def _initialize_kv_caches(
139139
# is attention free.
140140
kv_cache_specs = []
141141
kv_cache_configs = [
142-
KVCacheConfig(num_blocks=0, tensors={}, kv_cache_groups=[])
142+
KVCacheConfig(num_blocks=0, kv_cache_tensors={}, kv_cache_groups=[])
143143
]
144144
else:
145145
# Get all kv cache needed by the model

0 commit comments

Comments
 (0)