Skip to content
View hiroki-abe-58's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report hiroki-abe-58

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
hiroki-abe-58/README.md

Snow-covered mountain ridges above a sea of clouds at sunrise

GeneLab · Hiroki Abe

Generative AI, in Japanese, on your own machine.

AI engineer and technical consultant in Tokyo. I build local AI tools, train small Japanese language models, and turn research implementations into usable software for Windows, Linux and Apple Silicon. My ComfyUI integrations are linked from the official READMEs of LongLive-Plug (NVlabs), SparkDiffusion (AlibabaResearch), LeapTalk, Causal Forcing and Looped-DiT.

日本語 · 简体中文 · Hugging Face · Zenn · X

Recent releases

Looking Ahead — image-and-text-to-video in ComfyUI

Looking Ahead integrates the 1.3B Future Chunk Prediction model with ComfyUI's existing umT5-XXL and Wan VAE, standard VIDEO / IMAGE / LATENT outputs, cancellation and model unloading. Tested on Windows / RTX 5090 at the default 768×432, 16 fps, five seconds. The sampler matches upstream bit for bit with aligned inputs; end-to-end video outputs differ.

Windows inference fixes were also merged upstream: SDPA fallback when FlashAttention 4 cannot import, and direct model loading without fcntl.

audio.cpp — long-form multilingual speech and ComfyUI integration

11 PRs merged into audio.cpp as of October 24, 2026. Improved long-text handling across seven TTS families—Ming 3.0, Kokoro, MOSS-TTS-Nano, Irodori, FireRedTTS3, MagpieTTS and MioTTS—to reduce dropped or garbled speech in Japanese, Chinese and Korean. Also fixed shared chunking for punctuation-free CJK text. Ming now receives CLI/server language settings and preserves the designed voice across long-text chunks.

The first Server, Doctor and Text to Speech nodes for ComfyUI-AudioCPP were also merged upstream. They connect ComfyUI to a local audio.cpp server and return standard AUDIO, with optional reference audio for voice cloning.

New ComfyUI tools — segmentation, audio and 3D

  • XiaomiLens: text-driven instance segmentation with full-resolution masks and boxes. My SDPA fallback fix was merged upstream, reducing mask-decoder memory use when flash-attn is unavailable.
  • DBS · VoxLock · MimeticA0: separate music, effects and dialogue; isolate a target speaker; generate 48 kHz stereo music from text.
  • S2Tok · EmbeddingGemma2 · SyncReward: reconstruct static scenes as 3D Gaussians, compare text/image/video/audio embeddings, and score audio–video alignment.

sokudan — Japanese decisions without text generation

A 314.6M-parameter ModernBERT-ja model that returns typed choice, score and bool answers with probabilities in one forward pass. Includes an HTTP server, a TypeScript SDK and a CLI; inference uses MLX on supported Apple Silicon Macs or PyTorch on CUDA / CPU.

v0.3.0 is available through five channels: PyPI · npm · Homebrew tap · Scoop bucket · GHCR.

The npm package combines a CLI wrapper and a typed HTTP SDK. Homebrew and Scoop install launchers; the container targets Linux amd64 CPU. CI covers installation, SDK/server integration and container model inference. Installation guide · Model weights

ComfyUI-JoyAI-Video-Edit — edit video with text instructions

An unofficial integration of JoyAI-Video-Edit, with a persistent WSL2 worker, model load/unload controls, cancellation and memory guards. v0.1.0 pre-release, tested on Windows 11 with an RTX 5090: 840×480 landscape output, two inference steps, up to 600 input frames.

Validation compares against a reference with the same low-memory placement patches; an unmodified upstream end-to-end run was resource-blocked. Production outputs are not bitwise repeatable. Setup and validation scope

Projects

I publish code, setup instructions and measured results together. Hardware, inputs, upstream differences and untested paths are documented in each project's README. ComfyUI integrations are community projects; upstream code and weights retain their own licenses.

