Prepare IQ3 dual native-context slots with queued admission
This commit is contained in:
1 parent
eda684eb83
commit
6e1c29f3e1
10 files changed
+160
-10
No files matched your search
+2
-2
@@ -242,7 +242,7 @@ class Endpoint:
|
||||
row=dict(id='athena-image' if kind=='image' else p.get('api_id',p['name']),name=p['name'],display_name=p['name'],object='model',created=int(p['updated_at']),owned_by='athena-deck')
|
||||
if kind=='chat':
|
||||
params=p.get('parameters',{})
|
||||
row.update(context_window=int(params.get('context',8192)),parallel_slots=int(params.get('slots',1)),context_scope='shared',status={'configuration_only':True})
|
||||
row.update(context_window=int(params.get('context',8192)),parallel_slots=int(params.get('slots',1)),context_scope='per_slot' if params.get('chat_runtime')=='strata' else 'shared',status={'configuration_only':True})
|
||||
data.append(row)
|
||||
return dict(object='list',data=data)
|
||||
def model_properties(self,name):
|
||||
@@ -254,7 +254,7 @@ class Endpoint:
|
||||
known_template=bool(re.search(r'qwen|gemma',identity))
|
||||
return dict(model=p['name'],n_ctx=int(params.get('context',8192)),
|
||||
default_generation_settings=dict(n_ctx=int(params.get('context',8192)),params={}),
|
||||
total_slots=int(params.get('slots',1)),context_scope='shared',
|
||||
total_slots=int(params.get('slots',1)),context_scope='per_slot' if params.get('chat_runtime')=='strata' else 'shared',
|
||||
modalities=dict(vision=bool(params.get('vision_projector'))),
|
||||
chat_template_caps=dict(supports_tool_calls=known_template,
|
||||
supports_typed_content=True,
|
||||
|
||||
Reference in new issue
Block a user