Repository navigation
eval(sdxl): add full-dataset quality and end-to-end latency - #1760
Open
LancelottJ wants to merge 41 commits into
Open
LancelottJ wants to merge 41 commits into
LancelottJ wants to merge 41 commits into
Conversation
…th native inference
…urce acknowledgement
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/. SelectLIGHTX2V_EVAL_PRECISION_PROFILE=bf16andcampaign --backend lightx2vin 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):
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:
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):
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.