context-scaling / app.py

Commit History

Migrate DiT to dedicated Inference Endpoint (L40S, scale-to-zero)
17fb884

claude commited on

app.py: /api/vraminfo probes actual ZeroGPU VRAM slice
35b5e79

heheyas commited on

Pipeline: DiT resident on GPU + async job endpoints
4310f0c

heheyas commited on

app.py: add /api/envinfo for flash-attn wheel selection
0917b9e

heheyas commited on

app.py: bump @spaces.GPU duration 300s→900s
f269dfb

heheyas commited on

DiT: bypass diffusers entirely, use internal PSM pipeline byte-identically
7d5b077

heheyas commited on

Rebuild QwenEmbedRope pos/neg freqs on CPU after meta init
d8a894f

heheyas commited on

Attach cache_context no-op to internal transformer
d44e2a2

heheyas commited on

PE: SSE streaming (/api/generate_sp/stream) + SPA live token render
c425f49

heheyas commited on

Attach .dtype/.device properties to internal transformer
594a2e0

heheyas commited on

Swap diffusers' transformer for internal modeling.qwenimage impl
1d50da1

heheyas commited on

DiT: compact-single-quote SP normalization on the Space side too
b4dc72d

heheyas commited on

DiT: only overlay dit_model.*, skip text_encoder (matches EvalKit)
170a63b

heheyas commited on

PE input_template: '<prompt>' (raw), drop [width/height] suffix
8504cc2

heheyas commited on

PE JSON extractor: split duplicate-id dicts + json_repair fallback
3d002a9

heheyas commited on

Space /api/generate_sp: retry-with-backoff on endpoint 503 (cold start)
db7ff81

heheyas commited on

Align PE inference with EvalKit serve_and_eval defaults
cf7eda6

heheyas commited on

Overlay SP-fine-tuned DiT + text-encoder onto base Qwen-Image
468febe

heheyas commited on

Wire /api/generate_sp to HF Inference Endpoint (vLLM+Qwen3.5-35B-A3B)
b9749da

heheyas commited on

Prepend a Route('/') instead of middleware (fastapi frozen post-launch)
859009e

heheyas commited on

Drop show_api (gradio 6 removed it)
d1709b7

heheyas commited on

Let Gradio be primary launcher; attach fastapi routes to demo.app
8e55230

heheyas commited on

Revert to sdk: gradio, mount fastapi via ssr_mode=False
f7e4066

heheyas commited on

Switch to sdk: docker (Gradio SDK monkey-patches uvicorn.run)
95df090

heheyas commited on

Add hidden gradio.Blocks so HF ZeroGPU detects @spaces.GPU
bc635d1

heheyas commited on

Switch to FastAPI + SPA + diffusers DiT
b5f60e1

heheyas commited on

PE model smoke test: vLLM FP8 + @spaces.GPU
2a4376a

heheyas commited on

initial commit
f9e5831
verified

heheyas commited on