Japanese language models · from scratch

1LM → 2LM → 3LM explores character tokenization, subwords and modern decoder architectures on a single machine. Base models are trained from scratch; GAL variants study the trade-off between persona fine-tuning and general ability.

Series Focus Repositories
1LM · 11.5M Character-level mini-GPT MLX · Blackwell
2LM · 13.81M SentencePiece, dialogue data and fixed evaluation MLX · Blackwell
3LM · 35.66M RoPE, RMSNorm, SwiGLU and overnight pretraining MLX · Weights
GAL variants Persona data, fine-tuning and regression measurement 2LM MLX · 2LM Blackwell · 3LM MLX · Weights

Speech

Project What it provides
Qwen3-TTS-JP Windows-native TTS, voice design and cloning; multilingual Web UI and Whisper transcription.
Qwen3-TTS-Mac-GeneLab Apple Silicon TTS with MLX / PyTorch, quantization and voice cloning.
Style-BERT-VITS2-GeneLab-Blackwell Windows-native Blackwell support, with CPU/GPU fallback.

ComfyUI · video, images, audio and 3D

21 node packs published on the ComfyUI Registry as of October 20, 2026, under hiroki-abe-58. Selected projects below cover generation, editing, analysis and 3D reconstruction.

The Upstream column distinguishes merged code fixes, README listings and the projects an integration is based on.

Area Projects Focus Upstream
Autoregressive image-to-video Looking Ahead 1.3B Future Chunk Prediction, rolling KV cache and native ComfyUI Wan encoders; sampler parity verified against upstream. Code fixes merged: Looking-Ahead #2
Multilingual speech Ming 3.0 TTS Native 0.5B / Tiny 9B inference, voice design/cloning, INT8 options and multi-speaker dialogue with Tiny.
Proxy-video rendering EdenLive 5B Reference video, first frame and prompt to 1280×704 / 24 fps output via LightX2V; tested on Windows / RTX 5090.
Local TTS server ComfyUI-AudioCPP Server configuration, health/model diagnostics and TTS with optional reference audio. Merged: ComfyUI-AudioCPP #2
Segmentation XiaomiLens Text-guided instance masks and boxes at the original image resolution. Merged code fix: Xiaomi-Lens-0 #3
Audio separation DBS · VoxLock Music/effects/dialogue separation and target-speaker extraction.
Multimodal embeddings EmbeddingGemma2 Text, images, video and audio in a shared embedding space; similarity and selection.
Streaming video DuoMatching · SGFPlus Framewise distilled generation and autoregressive video with a rolling cache.
3D reconstruction S2Tok Video frames to static-scene 3D Gaussians; standard SPLAT output.
Audio–video evaluation SyncReward Alignment scoring and candidate selection; 1,000-clip benchmark reproduction.
Turkish speech EMALightning · Antalia 48 kHz Turkish TTS with text normalization; word timestamps with EMA Lightning.
Speech & singing SemBridge Chinese/English speech, score-driven singing and mixed audio; standard AUDIO output. Merged reproducibility fix: SemBridge #2
Expressive speech drama3-small Japanese/English voice generation and cloning, delivery control and long-text generation. Based on pentaCoxian/ComfyUI-drama3-small
Image editing EditUtils Multi-model editing utilities, including Qwen-Image 2.1, FLUX.3 Klein layout editing and alpha cleanup. Based on lrzjason/ComfyUI-EditUtils
Layout interoperability FLUX 3 LayoutKit Coordinate conversion, strict layout-table validation and previews for FLUX 3 Image Klein.
Video editing JoyAI-Video-Edit Instruction-based editing with a persistent worker.
Fast video SparkDiffusion · LongLive-Plug Sparse attention, few-step sampling and adapter/scheduler verification. Merged: SparkDiffusion #17 · LongLive #107
Video attention MonarchRT Monarch-matrix attention vs. a same-weight dense baseline.
Causal video CausalForcing · NVIDIA-CMD Autoregressive generation, image-to-video and long rollouts. Featured in the Causal Forcing News
Talking heads LeapTalk · TBDub Speech-driven portraits and video redubbing. Merged: LeapTalk #6
Image generation LoopedDiT · ScaleRAE Pixel-space diffusion with LoopedDiT; WebSSL-based text-to-image generation with ScaleRAE. Merged README listing: Looped-DiT #3
Image restoration PixRestore · MiRipple One-step restoration and verified local artifact repair.
Music AceMusic · MimeticA0 ACE-Step song generation/editing and 48 kHz stereo text-to-music with mimetic-a0.
Windows setup Win-Blackwell ComfyUI installation and tested workflows for RTX 50-series GPUs.

