Skip to content

LocalSR v0.6.0-beta

Choose a tag to compare

@HerRei HerRei released this 24 Nov 17:34

LocalSR v0.6.0-beta

Which file do I need?

Download one file for your computer; it is all you need. The Mac version includes everything. On Windows and Linux, LocalSR checks your graphics card when it first starts and offers the faster engine for it (NVIDIA CUDA, DirectML for AMD and Intel graphics on Windows, AMD ROCm on Linux), then downloads and installs that engine itself.

Computer Download
Mac (M1 or newer) LocalSR-v0.6.0-beta-macOS-arm64.dmg
Windows LocalSR-v0.6.0-beta-Windows-CPU-x86_64.exe
Linux LocalSR-v0.6.0-beta-Linux-CPU-x86_64.AppImage, or LocalSR-v0.6.0-beta-Linux-CPU-amd64.deb on Ubuntu and Debian

Offline and advanced downloads

Only for a computer without internet access, or to install the GPU edition in one go. Everyone else can skip this.

Computer Download
Windows, AMD or Intel graphics LocalSR-v0.6.0-beta-Windows-DirectML-x86_64.exe
Windows, NVIDIA LocalSR-v0.6.0-beta-Windows-CUDA-x86_64.exe and all LocalSR-v0.6.0-beta-Windows-CUDA-x86_64.engine.tar.gz.part-* files in the same folder
Linux, AMD all LocalSR-v0.6.0-beta-Linux-ROCm-x86_64.AppImage.part-* files, joined
Linux, NVIDIA all LocalSR-v0.6.0-beta-Linux-CUDA-x86_64.AppImage.part-* files, joined

To import an engine offline, download the *.engine-payload.json manifest, its .engine.tar.gz.part-* files and their .sig signature files into one folder, then open Advanced -> Engine -> Change… -> Import engine from file… and choose the *.engine-payload.json file.

What are all the other files?

  • *.engine-payload.json, *.engine-update.json and *.engine.tar.gz.part-*: the GPU engines that the app downloads by itself.
  • *.app.tar.gz and *.sig: update files and their signatures, which the app checks before it installs an update.
  • *.sha256 and SHA256SUMS: checksums to check a download by hand.
  • *source-and-notices.tar.gz: the source code and licence notices for each package.

What changed

The largest LocalSR release so far. Quick for photos now runs on LocalSR's own model,
trained only on public-domain photos. Video gets FlashVSR, a new de-flicker engine and
colour. Upscaling and restoring are one task, every app-wide choice sits in one Settings
window, and a new install starts with a privacy page that says what is sent and why.

LocalSR's own models

Two x4 photo upscalers by Hermes Reisner, LocalSR Photo S and LocalSR Photo M
(4xLocalSRPhoto_PULSE-64x8 and 4xLocalSRPhoto_PULSE-96x12, weights CC BY 4.0). Both are
trained only on public-domain (CC0) photos and run fully on the Neural Engine.

  • Photo S is the new Quick for photos. On a sealed test set of 99 photos it beats the
    SPAN model it replaces on every measure, at the same speed.
  • Photo M is the fast alternative to Best. It shows no clear difference in detail from
    NomosWebPhoto, keeps 2.6 dB more fidelity and runs about four times as fast (27 s
    instead of 99 s for a 12 MP photo on an M1 Pro). Best stays NomosWebPhoto; Photo M is
    in the model library.
  • The models, their numbers and the technical report are at
    github.com/HerRei/localsr-models.

