f05611ebb4bf1bafe6daf69ad38260055621b9bb
lm-launcher
A small Swing GUI for managing local GGUF models and launching apps with model-dependent command-line placeholders.
What it does
- scans a configured models directory for
.gguffiles - stores per-model settings in
models.json - stores app launch definitions in
apps.json - launches apps with placeholders resolved from the selected model
Model settings
Each model can store:
- context length
- max context length
- threads
- GPU layers
- prompt template
- temperature
- top-p
- top-k
- min-p
The main window also provides sliders for quickly adjusting launch-time values for:
- context length
- threads
- GPU layers
- temperature
- top-p
- top-k
- min-p
App placeholders
Use these tokens in app arguments:
MODELCONTEXT_SIZETHREADSGPU_LAYERSTEMPTOP_PTOP_KMIN_P
Example:
-m MODEL -c CONTEXT_SIZE -t THREADS -ngl GPU_LAYERS --temp TEMP --top-p TOP_P --top-k TOP_K --min-p MIN_P
Files
lm-launcher.properties– launcher configurationmodels.json– saved model settingsapps.json– saved app definitionsrun.sh– starts the packaged launcher jar
Run
./run.sh
To build from source with the bundled Jackson jars:
javac -cp jackson-annotations-2.17.2.jar:jackson-core-2.17.2.jar:jackson-databind-2.17.2.jar -d /tmp/lm-launcher-build $(find src -name '*.java' | sort)
java -cp /tmp/lm-launcher-build:jackson-annotations-2.17.2.jar:jackson-core-2.17.2.jar:jackson-databind-2.17.2.jar de.extio.lm_launcher.Main
Description
Languages
Java
99.9%