Spaces:
Paused
Paused
Commit History
-
Optional VLESS egress via xray
Verified signature69ca7fb -
Replace with ele-test image
Verified signature4095c85
-
fix(docker): make uv run offline at startup (--frozen) to stop APP_STARTING hang
jiayi.xie +1: Claude Opus 4.8 (1M context)Without --frozen the container CMD `uv run uvicorn` re-resolves the lockfile against the network on every cold boot; on HF's egress that wedges before uvicorn binds, so new builds sit forever in APP_STARTING while the previous container keeps serving. --frozen --no-dev keeps startup fully offline. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>96dd572
-
Make blocking threadpool size configurable to lift image concurrency
jiayi.xie +1: Claude Opus 4.8 (1M context)All blocking endpoints (image gen, text, content filter) run via run_in_threadpool on anyio's default thread limiter, capped at 40. That 40 was the hard ceiling on simultaneous in-flight image generations regardless of how many accounts (each accounts x image_account_concurrency slot) the pool had. Add config.blocking_threadpool_size (env BLOCKING_THREADPOOL_SIZE or config.json, floor 40 / ceil 2048) and raise the limiter in the app lifespan so it takes effect inside the event loop. Image gen is I/O-bound, so a few hundred threads cost little on modest hardware; the real ceiling then becomes accounts x concurrency and upstream rate limits rather than the runtime. Bake BLOCKING_THREADPOOL_SIZE=128 into the Space image as the default; override via a Space Variable. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>a33013a
-
Deploy chatgpt2api to HF Space (port 7860)
jiayi.xie99a7ebb