lemonade-sdk 8.1.6__py3-none-any.whl → 8.1.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of lemonade-sdk might be problematic. Click here for more details.

lemonade/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "8.1.6"
1
+ __version__ = "8.1.7"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lemonade-sdk
3
- Version: 8.1.6
3
+ Version: 8.1.7
4
4
  Summary: Lemonade SDK: Your LLM Aide for Validation and Deployment
5
5
  Author-email: lemonade@amd.com
6
6
  Requires-Python: >=3.10, <3.14
@@ -4,7 +4,7 @@ lemonade/cache.py,sha256=5iZbk273TiTMqK_vdzPOPYTo6VsWW2gNByOISA9zi1w,3002
4
4
  lemonade/cli.py,sha256=9Pcs3PcrWC2F8_pcBaz09xHUICIJTvpemBdPGyXkjIk,4395
5
5
  lemonade/sequence.py,sha256=KSH7BPsiyDKsOsg_ziQKEGsDwMmuO_YbgPRBxkZd0pw,13267
6
6
  lemonade/state.py,sha256=sdSezla7Cd7KYL90xY3p9kcNV4ndSyN6UvNLOr3vBMA,5261
7
- lemonade/version.py,sha256=pLCv7QgPYSVaHwGzgyRgNowjqjppvm3TmtmQCvVkOrA,22
7
+ lemonade/version.py,sha256=DSjpcTXEMbKTSEhH-ChqB5reU3Hdp38wfe3HkEnrtRQ,22
8
8
  lemonade/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  lemonade/common/build.py,sha256=zTb0m1-kuUx6zw5QHp2SNnVuN6jOTMQ2FCdj9iH374U,6140
10
10
  lemonade/common/cli_helpers.py,sha256=hjBfXrTtFl8gmCFlL-ksviXR0mOcdPtTWVNKoEp3PG4,4993
@@ -64,15 +64,15 @@ lemonade/tools/server/utils/system_tray.py,sha256=b9lvNv9chJKQxvmH7qzAuUe6H9HsLu
64
64
  lemonade/tools/server/utils/thread.py,sha256=Z-PDzGcpgfN2qxTmtlROWqrUN0B2fXdPrqo_J10fR_w,2772
65
65
  lemonade_install/__init__.py,sha256=26zohKg2jgr_5y7tObduWMYQg8zCTWMZHL8lfi2zZVQ,40
66
66
  lemonade_install/install.py,sha256=onndA2a-ygyLtDfupI8JQFhU_XpK8McGZtGujFasXww,28304
67
- lemonade_sdk-8.1.6.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
68
- lemonade_sdk-8.1.6.dist-info/licenses/NOTICE.md,sha256=RSca9LE5e6pvdWA_LXAUCcACIHPmINKqkRX-AVRqBGo,3499
67
+ lemonade_sdk-8.1.7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
68
+ lemonade_sdk-8.1.7.dist-info/licenses/NOTICE.md,sha256=RSca9LE5e6pvdWA_LXAUCcACIHPmINKqkRX-AVRqBGo,3499
69
69
  lemonade_server/cli.py,sha256=GsYMg095XMADHjWr1ytLYvbbrtSDPwQJEUn0gI-W99o,19108
70
- lemonade_server/model_manager.py,sha256=DVznjSHG5R_W3E5xTI-7p4qYS_NTS3ssXh4zujeey-Y,20453
70
+ lemonade_server/model_manager.py,sha256=xHbHo14q9EbueY6rxijFKUQtf4hgod0w9gBuPw2mVdk,18065
71
71
  lemonade_server/pydantic_models.py,sha256=49MyOlb5feLUlKsGcI75tWaflWckrItqcSVkdCY4e3A,3269
72
72
  lemonade_server/server_models.json,sha256=DAdG4ebIt5Dy5MM3kmXn1pO0XbNMph1gdpzbacBDVuc,11664
73
73
  lemonade_server/settings.py,sha256=6nsmPLFJD-UokQDmlx9ZBYMbpnn48So_PuBGWP7Fmfg,1299
74
- lemonade_sdk-8.1.6.dist-info/METADATA,sha256=N6NlWOitXA4TrHkebCpHS9d2QZ4LtaY0aOWJvaz8TXU,16852
75
- lemonade_sdk-8.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
76
- lemonade_sdk-8.1.6.dist-info/entry_points.txt,sha256=7sRvpNhi1E7amnM7RZo57e8yFF9iA5uuRaIeJ1Xre6w,193
77
- lemonade_sdk-8.1.6.dist-info/top_level.txt,sha256=10ap5GNiPhalO4V50LRoxA1FqRT9g3Xkia6BITu880k,42
78
- lemonade_sdk-8.1.6.dist-info/RECORD,,
74
+ lemonade_sdk-8.1.7.dist-info/METADATA,sha256=onbpcmKIyz0x7FmhWIzGFD0YnyOoOTUTCxtcxSno1gA,16852
75
+ lemonade_sdk-8.1.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
76
+ lemonade_sdk-8.1.7.dist-info/entry_points.txt,sha256=7sRvpNhi1E7amnM7RZo57e8yFF9iA5uuRaIeJ1Xre6w,193
77
+ lemonade_sdk-8.1.7.dist-info/top_level.txt,sha256=10ap5GNiPhalO4V50LRoxA1FqRT9g3Xkia6BITu880k,42
78
+ lemonade_sdk-8.1.7.dist-info/RECORD,,
@@ -201,53 +201,6 @@ class ModelManager:
201
201
  reasoning=reasoning,
202
202
  )
203
203
  else:
204
- # Model is already registered - check if trying to register with different parameters
205
- existing_model = self.supported_models[model]
206
- existing_checkpoint = existing_model.get("checkpoint")
207
- existing_recipe = existing_model.get("recipe")
208
- existing_reasoning = "reasoning" in existing_model.get("labels", [])
209
- existing_mmproj = existing_model.get("mmproj", "")
210
-
211
- # Compare parameters (handle None/empty string equivalence for mmproj)
212
- checkpoint_differs = checkpoint and checkpoint != existing_checkpoint
213
- recipe_differs = recipe and recipe != existing_recipe
214
- reasoning_differs = reasoning != existing_reasoning
215
- mmproj_differs = mmproj != existing_mmproj and not (
216
- not mmproj and not existing_mmproj
217
- )
218
-
219
- if (
220
- checkpoint_differs
221
- or recipe_differs
222
- or reasoning_differs
223
- or mmproj_differs
224
- ):
225
- conflicts = []
226
- if checkpoint_differs:
227
- conflicts.append(
228
- f"checkpoint (existing: '{existing_checkpoint}', new: '{checkpoint}')"
229
- )
230
- if recipe_differs:
231
- conflicts.append(
232
- f"recipe (existing: '{existing_recipe}', new: '{recipe}')"
233
- )
234
- if reasoning_differs:
235
- conflicts.append(
236
- f"reasoning (existing: {existing_reasoning}, new: {reasoning})"
237
- )
238
- if mmproj_differs:
239
- conflicts.append(
240
- f"mmproj (existing: '{existing_mmproj}', new: '{mmproj}')"
241
- )
242
-
243
- conflict_details = ", ".join(conflicts)
244
- raise ValueError(
245
- f"Model {model} is already registered with different configuration. "
246
- f"Conflicting parameters: {conflict_details}. "
247
- f"Please use a different model name or delete the existing model first using "
248
- f"`lemonade-server delete {model}`."
249
- )
250
-
251
204
  new_registration_model_config = None
252
205
 
253
206
  # Download the model