Community: config-driven Lens-Base LoRA trainer (flow-match, Comfy export) — working on 16GB
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- python
調査の方向性
Start with the linked LoboForge-LensTrainer repository, especially train.py, configs/train_lora_lens_base_24gb.yaml, and the Sebastian/Jessica v2 writeup. The issue demonstrates an external config-driven LoRA workflow but does not identify an in-repository change or acceptance criteria, so a maintainer must first decide whether any integration, documentation, or follow-up is wanted.
索引モデルが issue の本文から書いたものです。
説明
Hi Lens team,
We've built and validated a standalone LoRA trainer for microsoft/Lens-Base and wanted to share it in case it's useful to the community or future official tooling.
Trainer repo: https://github.com/LoboForge/LoboForge-LensTrainer
Hugging Face Space: https://huggingface.co/spaces/LoboForge/LoboForge-LensTrainer
HF collection: https://huggingface.co/collections/LoboForge/lens-training-loboforge
What works today
- Config-driven training:
python train.py configs/train_lora_lens_base_24gb.yaml - Flow-match loss aligned with
LensPipeline(latents[B, H×W, 128], GPT-OSS multi-layer text,timestep/1000) - PEFT LoRA on
LensTransformer2DModel; TE/VAE frozen - ComfyUI-compatible export (
diffusion_model.*key remap) - 24GB preset: CPU offload, TE + latent cache,
disable_mxfp4, grad checkpointing, AdamW 8-bit - Checkpoint resume, mid-training samples,
loss.json
Example result (community LoRA, not Microsoft-endorsed)
- Writeup: https://github.com/LoboForge/LoboForge-LensTrainer/blob/main/docs/loras/sebastian-jessica-v2.md
- Weights (HF): https://huggingface.co/LoboForge/lens-lora-sebastian-jessica-v2
Environment
- Lens installed from
vendor/Lens(git clone; upstream has nopyproject.toml) - Tested on consumer/datacenter GPUs with Lens-Base local or HF hub
We're not asking for an immediate merge — mainly flagging that Lens-Base LoRA training is practical with the public inference package, and happy to answer questions or share configs/logs if helpful.
Thanks for open-sourcing Lens!
- 主要言語
- Python
- スター
- 2
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/Lens のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 12/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
zach-blumenfeld/aip#13 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
nathanmarlor/foxess_modbus#1287 ·
メンテナーはふだん 4 日以内に返信
-
bug good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
OpenLakeForge/openlakeforge#498 ·
メンテナーはふだん 1 日以内に返信
-
good first issue hacktoberfest help wanted python
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
pollen-robotics/reachy_mini#1493 ·
メンテナーはふだん 1 日以内に返信