Commit History

  1. Update README.md

    Verified signature
    7c640d5
  2. Strip MiniCPM <think>...</think> reasoning tags from generated text

    Verified signature
    5f5ab47
  3. Relax huggingface_hub pin to <1.0 to satisfy transformers 4.55-4.57

    Verified signature
    fdb54cf
  4. Pin transformers<5.0 so KV cache works with MiniCPM bundled code; re-enable use_cache

    Verified signature
    148a99f
  5. Revert to use_cache=False (eager attn also broken); hide all audio UI

    Verified signature
    df99cf8
  6. Speed up: eager attn + KV cache; drop chat retries to 1; remove MiniCPM-o voice UI artifact

    Verified signature
    3326f32
  7. Cap zerogpu max_new_tokens at 256 (use_cache=False makes long generations O(n^2))

    Verified signature
    c788ee1
  8. Disable KV cache: openbmb modeling_minicpm.py has a cache_utils API drift bug

    Verified signature
    e06599a
  9. Log + surface RuntimeErrors from witness chat too (still 503 for those)

    Verified signature
    a5ce744
  10. Surface witness chat failures with traceback + error class in 500 detail

    Verified signature
    5b4e454
  11. Add the 4 map layer PNGs missing from the initial Docker-era ship (ship_space.sh excluded data/*.png)

    Verified signature
    46e31a7
  12. Move .to('cuda') inside @spaces.GPU; background thread keeps model on CPU to avoid emulation bypass

    Verified signature
    5a8fab5
  13. Shim is_torch_fx_available so MiniCPM trust_remote_code import works on transformers >= 5.0

    Verified signature
    90e360d
  14. Use canonical .to('cuda') pattern + progress logs so container log shows what loader is doing

    Verified signature
    031ce2d
  15. Surface zerogpu backend load_error / load detail in setup status

    Verified signature
    47c194f
  16. Eagerly import zerogpu_backend on Spaces so @spaces.GPU is registered before startup scan

    Verified signature
    50761af
  17. Force demo.launch to bind 0.0.0.0:$PORT on HF Spaces (CLI hot-reload ignores GRADIO_SERVER_NAME)

    Verified signature
    4f670ea
  18. Load model in background thread so health/status endpoints don't block on 16GB download

    Verified signature
    fbd952d
  19. Expose `demo` at module scope so Gradio SDK runner can launch the gr.Server app

    Verified signature
    5cb944e
  20. Default provider to zerogpu_transformers on HF Spaces; drop bogus README env block

    Verified signature
    e9ef2b5
  21. Gate setup/llama subprocess paths behind provider check; allow zerogpu_transformers

    Verified signature
    50a467b
  22. Load model on cuda at module level (canonical ZeroGPU pattern)

    Verified signature
    a475083
  23. Refactor: Docker+llama.cpp -> Gradio SDK + ZeroGPU transformers backend

    Verified signature
    7036a02
  24. Fix port collision: scope PORT env to llama.cpp subprocess

    Verified signature
    16501bb
  25. Add Space README

    Verified signature
    135a74d
  26. Ship Phantom Grid Docker Space

    Verified signature
    d2e6f94
  27. initial commit

    Verified signature
    1561677