nx_gen_zoo.nx
buildroot/runtime/nx_gen_zoo.nx
about
nx_gen_zoo.nx -- walk a model directory, identify every file, and report which PIPELINES are
runnable. ComfyUI's capability without ComfyUI's interface.
You should not have to know what you downloaded. Point this at a models tree and it answers the
only questions that matter: what is each file, and can I generate an image with what I have?
It calls nx_genrole for every classification -- genuinely, not as a claim. This header used
to assert that reuse while zo_classify re-derived every probe, and the two copies had already
drifted apart. See nx_genrole.nx.
Usage: nx_gen_zoo <dir> [dir2] [dir3] ...
A pipeline is reported RUNNABLE only when every required role is present AND runnable for the
same family. Missing pieces are named, so the answer is actionable rather than a verdict.
license_tier: ORIGINAL
dependencies 11 imports · 0 importers
diagram shows first 10 each side; +1 more imports, +0 more importers in the complete lists below.
imports: nx_syscalls.nxnx_le.nxnx_f32.nxnx_f32_div.nxnx_f32_cvt.nxnx_f16.nxnx_strconv.nxnx_genver.nxnx_genweights.nxnx_genarch.nxnx_genrole.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 28 | const ZOO_MAGIC_65536: i64 = 65536 |
| 29 | const ZOO_MAGIC_1024: i64 = 1024 |
| 31 | const ZOO_MAX: i64 = 256 |
functions
| 33 | func zo_puts(s: *u8) -> i64 { |
| 38 | func zo_len(s: *u8) -> i64 { |
| 43 | func zo_pad(s: *u8, w: i64) -> i64 { |
| 50 | func zo_has(gw: *i64, name: *u8) -> i64 { |
| 54 | func zo_join(out: *u8, dir: *u8, name: *u8) -> *u8 {
called by 1: zo_walk |
| 76 | func zo_classify(path: *u8, label: *u8) -> i64 { |
| 122 | func zo_walk(dir: *u8) -> i64 { |
| 152 | func main(argc: i64, argv: *i64) -> i64 { |