Spaces:
Sleeping
Sleeping
FlashImgs ZeroGPU Space: Gradio SDK, AGPL-3.0 wrapper, vendored sm_120 wheels
Browse filesFiles changed (6)
11 unmodified lines12131415161718192021222311 unmodified linesThis Space vendors prebuilt wheels of the FlashImgs library under wheels/:flashimgs (built from https://github.com/OpsiClear/flashimgs,commit 11d4d3b)simple_sum_backend (CUDA rasterizer backend)fussim (fused-SSIM CUDA extension, OpsiClear fork)The CUDA-extension wheels (fussim, simple_sum_backend) are compiled for CPython3.12, torch 2.11.0+cu128 (CUDA 12.8), and NVIDIA Blackwell sm_120.FlashImgs and simple_sum_backend are distributed under the OpsiClear RestrictiveLicense — non-commercial use only, no derivatives, and no redistribution. The11 unmodified lines12131415161718192021222311 unmodified linesThis Space vendors prebuilt wheels of the FlashImgs library under wheels/:flashimgs (built from https://github.com/OpsiClear/flashimgs,commit 11d4d3b plus local working-tree changes)simple_sum_backend (CUDA rasterizer backend)fussim (fused-SSIM CUDA extension, OpsiClear fork)The CUDA-extension wheels (fussim, simple_sum_backend) are compiled for CPython3.12, torch 2.11.0+cu130 (CUDA 13.0), and NVIDIA Blackwell sm_120.FlashImgs and simple_sum_backend are distributed under the OpsiClear RestrictiveLicense — non-commercial use only, no derivatives, and no redistribution. The
71 unmodified lines7273747576777879808182838485868788899071 unmodified linesbuild-time CUDA toolchain, so FlashImgs and its CUDA backends cannot be compiledon the Space. Instead, prebuilt wheels are vendored under [`wheels/`](wheels):- `flashimgs` (pure Python, built from commit `11d4d3b`)- `fussim` and `simple_sum_backend` — CUDA extensions compiled for**CPython 3.12**, **torch 2.11.0+cu128 (CUDA 12.8)**, and **Blackwell `sm_120`**These match `torch==2.11.0+cu128` / `torchvision==0.26.0+cu128` pinned in`requirements.txt`, and `python_version: 3.12.12` in the front matter above.`cfgs/default.yaml` is included at the Space root because FlashImgs resolves itsdefault config relative to the working directory.To rebuild the wheels for a new FlashImgs revision (or a different torch / CUDAarch), build `fussim` and `simple_sum_backend` from the FlashImgs source with`TORCH_CUDA_ARCH_LIST=12.0+PTX` against the target torch, and rebuild the`flashimgs` wheel with full package discovery.## License71 unmodified lines7273747576777879808182838485868788899091929371 unmodified linesbuild-time CUDA toolchain, so FlashImgs and its CUDA backends cannot be compiledon the Space. Instead, prebuilt wheels are vendored under [`wheels/`](wheels):- `flashimgs` (pure Python, built from commit `11d4d3b` + local working-tree changes)- `fussim` and `simple_sum_backend` — CUDA extensions compiled for**CPython 3.12**, **torch 2.11.0+cu130 (CUDA 13.0)**, and **Blackwell `sm_120`**ZeroGPU pre-installs **torch 2.11.0 for CUDA 13.0**, so the wheels are built forcu130 and `requirements.txt` pins bare `torch==2.11.0` / `torchvision==0.26.0`(both resolve to the cu130 builds — a cu128 torchvision triggers`operator torchvision::nms does not exist`). `python_version: 3.12.12` is set inthe front matter above, and `cfgs/default.yaml` is included at the Space rootbecause FlashImgs resolves its default config relative to the working directory.To rebuild the wheels for a new FlashImgs revision (or a different torch / CUDAarch), build `fussim` and `simple_sum_backend` from the FlashImgs source with`TORCH_CUDA_ARCH_LIST=12.0+PTX` and `CUDA_HOME` pointing at the matching toolkit,against the target torch, and rebuild the `flashimgs` wheel with full packagediscovery.## License
1234567891011121314151617181920# FlashImgs ZeroGPU Space dependencies.## ZeroGPU validates the torch line and only accepts a BARE supported version# (2.11.0 / 2.10.0 / 2.9.1 / 2.8.0) — a "+cu128" local-version suffix is rejected.# We therefore pin bare versions and let the cu128 extra-index supply the CUDA# 12.8 builds: pip/uv sort "2.11.0+cu128" above plain "2.11.0", so the cu128# wheels (which the vendored extensions were compiled against) are selected.## The CUDA-extension wheels are built for CPython 3.12 + Blackwell sm_120, so the# Space must run on python_version 3.12 (set in README front matter). The wheels# are installed from this public Space's resolve URLs because Gradio Spaces run# `pip install -r requirements.txt` in a layer where the repo (and ./wheels) is# not yet mounted.## gradio + spaces are installed by the Space runtime; no need to pin them here.--extra-index-url https://download.pytorch.org/whl/cu128torch==2.11.0torchvision==0.26.012345678910111213141516171819# FlashImgs ZeroGPU Space dependencies.## ZeroGPU's base image pre-installs torch 2.11.0 built for CUDA 13.0 (cu130).# So everything here is CUDA 13.0:# - torch: already provided by ZeroGPU (the pin just selects the version).# - torchvision: NOT pre-installed; the bare pin pulls the cu130 build from# PyPI, which matches torch (a cu128 torchvision causes# "operator torchvision::nms does not exist").# - the vendored CUDA extensions are compiled against torch 2.11.0+cu130 for# CPython 3.12 + Blackwell sm_120, so DO NOT add a cu128 extra-index here.## The wheels are installed from this public Space's resolve URLs because Gradio# Spaces run `pip install -r requirements.txt` in a layer where the repo (and# ./wheels) is not yet mounted.## gradio + spaces are installed by the Space runtime; do not pin them here.torch==2.11.0torchvision==0.26.0
123version https://git-lfs.github.com/spec/v1oid sha256:4bb56af72d0d4eccae186933802be17c4af66a566d5c6bca96a561a6c9be425bsize 115508123version https://git-lfs.github.com/spec/v1oid sha256:7c14d42508eb252640e0a2f8973147b3b6263f3304581f26d0bd770161c358dasize 113445
123version https://git-lfs.github.com/spec/v1oid sha256:d2aa863d0aa2e8d9bb43c1a0920730580f0cbd28f0a3cb539062a8330442661dsize 3213051123version https://git-lfs.github.com/spec/v1oid sha256:fef6335615d74dc834c755ac2aa6a86c88ddaf1e1b5511653ae4e63538c274b7size 3199911
123version https://git-lfs.github.com/spec/v1oid sha256:30b7024ed2871b8ad25350851e10de11428e7b0d40191fcbcd2a12b1878faf3csize 688885123version https://git-lfs.github.com/spec/v1oid sha256:22fb753d45ff444227a4d70117760a05adb4dde3687f8c65ba3fb59cdaf6211fsize 648393
NOTICE+2-2
README.md+11-8
requirements.txt+12-13
wheels/flashimgs-0.1.0-py3-none-any.whl+2-2
wheels/fussim-0.3.14-cp312-cp312-linux_x86_64.whl+2-2
wheels/simple_sum_backend-0.1.0-cp312-cp312-linux_x86_64.whl+2-2