From bb813d83b6461a10d84996dbbbc39088dc952f37 Mon Sep 17 00:00:00 2001 From: behisob <210559401+behisob@users.noreply.github.com> Date: Sun, 29 Nov 2026 11:54:12 +0300 Subject: [PATCH] docs(profil): A100-SXM4-40GB on Colab (Linux): default row and 1344x768 community experiments - Table row: default runs via kur.sh + uret.sh (56 and 209 frames, 640x384, KAPI GECTI), driver/CUDA/OS, setup times and the kur.sh venv failure on Colab. - Community experiments: 1344x768 x 209 frames in one process in 370 s (Q8_0 DiT, text encoder on the GPU, flash-attn on, budget 1.0), and first+last frame at 1344x768 (124 and 192 frames) with an 8-clip chain on the real last frame. Labelled [measured]; quality settings unchanged. Co-Authored-By: Claude Opus 5.5 --- docs/KART_PROFILLERI.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/KART_PROFILLERI.md b/docs/KART_PROFILLERI.md index 77b5798..e3b476f 100644 --- a/docs/KART_PROFILLERI.md +++ b/docs/KART_PROFILLERI.md @@ -46,6 +46,7 @@ Her satır VideoTurko'yu çalıştırmış bir kart. Yalnız veri: kalite ayarla | RTX 2060 (desktop) | 7.5 | 6 GB (6144 MiB; 0 MiB in use before the runs) | release `sm_61` (v0.1.0 zip, installed by `kur.ps1` on 2026-11-22; contributor's repo commit `3d06d85`, before the change that makes the stock engine the default for non-Pascal cards), via `uret.ps1`; the stock engine was not tried on this card | none (defaults, two processes; `GGML_CUDA_CUBLAS_COMPUTE_TYPE=f32` set automatically by `uret.ps1`); the install root path contains a space (`VT-W-YOL-BOSLUK`) and every run worked | 209 frames, 640x384, 24 fps, seed 42, text-to-video only: with the sample prompt `docs/ornek_istem_R0.txt` peak 5623/6144 MiB, KAPI GECTI (noise 0.62, middle flow 2.78, N=0.031); with the contributor's own 307-word prompt peak 5605/6144 MiB, KAPI GECTI (0.53 / 1.06 / 0.026). RAM, sample-prompt run, sampled every 2 s by a separate PowerShell loop: `sd-cli` private memory peak 7869 MiB, working set peak 23410 MiB (includes the memory-mapped model files), free physical RAM down to 97 MiB of 31.8 GB, no out-of-memory error. 5-frame check: peak 4833 MiB | `uret.ps1` wall time: 209 fr sample prompt 1684 s (text encoder 24.5 s, sampling 1425 s = about 237 s per step, audio VAE 5.7 s, stage 1 1535 s, stage 2 VAE 103 s); 209 fr own prompt 1815 s (text encoder 132 s, sampling 1474 s, stage 2 VAE 87 s); 5-frame check 154 s. [guess] the long times may come from the release engine being built for `sm_61` (on an RTX 3060 12 GB and an RTX 4070 Laptop the stock engine was 2.3-3 times faster [user-reported, issue #24, issue #25]); not measured on this card | [user-reported, issue #30] contributor @MuhammedGUVEN108; driver 591.74, Windows 11 Pro (build 26300), PowerShell 5.1, 31.8 GB RAM; `kur.ps1 -Kuru` 0 errors, 2 warnings (`VT-W-GPU-DENENMEDI`, `VT-W-YOL-BOSLUK`); one run per prompt; the contributor looked at the contact sheet of the sample-prompt run and saw no black frames; runs made by Claude Code on the contributor's PC, logs kept locally, on request; we did not repeat it | | RTX 3060 Laptop (third unit, Linux container; same unit as PR #31) | 8.6 (`sm_86` builds) | 6 GB (6144 MiB physical, 5825 MiB CUDA usable) | two runs on the same card: (a) the VideoTurko engine with the repo patches (reported as 24 patches; `patches/SERIES.txt` lists 24) built for `sm_86`, via `uret.sh`, two stages; (b) stock stable-diffusion.cpp `master-1127-79dc7ca` built for `sm_86`, run outside `uret.sh` (a newer stock version than the pinned `master-1106-532d2c1`; how it was built is not stated) | (a): stage margin 512 MiB set through `SD_VRAM_MARGIN_MB` (the default 1 stopped the 209-frame run, see PR #31; the repo now has `VT_MARGIN_MB`), `minimax_h3_attn_chunk_budget=0.05`, `GGML_CUDA_CUBLAS_COMPUTE_TYPE=f32` (set automatically); both: 32B text encoder `qwen3vl_32b_minimax_h3-Q4_K_M.gguf` on the CPU, DiT `minimax_h3_fl2va_hyperflow_flash_14b-Q4_K_M.gguf`, 6 steps, cfg 1, `hyperflow-h3-flash-6`, seed 42 | (a) 209 frames text-to-video, 640x384, peak 5689 MiB, KAPI GECTI (noise 0.33, middle flow 0.13, N=0.025); (a) 141 frames `--init-img`, peak 5602 MiB, gate passed (0.20 / 0.09 / 0.013); (b) 209 frames text-to-video, peak 5595 MiB, gate passed (0.38 / 0.13 / 0.027), no tiled VAE | (a) 209 fr 278.51 s (stage 2 VAE 32.19 s); (a) 141 fr `--init-img` 227.34 s (stage 2 VAE 20.62 s); (b) 209 fr 240.18 s (VAE 30.37 s). One run each; the report says "total" and does not name the timer | [user-reported, issue #33] contributor @nklowns, 2026-11-25; driver 620.70.06, CUDA 12.8.1 container on Linux, 64 GB DDR5; GPU temperature 87.0-87.4 C; RAM peak not reported; the same runs and numbers as the PR #31 entry under Community experiments (one unit, counted once); in this one report the stock run was faster than the patched run (240 vs 278 s), one run each, cause not known; we did not repeat it | | RTX 5050 Laptop (Linux) | 12.0 (`sm_120` build) | 8 GB (8151 MiB; the engine reports 7707 MiB; 41 MiB in use before the runs, display on this card) | engine built on Linux with `scripts/derle_linux.sh` and the repo patches (stable-diffusion.cpp `32d516c`, CUDA Toolkit 13.3, GCC 15.2), via `uret.sh` | none for the 56-frame run; with the default margin of 1 MB, 141 frames stopped twice at the same place (stage 1, DiT step 1, `blocks.32`, `cudaMalloc failed: out of memory` for 206.72 MiB, `VT-E-VRAM` + `VT-E-LATENT`, peak 7669/7691 MiB); 209 frames with the defaults not tried; `f32` cuBLAS set automatically by `uret.sh`. The 141 and 209-frame runs that passed used `VT_MARGIN_MB=512`: see the RTX 5050 Laptop entry under Community experiments | 56 frames, 640x384, 24 fps, seed 42, default sample prompt, defaults, peak 7443 MiB, KAPI GECTI (noise 0.68, middle flow 3.46, N=0.030); no tiled-VAE fallback; lowest available RAM 8131 MiB (swap full in every run) | `uret.sh` wall time 56 fr 75.2 s (the 141 and 209-frame times are in the Community experiments entry) | [user-reported, PR #40, contributor @omeresa] driver 595.99.02, Ubuntu 26.04.1 LTS (kernel 7.0.0-44), 14 GiB RAM, 4 GiB swap; repo commit `04e0266`, 2026-11-28; same OS and driver as PR #31, which saw the same stage 1 failure and the same fix with 512 on an RTX 3060 Laptop 6 GB; system Python 3.14 has no wheel for the pinned `numpy==2.2.6`, gate `.venv` made with `uv venv --python 3.12 --seed`; one run per setting; runs at 141 and 209 made by Claude Code on the contributor's laptop, the contributor watched the 141 and 209-frame clips: no jumps or black frames; not measured by us, the maintainers did not repeat it; logs kept locally, on request | +| A100-SXM4-40GB (Colab, Linux) | 8.0 (`sm_80` build) | 40 GB (40960 MiB) | engine built on Linux with `scripts/derle_linux.sh` and the repo patches (stable-diffusion.cpp `32d516c`, CUDA 13.0, GCC 13.3), via `kur.sh` + `uret.sh` | none (defaults; `GGML_CUDA_CUBLAS_COMPUTE_TYPE=f32` set automatically by `uret.sh`); Google Colab, a shared and time-limited session (one session ended without warning after about 2 h 15 min) | 209 frames, 640x384, 24 fps, seed 42, default sample prompt `docs/ornek_istem_R0.txt`, two stages, peak 29506/40960 MiB, `KAPI GECTI` (noise 0.59, middle flow 2.68, N=0.030); 56 frames, one stage, peak 11250 MiB, `KAPI GECTI` (noise 0.67, middle flow 3.55, N=0.030); peaks from a separate `nvidia-smi` sampler (1 s) | `uret.sh` wall time including the gate: 56 fr 48 s, 209 fr 130 s | [measured] driver 580.82.07, `nvidia-smi` CUDA 13.0, nvcc 13.0, Ubuntu 24.04.4 LTS (kernel 6.6), Intel Xeon 2.20 GHz 12 vCPU, 83 GB RAM, Python 3.13.16, cmake 3.31.10, GCC 13.3.0; repo commit `04e0266`, 2026-11-28; one run per length. Setup: `derle_linux.sh` 836 s with `VT_BUILD_JOBS=12` set by hand (the script's own pick was 4); `./kur.sh` stopped at the venv step (`python3 -m venv` failed: `ensurepip --upgrade --default-pip` returned non-zero exit status 1), fixed by hand with `pip install virtualenv && python3 -m virtualenv /.venv`, then `./kur.sh --lisans-kabul E` (the license was read and accepted by the user) 338 s including the model download, sha256 check and the 5-frame check, READY; the same venv failure happened on a Colab L4 session the same day. Runs made by Claude Code; logs kept locally, on request | Open question / Açık soru: does the release `sm_61` engine work on RTX 50 with the v0.1.1 script (f32 on)? PR #29 and PR #32 ran the stock engine, not the release `sm_61` engine, so this question is still open. / Hazır `sm_61` motor RTX 50'de v0.1.1 betiğiyle (f32 açık) çalışıyor mu? PR #29 ve PR #32 stock motoru koştu, hazır `sm_61` motoru değil; bu soru hâlâ açık. @@ -98,3 +99,9 @@ Open question / Açık soru: does the release `sm_61` engine work on RTX 50 with - **Apple M4 iMac 16 GB — 124 frames, vertical 384x640, own prompt (Mode A)** [user-reported, PR #37, 2026-11-27; contributor @arasserhat01-cyber; not measured by us, the maintainers did not repeat it; not a supported VideoTurko profile; quality settings unchanged]: `scripts/mac_uret.sh 124 384 640` with `TAM_METAL=0` and `minimax_h3_attn_chunk_budget=0.03`, wrapped in `caffeinate -i`; same engine, models and machine as the Apple M4 (iMac) row. `generate_video` 1683.25 s (28 min 3 s; text encoder 116.48 s, sampling 1462.31 s, about 244 s per step, video + audio VAE decode 95.07 s); 10.24 GiB max RSS (10996842496 B) / 9.03 GiB peak footprint (9698895264 B); swap not recorded; no tiled-VAE fallback; `KAPI GECTI` (124 frames, noise 0.64, middle flow 1.81; the script warns that the gate thresholds are calibrated for 640x384, so these values are not comparable). Third-party files: the engine zip `sd-master-532d2c1-bin-Darwin-macOS-26.7.2-arm64.zip` from `https://github.com/leejet/stable-diffusion.cpp/releases/tag/master-1106-532d2c1` (MIT), the four model files from `scripts/modeller.json` (MiniMax H3 Community License, accepted on the contributor's install [user-reported, PR #37]), opencv-python-headless and numpy from PyPI (Apache-2.0 / BSD-3-Clause). - **Apple M4 iMac 16 GB — 124 kare, dikey 384x640, kendi istemi (Mod A)** [kullanıcı bildirdi, PR #37, 2026-11-27; katkıcı @arasserhat01-cyber; biz ölçmedik, bakımcılar tekrar etmedi; desteklenen bir VideoTurko profili değildir; kalite ayarları değişmedi]: `scripts/mac_uret.sh 124 384 640`, `TAM_METAL=0`, `minimax_h3_attn_chunk_budget=0.03`, `caffeinate -i` ile; motor, modeller ve makine Apple M4 (iMac) satırıyla aynı. `generate_video` 1683,25 sn (28 dk 3 sn; metin kodlayıcı 116,48 sn, örnekleme 1462,31 sn, adım başı yaklaşık 244 sn, video + ses VAE 95,07 sn); 10,24 GiB max RSS / 9,03 GiB peak footprint; swap kaydedilmedi; parçalı VAE'ye düşüş yok; `KAPI GECTI` (124 kare, gürültü 0,64, orta akış 1,81; eşikler 640x384'e göre ayarlı, değerler karşılaştırılamaz). Üçüncü taraf dosyalar: motor zip'i (MIT), `scripts/modeller.json`'daki dört model dosyası (MiniMax H3 Community License, katkıcının kurulumunda kabul edildi [kullanıcı bildirdi, PR #37]), PyPI'dan opencv-python-headless ve numpy (Apache-2.0 / BSD-3-Clause). + +- **A100-SXM4-40GB (Colab, Linux) — 1344x768 x 209 frames in one process, Q8_0 DiT, text encoder on the GPU** [measured, 2026-11-28; same card, session and engine as the A100-SXM4-40GB row of the table above; not a supported VideoTurko profile; quality settings unchanged]: What changed: `sd-cli` called directly (not `uret.sh`), one process; size 1344x768 (default 640x384); DiT `minimax_h3_fl2va_hyperflow_flash_14b-Q8_0.gguf` (official source, `VideoRebirthAI/hyperflow-h3-flash`, folder `fl2va_gguf`; sha256 of the downloaded file starts `9b7aebc17bd1be99`) instead of Q4_K_M; text encoder on the GPU (`--offload-to-cpu --mmap --backend te=cpu` removed) with `-t 12` (default `-t 4`); `--flash-attn on` (default `off,diffusion=on`); `--model-args minimax_h3_attn_chunk_budget=1.0` (default 0.05); no two-stage run and no `SD_*` patch variables; environment `SD_VAE_NO_TILING_FALLBACK=1` and `GGML_CUDA_CUBLAS_COMPUTE_TYPE=f32` as in `uret.sh`; own prompts in the MiniMax H3 structured form (`integrated_multimodal_description` / `overall_soundscape` / `non_diegetic_music`), not the sample prompt. Unchanged: 6 steps, cfg 1, euler, `--sigmas hyperflow-h3-flash-6`, seed 42, `--rng cpu`, 24 fps, non-tiled VAE, the same text encoder (Q4_K_M) and VAEs, the same engine binary (sd-cli sha256 `e06a8ef2a10e7390360b1044c437a4ac7567341b73fb0bc853a52d70298b3d25`). Result: 209 frames (ffprobe) with pcm_s16le audio in 370 s (`sd-cli` wall time, model load included); engine `generate_video completed in 363.64s` (text encoder 4.63 s, sampling 334.01 s, video VAE 21.72 s, audio VAE 1.84 s); `total params memory size = 35644.20MB (VRAM 35644.20MB)`; whole-card peak 40166/40960 MiB; no `temporal tiling` line in the log. Gate afterwards on the same video: `dikis_denetim.py` noise 0.75, middle flow 3.17; `doku_norm.py` N=0.030 (the thresholds are calibrated at 640x384, so these values are not comparable at this size). Same size with fewer frames: 1344x768 x 124 via `uret.sh --tek-asama -W 1344 -H 768` 251 s; with the changes above 183 s. +- **A100-SXM4-40GB (Colab, Linux) — tek süreçte 1344x768 x 209 kare, Q8_0 DiT, metin kodlayıcı GPU'da** [ölçtüm, 2026-11-28; yukarıdaki tablodaki A100-SXM4-40GB satırıyla aynı kart, oturum ve motor; desteklenen bir VideoTurko profili değildir; kalite ayarları değişmedi]: Neyi değiştirdim: `sd-cli` doğrudan çağrıldı (`uret.sh` değil), tek süreç; boyut 1344x768 (varsayılan 640x384); DiT Q4_K_M yerine `minimax_h3_fl2va_hyperflow_flash_14b-Q8_0.gguf` (resmî kaynak `VideoRebirthAI/hyperflow-h3-flash`, `fl2va_gguf` klasörü; indirilen dosyanın sha256'sı `9b7aebc17bd1be99` ile başlar); metin kodlayıcı GPU'da (`--offload-to-cpu --mmap --backend te=cpu` kaldırıldı), `-t 12` (varsayılan `-t 4`); `--flash-attn on` (varsayılan `off,diffusion=on`); `--model-args minimax_h3_attn_chunk_budget=1.0` (varsayılan 0.05); iki aşama ve `SD_*` yama değişkenleri yok; ortam `SD_VAE_NO_TILING_FALLBACK=1` ve `GGML_CUDA_CUBLAS_COMPUTE_TYPE=f32` (`uret.sh` ile aynı); örnek istem değil, MiniMax H3 yapılı biçimde kendi istemler. Değişmeyen: 6 adım, cfg 1, euler, `--sigmas hyperflow-h3-flash-6`, tohum 42, `--rng cpu`, 24 fps, karosuz VAE, aynı metin kodlayıcı (Q4_K_M) ve VAE'ler, aynı motor ikilisi. Sonuç: 209 kare (ffprobe), pcm_s16le ses, 370 sn (`sd-cli` duvar saati, model yükleme dahil); motor `generate_video completed in 363.64s` (metin kodlayıcı 4,63 sn, örnekleme 334,01 sn, video VAE 21,72 sn, ses VAE 1,84 sn); `total params memory size = 35644.20MB (VRAM 35644.20MB)`; kartın tepe kullanımı 40166/40960 MiB; günlükte `temporal tiling` satırı yok. Aynı videoda sonradan kapı: `dikis_denetim.py` gürültü 0,75, orta akış 3,17; `doku_norm.py` N=0,030 (eşikler 640x384'e göre ayarlı, bu boyutta karşılaştırılamaz). Aynı boyutta daha az kare: `uret.sh --tek-asama -W 1344 -H 768` ile 1344x768 x 124 kare 251 sn; yukarıdaki değişikliklerle 183 sn. + +- **A100-SXM4-40GB (Colab, Linux) — first and last frame (`--init-img` + `--end-img`) at 1344x768, 124 and 192 frames in one process; an 8-clip chain on the real last frame** [measured, 2026-11-28; not a supported VideoTurko profile; quality settings unchanged]: What changed: the same changes as the entry above, plus `--init-img` and `--end-img` (1344x768 PNG first and last frames made with an external image model; not shared) and a first prompt line that states the alignment of the two pictures ("Picture 1 ... aligns with the 0.00-second mark of the target video; Picture 2 ... aligns with the 8.00-second mark"). Runs in a second Colab A100 session of the same machine type (12 vCPU, 83 GB RAM, CUDA 13.0, engine built again from repo commit `04e0266`; the card name was not read again in that session). 124 frames: 5 runs, 212-215 s each, whole-card peak 40156-40176 MiB. 192 frames: 13 runs, 362-366 s each, peak 40126-40146 MiB; no run ran out of memory and none needed `--offload-to-cpu`; every output had 192 frames and an audio stream (ffprobe); times are `sd-cli` wall time including model load. `AGENTS.md` lists FLF on 8 GB+ cards and 192 frames with `-EndImg` as not measured: this is one such measurement, on one card. Two shots in one clip: a prompt with `[Shot 2] At 00:04.000, the camera cuts to ...` gave a single cut at 4.17-4.21 s in all 5 clips (ffmpeg scene detection), with the same place, light and character in both shots. Chain: 8 clips x 192 frames; clip N+1 started from the real last frame of clip N (frame 191, `ffmpeg -vf select=eq(n\,191)`) and ended on its own planned last frame. The last frame of a clip and the first frame of the next differ by PSNR 31.3-34.3 dB. After dropping the duplicate first frame of clips 2-8 and a 4-frame crossfade at each join, the 62.5 s result has no cut at ffmpeg scene threshold 0.25 and the largest frame-to-frame scene score is 0.035; no seam was seen on contact sheets. Problem seen: when two consecutive planned last frames have different backgrounds, the model dissolves one background into the other in the middle of the clip (2.5-4 s in one clip). The quality gate was not run on these clips. +- **A100-SXM4-40GB (Colab, Linux) — 1344x768'de ilk ve son kare (`--init-img` + `--end-img`), tek süreçte 124 ve 192 kare; gerçek son kareyle 8 kliplik zincir** [ölçtüm, 2026-11-28; desteklenen bir VideoTurko profili değildir; kalite ayarları değişmedi]: Neyi değiştirdim: yukarıdaki kayıttaki değişikliklerin hepsi, artı `--init-img` ve `--end-img` (harici bir görsel modeliyle yapılmış 1344x768 PNG ilk ve son kareler; paylaşılmadı) ve istemin ilk satırında iki resmin hizası ("Picture 1 ... 0.00-second mark ...; Picture 2 ... 8.00-second mark"). Koşular aynı makine tipindeki ikinci bir Colab A100 oturumunda (12 vCPU, 83 GB RAM, CUDA 13.0, motor repo commit `04e0266`'dan yeniden derlendi; kart adı o oturumda yeniden okunmadı). 124 kare: 5 koşu, her biri 212-215 sn, kartın tepe kullanımı 40156-40176 MiB. 192 kare: 13 koşu, her biri 362-366 sn, tepe 40126-40146 MiB; hiçbir koşu belleği aşmadı, `--offload-to-cpu` gerekmedi; her çıktı 192 kare ve ses akışlı (ffprobe); süreler `sd-cli` duvar saati, model yükleme dahil. `AGENTS.md` 8 GB üstü kartta FLF'yi ve `-EndImg` ile 192 kareyi ölçülmedi diye yazıyor: bu, tek kartta böyle bir ölçümdür. Bir klipte iki çekim: `[Shot 2] At 00:04.000, the camera cuts to ...` içeren istem 5 klibin hepsinde 4,17-4,21 sn'de tek kesme verdi (ffmpeg sahne tespiti); iki çekimde mekân, ışık ve karakter aynı. Zincir: 8 klip x 192 kare; klip N+1, klip N'in gerçek son karesinden başladı (191. kare, `ffmpeg -vf select=eq(n\,191)`) ve kendi planlı son karesinde bitti. Bir klibin son karesiyle sonrakinin ilk karesi arasında PSNR 31,3-34,3 dB. Klip 2-8'in tekrar eden ilk karesi atılıp her birleşimde 4 karelik geçiş yapılınca 62,5 sn'lik sonuçta ffmpeg sahne eşiği 0,25'te kesme yok, iki kare arası en büyük sahne skoru 0,035; temas paftalarında dikiş görülmedi. Görülen sorun: art arda iki planlı son karenin arka planı farklıysa model klibin ortasında bir arka planı ötekine eritiyor (bir klipte 2,5-4. sn). Bu kliplerde kalite kapısı çalıştırılmadı.