跳到主要内容
Octopus Research Institute
TR-2026-0021技术报告同行评审: 未经同行评审证据强度: 实验性状态: 已发布

True standalone text-to-video on gfx1030, sovereign (no vendor BLAS)

Ran Tao (Octoryn Research)

本文未经同行评审。请将其视为工作文档,而非经验证的结果。

摘要

A true standalone, vendor-BLAS-free text-to-video pipeline on one AMD RDNA2 GPU (gfx1030) runs in-process from a prompt string to decoded frames, nothing injected from a reference: text-encoder embeddings, a self-contained FlowMatch-Euler schedule, a 20-step CFG denoise over a Wan video transformer, and a Wan 3D-VAE decode. Every linear is a hand-written GEMM, no vendor BLAS. Against a diffusers fp32 oracle (matched seed/schedule), prompt/negative embeddings, early latents and frames match at cosine 1.0 (PASS). Correctness/sovereignty result, not throughput or quality; single config.

本 Research Object 以其原始语言(英文)发表。

1. Contribution

Claimed. A true standalone sovereign text-to-video pipeline on a single AMD RDNA2 GPU (gfx1030, 16 GB), where the entire chain runs in-process from a prompt string to decoded frames with nothing injected from a reference implementation: in-process UMT5-XXL encode (host-resident streamed weights, run first then freed) producing zero-padded prompt embeddings; a seeded random init latent; an in-process FlowMatch-Euler schedule (matched to diffusers, shift=3); a 20-step CFG denoise over a Wan video transformer (WanTransformer3DModel-equivalent); and a Wan 3D-VAE frame-parametric decode. Every linear (text encoder and transformer) is a hand-written tiled GEMM, and the binary links only the system HIP runtime and standard system libraries — no vendor BLAS. Against a diffusers fp32 oracle with matched seed and schedule, prompt embeddings, negative embeddings, early-step latents, and decoded frames all match at cosine 1.0 (verdict PASS).

NOT claimed. This is a correctness-validation and systems-integration result, not a novel algorithm and not a performance result. It does not claim throughput competitiveness (the hand-written GEMM is slower than vendor BLAS). It does not claim generation or perceptual quality — cosine 1.0 against a single reference is numeric parity of the computation, not an evaluation of video quality. It does not claim coverage of longer clips, higher resolutions, other Wan variants, or other backends. The altitude is honest: this supersedes an earlier bounded harness that injected the reference implementation's prompt embeddings, init latent, and sigmas — the contribution here is closing that gap so the pipeline is end-to-end self-contained, plus the sovereignty (no vendor BLAS) property.

2. Methods

FieldValue
HardwareAMD RDNA2 GPU (gfx1030, 16 GB), single GPU
StackHand-written tiled GEMM; binary links only the system HIP runtime and standard system libraries (no vendor BLAS, no vendor DNN/MKL)
Oracle / baselinediffusers WanPipeline, fp32 (version not recorded in source notes)
ProcedureReference-parity mode: in-process string-to-frames; compare prompt embeddings, negative embeddings, early-step latents, and frames versus diffusers fp32 with matched seed and schedule
Precisionfp32 parity comparison; hand-written linears (their precision not further specified in source notes)
Metric + gatecosine similarity; verdict PASS reported (explicit numeric gate not recorded in source notes)
Stimulus / inputsFixed seed, shift=3, 20-step CFG denoise; small video latent; production output is a 13-frame clip at 240x416

The pipeline chain, in order: (1) UMT5-XXL encode via hand-written GEMM, host-resident streamed weights, run first then memory freed, producing zero-padded prompt embeddings; (2) a seeded random init latent; (3) an in-process FlowMatch-Euler schedule matched to diffusers, shift=3; (4) a 20-step CFG denoise over the Wan video transformer; (5) denormalize and decode via the Wan 3D-VAE.

3. Results

QuantityValue
prompt-embedding cosine vs diffusers fp321.0
negative-embedding cosine1.0
early-step latent cosine1.0
frames cosine1.0
Parity verdictPASS
Production output13 frames at 240x416
Steps / seed20 steps, fixed seed
Wall time~19 minutes (single run)
Peak resident memory~23 GB
Exit statusclean
Per-step transformer costorder of a minute per step at later steps
Linked librariessystem HIP runtime + system libraries only; no vendor BLAS

