-
Notifications
You must be signed in to change notification settings - Fork 216
feat(localcowork): Ubuntu support with ROCm GPU auto-detection#76
Open
ThomasGmeinder wants to merge 3 commits intoLiquid4All:mainfrom
Open
feat(localcowork): Ubuntu support with ROCm GPU auto-detection#76ThomasGmeinder wants to merge 3 commits intoLiquid4All:mainfrom
ThomasGmeinder wants to merge 3 commits intoLiquid4All:mainfrom
Conversation
Contributor
Summary
- Ubuntu support: setup-dev.sh now detects the OS (macOS or Ubuntu/Debian) and automatically installs all system prerequisites (Node.js, Python venv, Rust, cmake, Tauri GTK/WebKit deps, inotify watcher limit)
- Upgraded model from Preview to release: Updated all references from the gated
LFM2-24B-A2B-Previewto the publicLFM2-24B-A2B-GGUFrepo. Resolves Cannot request access to LFM2-24B-A2B-Preview #75 - GPU-accelerated llama.cpp build: Added a Makefile that builds llama-server from source with automatic ROCm GPU detection via
rocm-smi, falling back to CPU. Supportsmake CPU=1override - Improved usability: setup-dev.sh handles all prerequisites automatically -- the README Prerequisites section is condensed to a single
./scripts/setup-dev.shcall instead of manual platform-specific steps
Test report
The following agentic functions were tested in the browser on Ubuntu 24.04 with ROCm 7.2 (AMD Ryzen iGPU gfx1151, 48 GB VRAM):
- "Tell me about my system" -- system info retrieved successfully
- "Scan for leaked secrets" -- security scan completed
- "Find personal data" -- PII detection completed
- "Summarize PDF on desktop" -- a concise summary was generated in .pdf, .txt and .docx formats
Made with Cursor
Thomas Gmeinder
added 3 commits
March 14, 2026 13:37
- Add Ubuntu/Debian prerequisites section to README (Node.js, python3-venv,
Rust, Tauri GTK/WebKit deps, inotify watcher limit)
- Update model references from gated LFM2-24B-A2B-Preview to public
LFM2-24B-A2B-GGUF repo
- Fix --flash-attn flag syntax for newer llama.cpp in start-model.sh
- Add python3-venv check to setup-dev.sh
Tested on Ubuntu 24.04 with ROCm 7.2 (gfx1151). The llama-server binary
was symlinked from an existing ROCm/HIP build, not built by this project.
Tauri app launches and onboarding works on the NUC's local browser.
Note: Tauri (WebKit2GTK) requires a native display -- it does not work
over SSH remote without X11 forwarding or VNC.
Made-with: Cursor
Rust, Tauri GTK/WebKit deps, inotify watcher limit)
- Update model references from gated LFM2-24B-A2B-Preview to public
LFM2-24B-A2B-GGUF repo
- Fix --flash-attn flag syntax for newer llama.cpp in start-model.sh
- Add python3-venv check to setup-dev.sh
Tested on Ubuntu 24.04 with ROCm 7.2 (gfx1151). The llama-server binary
was symlinked from an existing ROCm/HIP build, not built by this project.
Tauri app launches and onboarding works on the NUC's local browser.
Note: Tauri (WebKit2GTK) requires a native display -- it does not work
over SSH remote without X11 forwarding or VNC.
Made-with: Cursor
...detection
Add a Makefile that clones and builds llama.cpp from source with automatic
ROCm GPU detection via rocm-smi. Falls back to CPU-only build when ROCm
is not available. Supports CPU=1 override to force CPU build.
start-model.sh now auto-finds ./llama-server built by make, falling back
to PATH. Updated README with Ubuntu prerequisites and build instructions.
Tested on Ubuntu 24.04 with ROCm 7.2 (gfx1151), AMD Ryzen iGPU (48 GB VRAM).
Test report (LFM2-24B-A2B-Q4_K_M on ROCm):
- "Tell me about my system" -- system info retrieved successfully
- "Scan for leaked secrets" -- security scan completed
- "Find personal data" -- PII detection completed
- "Summarize PDF on desktop" -- concise summary generated in .pdf, .txt and .docx formats
Made-with: Cursor
Add a Makefile that clones and builds llama.cpp from source with automatic
ROCm GPU detection via rocm-smi. Falls back to CPU-only build when ROCm
is not available. Supports CPU=1 override to force CPU build.
start-model.sh now auto-finds ./llama-server built by make, falling back
to PATH. Updated README with Ubuntu prerequisites and build instructions.
Tested on Ubuntu 24.04 with ROCm 7.2 (gfx1151), AMD Ryzen iGPU (48 GB VRAM).
Test report (LFM2-24B-A2B-Q4_K_M on ROCm):
- "Tell me about my system" -- system info retrieved successfully
- "Scan for leaked secrets" -- security scan completed
- "Find personal data" -- PII detection completed
- "Summarize PDF on desktop" -- concise summary generated in .pdf, .txt and .docx formats
Made-with: Cursor
Simplify the getting-started experience: setup-dev.sh now detects the OS
(macOS or Ubuntu/Debian) and automatically installs all system
prerequisites -- Node.js, Python venv, Rust, cmake, Tauri GTK/WebKit
deps, and inotify watcher limit. Users no longer need to manually follow
platform-specific prerequisite steps from the README.
Condensed the README Prerequisites section to reflect this -- the manual
install commands are replaced by a single ./scripts/setup-dev.sh call.
Made-with: Cursor
(macOS or Ubuntu/Debian) and automatically installs all system
prerequisites -- Node.js, Python venv, Rust, cmake, Tauri GTK/WebKit
deps, and inotify watcher limit. Users no longer need to manually follow
platform-specific prerequisite steps from the README.
Condensed the README Prerequisites section to reflect this -- the manual
install commands are replaced by a single ./scripts/setup-dev.sh call.
Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.