@@ -313,8 +313,6 @@ def _create_vlm_handle(
313313 plugin_id : str | None ,
314314 device_id : str | None ,
315315 config : geniex_ModelConfig ,
316- license_id : str | None ,
317- license_key : str | None ,
318316 meta : dict | None = None ,
319317) -> GenieXVLM :
320318 inp = geniex_VlmCreateInput (
@@ -330,10 +328,6 @@ def _create_vlm_handle(
330328 inp .plugin_id = plugin_id .encode ()
331329 if device_id :
332330 inp .device_id = device_id .encode ()
333- if license_id :
334- inp .license_id = license_id .encode ()
335- if license_key :
336- inp .license_key = license_key .encode ()
337331
338332 handle = c_void_p ()
339333 lib = load_library ()
@@ -356,8 +350,6 @@ def from_pretrained(
356350 n_gpu_layers : int = - 1 ,
357351 mmproj_path : str | None = None ,
358352 tokenizer_path : str | None = None ,
359- license_id : str | None = None ,
360- license_key : str | None = None ,
361353 hf_token : str | None = None ,
362354 progress : ProgressCallback | bool | None = None ,
363355 ** kwargs ,
@@ -407,8 +399,6 @@ def from_pretrained(
407399 plugin_id ,
408400 device_id ,
409401 config ,
410- license_id ,
411- license_key ,
412402 meta = meta ,
413403 )
414404
@@ -423,10 +413,6 @@ def from_pretrained(
423413 inp .plugin_id = plugin_id .encode ()
424414 if device_id :
425415 inp .device_id = device_id .encode ()
426- if license_id :
427- inp .license_id = license_id .encode ()
428- if license_key :
429- inp .license_key = license_key .encode ()
430416
431417 handle = c_void_p ()
432418 lib = load_library ()
@@ -449,8 +435,6 @@ def from_pretrained(
449435 n_gpu_layers : int = - 1 ,
450436 mmproj_path : str | None = None ,
451437 tokenizer_path : str | None = None ,
452- license_id : str | None = None ,
453- license_key : str | None = None ,
454438 hf_token : str | None = None ,
455439 progress : ProgressCallback | bool | None = None ,
456440 ** kwargs ,
@@ -495,7 +479,5 @@ def from_pretrained(
495479 plugin_id ,
496480 device_id ,
497481 config ,
498- license_id ,
499- license_key ,
500482 meta = meta ,
501483 )
0 commit comments