4. Threats to validity / Limitations

  • Parity != quality. Cosine 1.0 establishes that the sovereign computation reproduces the diffusers fp32 computation; it says nothing about perceptual video quality. There is no human or metric-based quality evaluation.
  • Single reference, single configuration. Parity is measured against one oracle (diffusers fp32) at one seed, one schedule (FlowMatch-Euler shift=3, 20 steps), one resolution (240x416), one clip length (13 frames), one Wan variant. This is a correctness smoke test pinning layout and orientation of the chain — not a benchmark-scale or multi-prompt evaluation.
  • Single-run performance, no variance. The wall time, per-step transformer cost, and resident memory are single-run figures with no repetition, no variance or error bars, and no isolation of warm versus cold effects.
  • Performance is explicitly non-competitive. The hand-written GEMM is slower than vendor BLAS; the wall time is the cost of the sovereignty- and correctness-first choice. No throughput claim is supported.
  • Oracle version not pinned in source. The diffusers version used as the fp32 oracle is not recorded in these source notes; a skeptical reader cannot fully reproduce the exact oracle without it. Validate the oracle independently before trusting parity.
  • Scope bounds. Results do not transfer to longer clips, higher resolution, other Wan variants, other GPUs or backends, or other quantization or precision regimes.
  • Evidence level. The source notes describe a parity run with verdict PASS but do not, within these notes, document an independent second-party reproduction of the full standalone chain.

5. Reproducibility / Provenance

  • Run. A reference-parity mode exercises the standalone string-to-frames chain and compares against diffusers fp32 with matched seed and schedule.
  • Config pins. Fixed seed; FlowMatch-Euler shift=3; 20 denoise steps; small video latent; 13-frame output at 240x416.
  • Sovereignty check. Inspecting the linked libraries of the binary should show only the system HIP runtime and standard system libraries — no vendor BLAS, DNN, or MKL.
  • Validate the oracle first. The diffusers oracle version is not recorded in source notes; pin and validate it before relying on the cosine-1.0 parity.
  • Build. Compiled ahead-of-time for the gfx1030 architecture against the system HIP runtime.

声明边界

作者对范围的明确界定——本工作证明了什么、未证明什么——沿用自 Octoryn Research 的发表模型。

证明

  • A true standalone (nothing injected) sovereign text-to-video pipeline on an AMD RDNA2 GPU (gfx1030) matches a diffusers fp32 oracle at cosine 1.0 for prompt embeddings, negative embeddings, early-step latents, and decoded frames (verdict PASS).
  • Every GEMM in the chain is hand-written with no vendor BLAS linked into the binary.

未证明

  • Throughput competitiveness - the hand-written GEMM is slower than vendor BLAS; figures are from a single run with no variance.
  • Generalization to longer clips, higher resolution, other Wan variants, or other GPUs and backends.
  • Perceptual or generation quality beyond numeric parity against a single fp32 reference.
  • Generalization beyond the one tested configuration - it is a correctness smoke test, not a benchmark.

适用于

  • Sovereign Wan2.1 text-to-video on an AMD RDNA2 GPU (gfx1030), parity versus a diffusers fp32 oracle with matched seed and schedule, at the single tested configuration.

不适用于

  • Throughput or quality claims, other resolutions, clip lengths, models, or backends, or any configuration differing from the tested one.
  • The diffusers oracle version is unpinned or independently unvalidated.

作者

  • Ran Tao — 调查研究, 写作

引用本文

引用格式

Tao, R., Octoryn Research. (2026). True standalone text-to-video on gfx1030, sovereign (no vendor BLAS) (TR-2026-0021). Octopus Research Institute.

BibTeX

@techreport{oritr20260021,
  title       = {True standalone text-to-video on gfx1030, sovereign (no vendor BLAS)},
  author      = {Tao, Ran and {Octoryn Research}},
  institution = {Octopus Research Institute},
  year        = {2026},
  note        = {Permanent ID TR-2026-0021. Not peer reviewed.}
}

披露

资助
硬件与基础设施由 Octoryn / Octopus Core Pty Ltd 提供。
利益冲突
Octoryn 提供商业推理与治理工具;相关发现独立报告。