Skip to content

Commit dfbe676

Browse files
committed
fix: Updates necessary to handle latest changes in lemonade main
1 parent bb3d1a4 commit dfbe676

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

scripts/lemonade-server-wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ if [ "$BACKEND" = "vulkan" ] && [ -z "$gfx_version" ]; then
9191
echo "[Lemonade Wrapper] No AMD GPU detected, using Vulkan backend" >&2
9292
fi
9393

94-
exec "$SNAP/usr/bin/lemonade-server" "$@" --llamacpp "$BACKEND" --host "$LEMONADE_HOST" --port "$LEMONADE_PORT" --log-level "$LEMONADE_LOG_LEVEL" --ctx-size "$LEMONADE_CTX_SIZE" --llamacpp-args "$LEMONADE_LLAMACPP_ARGS"
94+
exec "$SNAP/usr/bin/lemond" "$@" --llamacpp "$BACKEND" --host "$LEMONADE_HOST" --port "$LEMONADE_PORT" --log-level "$LEMONADE_LOG_LEVEL" --ctx-size "$LEMONADE_CTX_SIZE" --llamacpp-args "$LEMONADE_LLAMACPP_ARGS"

snap/snapcraft.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ apps:
8787
- hardware-observe
8888
- system-observe
8989
lemonade-server:
90-
command: usr/bin/lemonade-server
90+
command: usr/bin/lemonade
9191
command-chain: [bin/gpu-2404-wrapper]
9292
plugs:
9393
- accel
@@ -107,9 +107,8 @@ apps:
107107
FLM_MODEL_PATH: $SNAP_COMMON/flm/models
108108
FLM_CONFIG_PATH: $SNAP/usr/share/flm/model_list.json
109109
FLM_XCLBIN_PATH: $SNAP/usr/share/flm/xclbins
110-
LEMONADE_FLM_LINUX_BETA: 1
111110
daemon:
112-
command: bin/lemonade-server-wrapper serve
111+
command: usr/bin/lemond
113112
command-chain: [bin/gpu-2404-wrapper]
114113
daemon: simple
115114
install-mode: enable
@@ -135,7 +134,6 @@ apps:
135134
FLM_MODEL_PATH: $SNAP_COMMON/flm/models
136135
FLM_CONFIG_PATH: $SNAP/usr/share/flm/model_list.json
137136
FLM_XCLBIN_PATH: $SNAP/usr/share/flm/xclbins
138-
LEMONADE_FLM_LINUX_BETA: 1
139137
flm:
140138
command: usr/bin/flm
141139
command-chain: [bin/gpu-2404-wrapper]

0 commit comments

Comments
 (0)