Web, desktop & developer tools

Project What it provides
gassan A React UI library for SaaS: native <dialog> modals, form controls, toasts, a command palette and page templates, with CJK-aware line breaking, accessibility behavior and documentation in six languages.
lensing Dependency-free JavaScript/CSS glass refraction effects using signed distance fields and Snell's law.
MermGraph A Tauri Mermaid editor with live preview and PNG/SVG export.
VMagic Tauri video conversion with FFmpeg, RIFE frame interpolation and Real-ESRGAN upscaling.
aitxt A Go CLI for text processing and developer workflows through OpenAI, Anthropic and Gemini APIs.
RustConv / dtx A Rust CLI for converting, querying, validating and merging structured data.
imgai · ghstat Go CLIs for batch image/EXIF processing and GitHub statistics.

Stack

Languages & scripting

Python TypeScript JavaScript Go Rust HTML CSS Shell PowerShell

AI & model runtimes

PyTorch MLX Transformers Diffusers ComfyUI Gradio CUDA Triton

Web & desktop

React Vite Tailwind CSS Tauri Node.js Deno Hono FastAPI

Build, delivery & platforms

Docker Docker Compose Git GitHub Actions GHCR PyPI npm Homebrew Scoop

More libraries, APIs and development tools

Model tooling

HF Hub Datasets Tokenizers Safetensors Accelerate SentencePiece OpenCLIP SageAttention MLX Audio Whisper

Scientific computing & media

NumPy SciPy scikit-learn Matplotlib OpenCV Pillow scikit-image timm torchaudio librosa SoundFile ONNX Runtime FFmpeg VideoToolbox Real-ESRGAN RIFE

UI, graphics & services

PostCSS Zustand React Flow Mermaid Monaco Editor PixiJS GSAP SVG Puppeteer Uvicorn Pydantic HTTPX

CLI, APIs & native code

Cobra Clap Tokio Serde OpenAI API Anthropic API Gemini API

Testing & packaging

pytest Ruff Vitest Testing Library ESLint tsup esbuild uv Hatchling GitHub Pages

Operating systems

Windows WSL2 Linux Ubuntu macOS

Built across my ML projects, React libraries, desktop apps, web tooling and Go CLIs. Docker Compose is also part of my everyday workflow. Main hardware: RTX 5090 (Blackwell) and Apple Silicon. Badges without a brand logo use a generic code icon.

Open-source contributions

Looking Ahead · Windows inference

#2 fixes FlashAttention 4 import failures, routes cross-attention through the SDPA fallback and loads models directly when fcntl is unavailable. The upstream 1.3B example completed on Windows 11 / RTX 5090: 80 frames at 768×432, with 16.4 GiB peak allocated memory. The existing FA4 path retained bit-identical decoded frames in the comparison test; SDPA outputs differ numerically.

