Skip to content
Other

Lumen Sky

LiteRT модель для сегментации неба на мобильных устройствах

2 min readupdated

Модель основана на архитектуре U²-Net и предназначена для точного выделения неба на фотографиях прямо на смартфонах. Вес файла составляет 88 МБ, используются 16-битные веса с плавающей запятой для быстрой работы на мобильном железе. Она выдает покадровую маску вероятности для каждого пикселя, что позволяет использовать ее в мобильных фоторедакторах и приложениях для автоматической замены фона. Разработка пригодится разработчикам мобильного софта, которым требуется эффективное определение неба без тяжелых серверных вычислений.

Ключевые особенности

  • Архитектура U²-Net: специализированная нейросеть для выделения объектов и сегментации изображений.
  • Формат LiteRT (TFLite): оптимизирована для запуска на мобильных процессорах и графических чипах.
  • Высокая скорость: обработка занимает около 99 мс на GPU класса Snapdragon 7 Gen 1 и 1.1 с на 4 потоках CPU.
  • Компактный размер: файл весит 88 МБ и содержит встроенную нормализацию ImageNet.

Что можно сделать

  • Интеграция в фоторедактор: встроить модель в мобильное приложение для быстрого выделения и замены неба на снимках.
  • Автоматическая цветокоррекция: использовать маску неба для отдельной обработки неба и основного ландшафта.
  • Создание фильтров: разработать эффекты погоды или градиентные заливки, применяемые только к небу на фото.

Пример

Входное изображение подается в формате 1×320×320×3 RGB (значения 0–255), а на выходе модель возвращает тензор размером 1×320×320×1 с вероятностью того, что конкретный пиксель является небом (от 0 до 1).

ПодробнееФормат и размер: sky.tflite, 88 МБ, 16-bit float веса.
Входные данные: 1×320×320×3 float32 RGB.
Выходные данные: 1×320×320×1 float32 (вероятность пикселя неба).
Производительность: 99 мс на Snapdragon 7 Gen 1 GPU, 1.1 с на 4 CPU потоках.
Лицензия: MIT для весов.
Discuss Telegram 0 41

Will it run?

Working out the memory needs

The bot is still collecting this model's weight sizes; the estimate will appear here in a few minutes. Meanwhile you can rent a GPU with headroom.

Massed ComputeOpen Massed Compute

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # subhashhhhhh/lumen-sky
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download subhashhhhhh/lumen-sky --local-dir ~/models/lumen-sky
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to lumen-sky
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b42from December 2, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of lumen-sky (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

subhashhhhhh/lumen-sky
Author
subhashhhhhh
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

410

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments

Other

PIN

PIN