Spaces:
Sleeping
Sleeping
Commit History
-
UX overhaul + Gradio migration + remove llama.cpp
e6970ed
-
cache bust to force clean HF rebuild
efe44de -
Remove llama-cpp-python and lighten Dockerfile; Modal handles inference
e4749c9 -
fix: restore llama.cpp with source build, use fine-tuned GGUF model
7e810ce -
refactor: remove llama-cpp entirely, use deterministic mock-only mode
a7789ad -
fix: force llama-cpp-python source build to fix musl/glibc mismatch on HF Spaces
84753ae -
fix: cache bust Docker layer to force libgomp1/libgfortran5 install
bae9351 -
fix: install libgomp1 + libgfortran5 so the prebuilt llama-cpp wheel can load
The Space was failing at runtime with: RuntimeError: Failed to load shared library '/usr/local/lib/python3.11/site-packages/llama_cpp/lib/llama.so' The prebuilt llama-cpp-python CPU wheel ships libllama.so, which dynamically links against: - libgomp.so.1 (OpenMP runtime) - libgfortran.so.5 (Fortran runtime) Neither of these is present in the python:3.11-slim base image, so dlopen() fails the moment we construct the Llama() object. The previous error-surfacing work surfaced this exact failure to the status line (no more generic 'model not loaded'), which made the root cause obvious. Fix: apt-get install libgomp1 libgfortran5 in the Dockerfile. Also keep cmake + build-essential as a safety net so pip can fall back to a source build if the prebuilt wheel is ever unavailable for the exact Python version. --prefer-binary is kept so we still use the fast prebuilt wheel by default. Tests (host Python, not Docker): 12 unit + 42 E2E + 12 verify_llm_status all pass. The Docker fix w…a55c7de -
fix: harden LLM calls, cast numpy to native floats, pin llama-cpp-python wheel
11853b1 -
Space: prebuilt llama-cpp-python wheel, minimal Dockerfile
7247224
-
Add model download, split requirements, prepare for Modal training
a2d1173 -
Phase 2/3: Gradio Server backend, CRT frontend, engine, agents, mentor, tests, CI/CD
1d0b04b