audio.cpp · 11 merged PRs (October 24, 2026)

  • Unpunctuated CJK text: #1045 splits over-budget runs of hanzi, kana and Hangul into balanced chunks, preventing punctuation-free ASR/OCR text from bypassing the chunk limit. Verified on MagpieTTS, FireRedTTS3 and MOSS-TTS-Nano; punctuated regression cases stayed byte-identical.
  • Long-text synthesis across seven model families: language-aware defaults for Ming #1020, Kokoro #1022, MOSS-TTS-Nano #1025, Irodori #1027, FireRedTTS3 #1039, MagpieTTS #1043 / #1044 and MioTTS #1046. Magpie's follow-up uses 100 codepoints to avoid a mixed Chinese/English regression. Validation includes Windows / RTX 5090 synthesis, Whisper CER measurements and output comparisons where reproducible.
  • Ming language and voice consistency: #1021 forwards CLI/server language settings; #1034 splits voice-design/freeform text and reuses the first generated segment as the voice reference. On a 404-character Japanese voice-design test, mean CER fell from 0.913 to 0.043 over four seeds on the tested setup.
  • ComfyUI integration (separate repository): ComfyUI-AudioCPP #2 adds Server, Doctor and Text to Speech nodes. Validated through 21 real ComfyUI workflows; successful generated audio matched direct server requests sample for sample.

Inference fixes merged upstream

  • Xiaomi-Lens-0: Use SDPA when flash-attn is unavailable, avoiding quadratic attention-weight allocations in the mask decoder. On Windows / RTX 5090, added peak VRAM for a 3 MP mask pass fell from 18.02 GB to 2.28 GB; tokens and boxes stayed the same, with small mask-edge differences.
  • SemBridge: Remove TorchScript from the codec's Snake activation to fix audio changing between the first generation after loading and later calls with the same request and seed. Verified repeated outputs on the tested setup.

LLM inference & reproducibility

Image and video generation

  • DMAD (distillation for fast image and video generation): made --low-vram work on Windows, merged and credited in the README News.
  • SparkDiffusion, LongLive, LeapTalk and Looped-DiT: README entries for my ComfyUI integrations, merged (see the ComfyUI table above).
  • Mi-Ripple: OpenCV runtime handling (open), found while validating the ComfyUI integration.

Decision models

Reproducible checks for answer-order sensitivity:

Research

DiM-2 explores Mamba-2 / Structured State Space Duality for image and video diffusion. These preprints present architectural proposals and experimental directions; implementation results are reported separately in the OSS repositories above.

Related DiM-2 / SSD preprints
Preprint Direction
SSD-CM Few-step consistency distillation
SSD-Control Depth, pose and edge conditioning
SSD-Portrait Audio-driven portraits and lip synchronization
SSD-SR Image and video super-resolution
SSD-Flow Flow matching with Mamba-2
SSD-Edit Instruction-guided image and video editing

Writing & support

I write about implementation and experiments in Japanese and English.

Zenn · Qiita · note · Medium · dev.to · X

If these tools save you time, a coffee helps me maintain them.

GitHub activity

GitHub profile trophies

GitHub stats Most used languages

Popular repositories Loading

  1. Qwen3-TTS-JP Qwen3-TTS-JP Public

    Forked from QwenLM/Qwen3-TTS

    Japanese GUI + Whisper auto-transcription for Qwen3-TTS. RTX 5090 tested.

    Python 85 9

  2. ComfyUI-DBS ComfyUI-DBS Public

    Dynamic Band Splitting (DBS) for ComfyUI: separate a soundtrack into music, sound effects and speech; remove or keep the dialogue of a video. Same output as the official package.

    Python 46 5

  3. ComfyUI-AceMusic ComfyUI-AceMusic Public

    Python 43 5

  4. ComfyUI-Win-Blackwell ComfyUI-Win-Blackwell Public

    PowerShell 39 4

  5. Qwen3-TTS-Mac-GeneLab Qwen3-TTS-Mac-GeneLab Public

    Python 27 3

  6. ComfyUI-PixRestore ComfyUI-PixRestore Public

    PixRestore-S one-step image restoration for ComfyUI (512x512, official path reproduced bit-exactly in eager mode)

    Python 9