Embedding iris.c as a library + optional per-step trace for experiments?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Read the sampler loop and CLI entry point to estimate where an embedding API and optional per-step callback would fit. First get maintainer guidance on whether either proposal is in scope; the issue leaves the design and requested behavior open. Done would require an agreed scope and a working library or trace interface with an example, but no specific files or tests are named.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi Salvatore
I'm using iris.c to learn diffusion internals by building a small scriptable experiment harness around it (out-of-tree: sweeps over steps/schedule/guidance/seed, contact sheets, image diffs, reproducible manifests). Right now it drives the CLI, and re-loading the model for every image makes sweeps painful.
Before writing code, I wanted to ask what you'd be comfortable with:
- A
libiristarget (static lib + a small embedding example) so the pipeline can be driven in-process. No behavior change, no new dependencies, C99 only. - An optional per-step callback in the sampler loop, compiled out by default, e.g.
iris_set_step_cb(ctx, cb, ud)giving(step, timestep). It would let external tools trace/benchmark and could also power a--traceCSV.
Both can be default-off and kept tiny. If you'd rather keep the core untouched, I'll keep everything in examples/ and just send bug reproductions and focused fixes I find with the harness.
Is either in scope? Happy to start with the smallest patch, or a docs-only example first if that's easier to evaluate.
Thanks.
- Lingua principale
- C
- Stelle
- 2.1k
- Fork
- 160
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di antirez/iris.c
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Z-Image on 12 GB GPUs: stream the layers that do not fit instead of running everything on the CPUAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
Tutte le issue di antirez/iris.c
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 2 giorni
-
BUG: linalg.bandwidth: misses the upper band in a wide matrix's last rowForse già presa @ilayn l’ha presa 205 giorni fa. Apertadefect scipy.linalg
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
scipy/scipy#26579 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno