Repository navigation
Conversation
|
Thanks @devopsfortunato, the option parsing is careful and every parse rule has a test that fails without it. A few asks before this can land:
|
|
GREEN at eff8b2e - opencode-go/glm-5.3-flash as routed by Main (model id unverifiable); implementer model unverified. Ran generate.zig standalone: 14/14 host tests pass; red-first mutation (zero steps allowed) caught by the suite, reverted clean. The Metal pipeline test stays receipts-side (no Metal host here). |
… option it refused (ashhart#2719) A side at most 1536, at most 1572864 pixels, steps 1 to 200, guidance a finite number from 1, a seed that fits a non-negative int64, and a prompt refused when blank after trimming and past 16384 bytes, as /v1/images/generations refuses them. A refused value now names its option.
…vers, and an inert-backend test (ashhart#2719) The denoise loop is shared with tf-moss-image through moss_image_guided.zig, the driver moves to zig/tests/moss_image_generate_run.zig, the Metal backend is imported instead of repeated, and the parser stays in the family so its tests run in the build's test step. A new inert backend checks the seed reaches the latents, both branches' skips, the step indexing and the two missing-capability refusals.
…m is pinned (ashhart#2719) The pixel product is checked once on the finished pair, so a later --width can rescue a pair an earlier --height made too large, as the server checks it. The inert backend's branches answer differently and a new test pins the guidance scale. The prompt is trimmed before encoding, a value past 200 steps has its own error, and a missing value names its option.
|
All eight are in, on 1. Limits now match 2. Shared code, and the driver beside the other drivers. 3. An inert backend for 4. Refusal lines name the option. 5. Build row no longer claims a PSNR check: it now reads "MOSS-Image from options alone: prompts, schedule and noise, then the decoder's picture". 8. The M5 evidence I cannot give. There is no Apple hardware on this side, so the two-M5 receipt stays open. What a volunteer would run, unchanged from your suggestion: Checks on Two review notes worth recording: checking the pixel product once means a refusal is attributed to the last side given, and the per-step timing lines in |
… comments fit one line (ashhart#2719) Init's args vector is WTF-16 on Windows, so the test encodes its fixture arguments per target. Every doc comment in the new files is one line again, which the lean check wanted.
|
CI is green on Two things that run cost me, in case they matter later: the new inert test synthesizes Still open, as before: the M5 receipt (no Apple hardware here), and the review's optional simplifications, recorded on the thread as deferred. |
|
Thanks @devopsfortunato, all seven code points are in, and the inert-backend test with its guidance control is exactly what we hoped for. CI is green on this head. What's left is the M5 evidence, and since you have no Apple hardware we'll run it ourselves on an M5 Ultra from
|
… option it refused (ashhart#2719) A side at most 1536, at most 1572864 pixels, steps 1 to 200, guidance a finite number from 1, a seed that fits a non-negative int64, and a prompt refused when blank after trimming and past 16384 bytes, as /v1/images/generations refuses them. A refused value now names its option.
…vers, and an inert-backend test (ashhart#2719) The denoise loop is shared with tf-moss-image through moss_image_guided.zig, the driver moves to zig/tests/moss_image_generate_run.zig, the Metal backend is imported instead of repeated, and the parser stays in the family so its tests run in the build's test step. A new inert backend checks the seed reaches the latents, both branches' skips, the step indexing and the two missing-capability refusals.
…m is pinned (ashhart#2719) The pixel product is checked once on the finished pair, so a later --width can rescue a pair an earlier --height made too large, as the server checks it. The inert backend's branches answer differently and a new test pins the guidance scale. The prompt is trimmed before encoding, a value past 200 steps has its own error, and a missing value names its option.
… comments fit one line (ashhart#2719) Init's args vector is WTF-16 on Windows, so the test encodes its fixture arguments per target. Every doc comment in the new files is one line again, which the lean check wanted.
e3c9b75 to
cfeebe8
Compare
|
Rebased onto today's The code did not move: So your M5 run still describes this head's code exactly — only the base moved. If you prefer to keep pointing at a hash, |
|
Thanks @devopsfortunato, the M5 Ultra run is in, built from
Nothing for you to change. Thank you for your patience while we ran this down.
|
tf-moss-image-generate takes the prompt, negative prompt, size, steps, seed, guidance and an output PNG instead of the case file tf-moss-image needs. It shares the family's encoder, transformer, schedule, seeded starting latents and decoder, uses the card's defaults, and refuses the pipeline's skip-layer guidance by name.
… option it refused (ashhart#2719) A side at most 1536, at most 1572864 pixels, steps 1 to 200, guidance a finite number from 1, a seed that fits a non-negative int64, and a prompt refused when blank after trimming and past 16384 bytes, as /v1/images/generations refuses them. A refused value now names its option.
…vers, and an inert-backend test (ashhart#2719) The denoise loop is shared with tf-moss-image through moss_image_guided.zig, the driver moves to zig/tests/moss_image_generate_run.zig, the Metal backend is imported instead of repeated, and the parser stays in the family so its tests run in the build's test step. A new inert backend checks the seed reaches the latents, both branches' skips, the step indexing and the two missing-capability refusals.
…m is pinned (ashhart#2719) The pixel product is checked once on the finished pair, so a later --width can rescue a pair an earlier --height made too large, as the server checks it. The inert backend's branches answer differently and a new test pins the guidance scale. The prompt is trimmed before encoding, a value past 200 steps has its own error, and a missing value names its option.
… comments fit one line (ashhart#2719) Init's args vector is WTF-16 on Windows, so the test encodes its fixture arguments per target. Every doc comment in the new files is one line again, which the lean check wanted.
cfeebe8 to
3d15dfc
Compare
… option it refused (#2719) A side at most 1536, at most 1572864 pixels, steps 1 to 200, guidance a finite number from 1, a seed that fits a non-negative int64, and a prompt refused when blank after trimming and past 16384 bytes, as /v1/images/generations refuses them. A refused value now names its option.
…vers, and an inert-backend test (#2719) The denoise loop is shared with tf-moss-image through moss_image_guided.zig, the driver moves to zig/tests/moss_image_generate_run.zig, the Metal backend is imported instead of repeated, and the parser stays in the family so its tests run in the build's test step. A new inert backend checks the seed reaches the latents, both branches' skips, the step indexing and the two missing-capability refusals.
…m is pinned (#2719) The pixel product is checked once on the finished pair, so a later --width can rescue a pair an earlier --height made too large, as the server checks it. The inert backend's branches answer differently and a new test pins the guidance scale. The prompt is trimmed before encoding, a value past 200 steps has its own error, and a missing value names its option.
… comments fit one line (#2719) Init's args vector is WTF-16 on Windows, so the test encodes its fixture arguments per target. Every doc comment in the new files is one line again, which the lean check wanted.
|
Thank you @devopsfortunato. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
Figures and scope corrected to the PRs (#2948, #2863, #2934, #2933, #2921, #2906, #2878, #2892, #2851, #2728, #3072, #2915, #2864, #2854 and others), promises of later work removed (#2903, #2875, #1630, #1720), #3074 and #3047/#3046 said as their PRs scope them, the duplicate #2861, #2585, #2321 and #2719 entries and two copies of released 1.2.5 lines removed, #1953's line named for its PR, and a line for #3255. Released sections unchanged.
|
Thanks @devopsfortunato! This is in TensorFold 1.2.8, out now: https://github.com/ashhart/TensorFold/releases/tag/v1.2.8
|
What this changes
Before, a MOSS-Image picture came only from
tf-moss-imageand a reference case built bytools/zig/moss_image_case.py. After,tf-moss-image-generatemakes one from options alone:--prompt,--negative,--width,--height(positive multiples of 16),--steps,--seed,--guidanceand an output PNG, at the card's defaults (1024x1024, 50 steps, guidance 3.0, the negative branch skipping block 22), and it refuses the pipeline's skip-layer guidance by name. It is a family tool built beside the other three, as agreed on the issue, and it reuses the family's encoder, transformer,MOSSImageSchedulertimesteps, seeded starting latents,vae/decoder and PNG writer. No kernel, no setting and no inference path changes.noise.zig'snoise_torch.jsonfixture (60+ seeds and sizes, sha256 against x86torch.randn), and this tool calls that samenoise.latents.atc overlap --json(run after rebasing ontoupstream/main21ea8de): 9 open pull requests share one file each with this change, and in every case the shared file isCHANGELOG.md; no code file is shared. The only resolution needed is the changelog bullet, which sits at the top of## Unreleased.Checks on this head
e3c9b75f4(baseupstream/main21ea8de): the tool itself, then four commits answering the review — the served limits with named refusals; the shared guided loop with the driver moved beside the other drivers and an inert-backend test ofrun(); the once-only pixel check with the guidance term pinned; and the inert test's Windows arguments with every new comment on one line. The reply mapping all eight asks is in the thread.python3 tools/zig/lean_check.py: 394 problems on the base, 386 on this head,tools/zig/lean_new.pyreports0 new. None of the touched files appears in the output; the nonzero count is inherited.zig test zig/src/families/moss_image/generate.zig→All 14 tests passed.(12 in the new module, 2 inconfig.zig); 0 failed, 0 skipped.zig fmt --check build.zig zig→ clean.git diff --check→ clean.zig build -l→ exit 0, so the build file still parses with the newtf-moss-image-generaterow.zig build testjob:zig/src/families/moss_image/cuda.zigpullsgenerate.ziginto itstest { }block, and that module is already one of the host tests the "No GPU" workflow runs.e3c9b75f4: green —fmt,pytest, bothbenchmark-clients,release-paths,zig(the host suite, which now runstest-moss-generate-host),zig-windows(so the inert test compiles and runs with WTF-16 arguments) andzig-macos-dev-tools(it builds and links everytf-*tool on macOS, including the generate CLI). The two nightly-only jobs are skipped; an earlier head had the lean check fail on ten multi-line comments, which is fixed.Timingimport instead of a re-declaration, dropping the unusedstimport, oneWherestruct for the parser's two out-params, and replacing the build'sWriteFilesseam with relative imports) are recorded on the thread as deferred.zig-macos-dev-toolsproves the tool builds and links but does not run it. The fullzig build testlocally — this 7 GB aarch64 host runs out of memory on the suite ("flash next: rotary cache table unavailable: OutOfMemory"), so CI is the host gate.Receipt
tf-moss-image; no engine, lane, scheduler, cache or kernel path changes, no new setting, and no existing output changes.Device.encode/Device.decodedo not exist yet (the CUDA picture path is moss image: serve pictures on CUDA (encoder, decoder and host for #1573) #2281), so the driver refuses with a clear message rather than failing later; the shared driver typechecks for both shapes, with and without those declarations.Checklist
Inference-only checklist items: n/a (see Receipt).