Skip to content

eval(sdxl): add full-dataset quality and end-to-end latency - #1760

Open
LancelottJ wants to merge 41 commits into
ModelTC:mainfrom
LancelottJ:eval/sdxl-a100-20261124
Open

LancelottJ wants to merge 41 commits into
ModelTC:mainfrom
LancelottJ:eval/sdxl-a100-20261124

Conversation

@LancelottJ

@LancelottJ LancelottJ commented Nov 25, 2026 •

Copy link
Copy Markdown

Evaluates sdxl on the frozen complete datasets with per-input end-to-end latency and official/project-defined quality metrics. The default profile retains the original native/adapted comparison and its published results.

The independent BF16 profile pins the updated inference PR under tools/evaluation/sdxl/configs/nvidia/bf16/. Select LIGHTX2V_EVAL_PRECISION_PROFILE=bf16 and campaign --backend lightx2v in a fresh result directory. It evaluates the BF16 adapter once per input, with documented FP32 exceptions, full coverage and exclusive single-GPU/resource/cleanup checks. It makes no cross-precision exact-output or latency-ratio claim; metric networks and fixture selection are unchanged.

Validation: the BF16 inference public CLI produced a valid output on A100, and the evaluation CPU protocol/profile tests pass. Complete BF16 A100 results and their exact measured revisions are recorded below. Earlier results remain labeled with their original source/precision.

This PR contains developer evaluation code/configs/results plus the existing shared resource observer. User inference stays in its separate model PR. No weights, raw model outputs, datasets, copied upstream repositories or machine-local paths are included.

Complete BF16 A100 measurement (independent of subsequent platform work):

Dataset Inputs Mean E2E (s) P95 E2E (s) Main quality metrics
geneval 553 4.053880 4.151057 GenEval overall 0.526831
parti 1632 4.040779 4.151312 CLIP cosine x100 27.594457
coco 5000 4.057195 4.162160 CLIP cosine x100 26.638809

Full BF16 results and provenance; per-input records are in the same directory. Exact measured evaluator revision: 4547b2b960e0d9fd15059f3069a52e8e05f89170; worker SHA256: 6793cf50572581e5dbe5569d8034a1c4a058b0676d7a07ba87dcabadcf11d280. Exact measured inference revision: 94522e29e16c680cc7a15569f7215c2d88c74c9d. Later platform commits are preserved and are not relabeled as the code used for these A100 measurements. Check out the measured evaluator revision to reproduce these timings.

Each formal input ran once, each dataset stayed on one fixed A100, all archived original resource-policy checks passed, and complete output hashes/provenance were verified. GenEval covers all 553 prompts, PartiPrompts all 1,632 prompts, and COCO the unchanged locked 5,000-caption fixture. All use one 1024x1024 image, Euler 30 steps, CFG 5 and seed 42; CLIPScore is not FID. Raw evidence manifest SHA256: 3fcfc16acf27ff671764541ccb6d4caf65679b6a3ec23165e24cf7dc3c969319. No cross-precision exact-output or latency-ratio claim is made.

Complete MetaX C500 BF16 measurements:

Dataset Inputs Quality metric Mean E2E (s) P95 E2E (s)
GenEval 553 Overall 0.549463 5.688347 5.747663
PartiPrompts 1,632 CLIP cosine x100 27.727707 5.629281 5.742524
COCO 5,000 CLIP cosine x100 26.593067 5.722419 5.841624

Full results and provenance include exact measured source/image/weight/fixture identities, per-input timing and output hashes. All 7,185 formal inputs ran once; every dataset stayed on its fixed physical C500. Complete coverage, artifact hashes, closed resource captures and task cleanup passed.

Measured evaluator revision: d16ff5869d6d2c3281433babea8a4e66eb6dc544. Measured inference revision: 1488f17c12f80673f9266c88e20d80ca0d93bf4e. Later platform commits remain separate from these measurements. CLIPScore is not FID; no native or cross-platform exact-output/latency-ratio claim is made.

COCO retains one invalid worker-initialization attempt (exit 135), before that chunk started any formal inputs. After verified cleanup, the same source, image and card resumed, preserving the first 256 valid inputs. The final report includes this attempt separately; all 5,000 formal inputs have valid output and timing records.

GenEval uses the pinned official evaluator and weights with MMCV's released PyTorch reference deformable attention on MetaX tensors. The MetaX controller uses bounded dedicated workers and a separate non-root, read-only host-PID observer with dropped capabilities and no Docker socket. Original A100 implementations, platform configurations and published results are retained.

Validated environment: Python 3.10, PyTorch 2.8.0+metax3.5.3.9, MACA SDK 3.5.3.18 on MetaX C500.

Ascend NPU support: SDXL evaluation

Adds full GenEval (553), Parti (1,632), and COCO (5,000) evaluation. Retains all six GenEval dimensions and original FP32 detector/CLIP scoring, alongside end-to-end latency.

Preserves the original BF16/FP32 computation boundaries, weights, sampling parameters, and existing NVIDIA/MLU/MetaX paths. NPU FP32 operations disable HF32 within their scoped execution. No A100 feature is removed.

The NPU campaign uses a pinned source manifest, one fixed physical card per dataset, bounded workers, continuous device/process attribution, verified cleanup, complete input coverage, and a separate original metric pass. Raw data, weights, runtime environments, and generated artifacts are excluded from this change.

Full-dataset NPU evaluation is complete. Numerical parity with A100 is not claimed.

Complete Ascend 910B2C BF16 measurement (original FP32 scopes retained):

  • geneval: 553 inputs, mean end-to-end 4.641460 s, P95 4.749956 s. GenEval 0.534247, including all six dimensions.
  • parti: 1,632 inputs, mean end-to-end 4.594178 s, P95 4.733826 s. CLIP cosine ×100 27.815064, CLIPScore 0.695377.
  • coco: 5,000 inputs, mean end-to-end 4.648103 s, P95 4.741775 s. CLIP cosine ×100 26.619274, CLIPScore 0.665482.

Full results, measured revisions and evidence fingerprints include every formal input’s latency and output SHA. Independent verification checks complete coverage, output hashes, original metric aggregation, NPU process attribution and cleanup. Raw artifacts and device observations remain outside git. No native equality or A100 latency ratio is claimed.

@LancelottJ LancelottJ changed the title Add SDXL A100 full-dataset quality and latency evaluation Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants