Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Community: config-driven Lens-Base LoRA trainer (flow-match, Comfy export) — working on 16GB

オープン
#12 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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)

Environment

  • Lens installed from vendor/Lens (git clone; upstream has no pyproject.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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/Lens のほかの issue

microsoft/Lens の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。