Repository navigation
Add SDXL A100 full-dataset quality and latency evaluation - #1760
Open
LancelottJ wants to merge 20 commits into
Open
LancelottJ wants to merge 20 commits into
LancelottJ wants to merge 20 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.
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 totools/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.
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_CONFIGand 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