Photos

  • Upscale & restore. Restore is no longer a separate task. The Size row (Same size,
    2×, 3×, 4×) decides whether the picture gets bigger, and the Fix chips (Noise, Blur,
    JPEG artifacts, Colour) work at any size. Quick and Best choose the fix models too: a
    fast one or the most careful one. Saved recipes and settings keep working.
  • Illustration Best. Best for illustrations now uses ESRGAN ×4 HFA2k, which keeps flat
    colours, white backgrounds, QR codes and fine lines. RealPLKSR HFA2k stays in the model
    library (#122).
  • Your own models. Own checkpoints get a name you can change and their own group in
    the model picker. A .pth, .pt or .ckpt file is confirmed once per file, not per job.
    NERVE and HEART checkpoints load too (#146, #154).

Video

  • FlashVSR v1.1 · Labs. A one-step diffusion video upscaler for Apple silicon Macs
    with 16 GB or more (MLX), AMD ROCm on Linux and NVIDIA CUDA on Linux and Windows with
    12 GB or more VRAM. It works on 37 frames at a time with 8 frames of run-up, splits
    large frames into tiles sized to the available memory and follows the output size you
    choose (up to 4× directly, larger sizes are resized). The weights (6.4 GB, Apache-2.0)
    download on first use. CUDA has not been run on NVIDIA hardware yet.
  • De-flicker. A new engine for every frame-by-frame model. It evens out brightness
    flicker in the original and the shimmer that upscaling adds in still areas, decided
    from the original, so motion, cuts and real light changes pass through. It removes
    more shimmer than before at about 40 ms per frame. Still off by default.
  • Colour for video. Black-and-white videos can be coloured with the Colour fix, at
    any size. Colours are carried from frame to frame, so they stay steady. A video that
    already has colour skips the step (#164).
  • Video models in the model list. SeedVR2 and FlashVSR are chosen like any other
    model, with quality and speed ratings. A "?" explains frame by frame against several
    frames at once, and models that cannot run on this computer say why.
  • Heavy video jobs. Frame interpolation after upscaling needs about half the graphics
    memory. When a frame pair still does not fit, the other models wait in system memory,
    so very large videos stay on the GPU; only as a last resort does it run on the CPU, and
    the result says so. Running out of graphics memory reads as a plain sentence with what
    to change.

Stopping, comparing, progress

  • Stopping a job. Cancel asks whether to keep the finished part or discard it, and
    Settings can make that choice permanent. A video keeps its finished frames, a photo its
    finished tiles with the rest left as in the original, also in a queue. Kept parts are
    marked Unfinished and appear in Outputs; a photo shows its finished tiles on hover.
  • Compare. Choose which side's audio plays and step frame by frame. Each side lists
    how it was made: models and fixes in order, scale, size, time, device and date (#145).
    An unfinished video is compared over its kept frames only.
  • Progress. The status line names the step that runs (for example Adding colour or
    De-flickering, with a count), downloads share one progress bar, and Saving the result
    appears only while the file is written. Interpolation can be moved before or after
    upscaling from the plan list.

The app

  • First launch. A two-page setup. First privacy: update checks, the anonymous count
    and crash reports, each with a plain explanation and a link to
    what LocalSR sends and why. Then the look of
    the app, the menu bar or tray icon and a sound when a file finishes. Nothing is sent
    before Done.
  • Settings. One Settings window (⌘, on a Mac; File > Settings… elsewhere) holds every
    app-wide choice: appearance, default hardware, low priority, notifications and sound,
    the menu bar icon, the model folder, caches, External FFmpeg, updates and crash
    reports. Advanced chooses the hardware and low priority for this session only. After a
    GPU failure, Retry on CPU runs that job on the CPU without changing the default.
  • High contrast. Stronger text, borders and focus outlines in the dark and the light
    theme. It also turns on when the computer asks for more contrast.
  • Viewer background. Checkerboard, black, neutral grey or white, in Settings or from
    the swatch beside the zoom controls. Preview, Compare and video use it.
  • Menu bar. An icon in the menu bar or system tray shows what is running, how many
    files wait and the progress, with Pause and Resume and a notification for each finished
    file. On a Mac it can be monochrome or in colour (#112).
  • Cache. Settings show the size of the compiled model caches with Clear cache, which
    asks first; unused entries are removed automatically unless you turn that off (#126).

Install and updates

  • Updates from 0.4.0 and 0.5.0. They refused the update to 0.5.2 ("unknown field
    arch"). The update files are again in a form they read, an engine they installed is
    taken over, and every release is now checked against the updaters of older releases
    before it ships.
  • Debian package. The CPU edition for Ubuntu 22.04+ and Debian 12+ as a .deb that
    apt installs into the applications menu and removes with apt remove. It reports new
    versions instead of updating itself and downloads the CUDA or ROCm engine inside the
    app. The AppImage stays (#165).
  • Windows installer. Offers Just me (default, no administrator rights) or Everyone on
    this computer.
  • GPU engines. Program files are checked at every start, a reinstall keeps the working
    copy until the new one has started, and linked engine folders are refused (#159).
  • Settings from a newer version. LocalSR keeps the file untouched, runs with defaults
    and says so, and an update to that newer version is no longer blocked (#123).

Fixes

  • Comparing videos no longer stutters, stops where an unfinished part ends and keeps its
    position and audio choice when you switch between Slider and Boxes.
  • The live preview of Colour plus upscaling stays in colour.
  • Stopping a large photo with "keep the finished part" gives it the time to save instead
    of restarting the engine after a few seconds.
  • LocalSR's own OpenCV now includes optical flow, which de-flicker and video colour need.
  • The video encoder is always flushed before it closes (#115). Release files can be
    attached to a draft release, and signing needs less disk space (#114).

Known limitation

While a comparison of two videos plays in the Mac app, the two sides can be a few frames
apart; paused and stepped frames always match. A frame-exact fix is planned for 0.6.1
(#176).