Repository navigation
eval(sf3d): measure GSO quality and end-to-end latency - #1756
Open
LancelottJ wants to merge 35 commits into
Open
LancelottJ wants to merge 35 commits into
LancelottJ wants to merge 35 commits into
Conversation
…th native inference
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 sf3d on frozen complete datasets with official/project-defined quality metrics and per-input end-to-end latency. The default source-locked profile retains the published native/adapted comparison; the independent BF16 profile evaluates the updated BF16 inference adapter with documented FP32 exceptions.
Set
LIGHTX2V_EVAL_PRECISION_PROFILE=bf16and runcampaign --backend lightx2vin a fresh directory. Every formal input runs once at batch size one, and each dataset stays on one fixed A100. The BF16 report measures quality and latency directly and makes no cross-precision exact-output or latency-ratio claim. Metric networks and fixture selection are unchanged.Complete BF16 A100 results:
Full BF16 results and provenance; per-input timing/output hashes are in the same directory. The inference revision is
3a83332abc931a8b2da9e4ade118834b8fa22f8a. Raw evidence manifest SHA256:7be34e8ca89f8a47443aa0045314a37f497edbd08fef5484af22986a89cc149f. Archived original GPU resource-policy checks, completion acknowledgements, task cleanup, full coverage and output hashes were verified before publication. GSO uses only thumbnail_0 for all 1,023 objects, once per object, with no GT-rendered inputs. GT meshes are used only by the offline geometry scorer.Validation: actual A100 public inference CLI output, evaluation CPU protocol/profile tests, complete BF16 generation/quality scoring, and archived source/resource/output evidence checks. Earlier native-precision results retain their original source/precision labels. This PR contains developer evaluation code/configs and sanitized results plus the existing resource observer; user-facing inference remains in its separate model PR. No weights, datasets, raw outputs, upstream repository copies, history 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:
cdfbc32213c58a43443bdd7898fa02cf6488c58d; worker SHA256:69bdaaf142f64405344df41b1289325f7ae51ebe5f8ab18cf58740c278b8bc9c. Exact measured inference revision:3a83332abc931a8b2da9e4ade118834b8fa22f8a. 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. GSO uses only thumbnail_0 for all 1,023 objects, once per object, with no GT-rendered inputs. GT meshes are used only by the offline geometry scorer. Raw evidence manifest SHA256:
65bfa39d654246839604e655ec180f6df88dc6672c05126842318fa099924b71. No cross-precision exact-output or latency-ratio claim is made.Complete MetaX C500 BF16 results: all 1,023 GSO inputs, one formal repetition each; mean end-to-end 0.685067 s and P95 0.778441 s; Chamfer-L1 0.121950 and F-score@1% 0.054851. All 1,023 GLBs were additionally checked for UVs, 1024x1024 base-color/normal textures and metallic/roughness materials.
Full MetaX results and exact measured revisions include per-input timing/output hashes and closed resource-capture audit fingerprints. Every input and resource capture was verified; task cleanup passed. The existing A100 implementation and published A100 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. The MetaX host controller uses bounded dedicated workers and a separate non-root, read-only host-PID observer with dropped capabilities and no Docker socket.
Ascend NPU support: Stable Fast 3D evaluation
Adds full GSO evaluation (1,023 inputs), original geometric quality metrics, and request end-to-end latency including textured GLB serialization.
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.