Skip to content

Add SDXL A100 full-dataset quality and latency evaluation - #1760

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

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

Conversation

@LancelottJ

Copy link
Copy Markdown

SDXL base 1.0 needs complete-dataset quality and end-to-end latency checks beyond its user-facing inference API. This independent evaluation package calls inference PR #1754 and the pinned original implementation with identical inputs, weights, seed and final artifact format.

The model-specific changes are confined to tools/evaluation/sdxl/: evaluation/metric wiring, immutable input and source/weight locks, platform configuration, launchers, preparation instructions and CPU regression checks. The shared resource-observer changes, when absent from the target branch, are confined to tools/runtime/nvml_capture.py, its CPU test, dependency file and README. It vendors no model implementation, weights, upstream repository or raw generated output.

Native and LightX2V run serially on the same single A100 per dataset, batch size 1 and one formal inference per input. Separate synthetic/upstream-demo warmup inputs are excluded. Timing includes input decoding/read, inference, CPU conversion, final PNG serialization and fsync; loading, hashes and offline quality scoring are separate. Bounded chunks reuse the existing gpu_watch host-resource checks and verify cleanup.

Dataset Inputs per implementation Native mean / P95 (s) LightX2V mean / P95 (s) Mean / P95 ratio
geneval 553 3.862536 / 3.983675 3.836592 / 3.979299 0.9933 / 0.9989
parti 1632 3.837250 / 3.968516 3.812258 / 3.946373 0.9935 / 0.9944
coco 5000 3.817050 / 3.972101 3.788369 / 3.931652 0.9925 / 0.9898
Dataset / quality metric Native LightX2V
GenEval / color_attr 0.150000000 0.150000000
GenEval / colors 0.819148936 0.819148936
GenEval / counting 0.387500000 0.387500000
GenEval / position 0.080000000 0.080000000
GenEval / single_object 0.950000000 0.950000000
GenEval / two_object 0.717171717 0.717171717
GenEval / overall 0.517303442 0.517303442
parti / clip_cosine_x100_mean 27.582458617 27.582458617
parti / clipscore_2_5_relu_cosine_mean 0.689561465 0.689561465
coco / clip_cosine_x100_mean 26.646863662 26.646863662
coco / clipscore_2_5_relu_cosine_mean 0.666171592 0.666171592

Generation uses 1024×1024, Euler 30 steps, CFG 5, seed 42, FP16 SDXL weights and the native FP32 VAE. Both backends remove inherited CUBLAS_WORKSPACE_CONFIG and use eight OMP/MKL threads; actual numerical environments are checked before accepting a worker. Earlier forced-workspace/four-thread campaigns remain in their original evidence namespaces and contribute no timings to this profile.

GenEval uses the pinned official detector/CLIP evaluator and six-dimension unweighted mean. Parti and COCO use the same FP32 OpenAI CLIP ViT-L/14 metrics. These runs produce one fixed-seed image per prompt for paired regression, not an official leaderboard reproduction. Mean≤1.25 and P95≤1.5 latency ratios are engineering gates, not official dataset thresholds.

39 retained invalid/superseded attempt namespaces contain 4040 discarded completed timing records, in addition to superseded numerical-profile campaigns. None are averaged into the single accepted formal sample per input/backend. Resource reports preserve each capture's actual sampler version, query/gap settings, post-workload acknowledgement and process cleanup; no invalid attempt is relabeled as valid. Sampling cannot exclude sub-sample interference or CPU/storage contention.

Raw evidence: 33597 SHA-listed files; manifest SHA256 5df565c49c9f9c28b41109b64ac0335297f94382885f01861847b58d42eff975. Large artifacts remain outside git. The checked-in sanitized report includes every input's end-to-end latency and final PNG hash.

All final PNG files match byte for byte. Quality metrics match within the stated roundoff tolerance; sanitized per-dataset results, per-input latency, metric definitions and provenance are in results/nvidia/. Full generated artifacts and resource evidence remain in independently stored SHA-locked records.

MLU, MetaX and Ascend NPU are explicit unimplemented slots whose launchers exit 2. CPU evidence tests cover missing/failed/duplicated inputs, artifact corruption, source/fixture changes, resource/cleanup failures and a dataset split across different GPUs. NVIDIA full-dataset validation is the measured scope.

Complete measured results and per-input records: https://github.com/LancelottJ/LightX2V/tree/4779604f5114b303efe7fb03334549f2c35b7b7e/tools/evaluation/sdxl/results/nvidia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant