NVIDIA / NVIDIA/simready-foundation

gen_appliance_toaster_v01_01 dcc_source is duplicated (1.8G, ~2.6× next-largest asset)

Open Beginner friendly
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
88
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Summary

The gen_appliance_toaster_v01_01 asset is 1.8G on disk — about 2.6× the next-largest asset (gen_cleaning_dishwand_v01_01 at 679M). The cause is a duplicated dcc_source tree: the dcc_source/working/ subtree has been copied up into dcc_source/ top level as well.

Asset size comparison

du -sh sample_content/common_assets/props_general/*/ | sort -rh | head

Asset Size
gen_appliance_toaster_v01_01 1.8G ← outlier
gen_cleaning_dishwand_v01_01 679M
obs_light_bulb_01 308M
obs_orange_a01 153M
obs_electricians_large_tool_box_a01 100M
(remaining assets) ≤ 62M

Root cause

Every other asset keeps DCC working files only under dcc_source/working/. The toaster alone also has a near-identical second copy promoted to dcc_source/ top level:

  • dcc_source/texture/ (462M) == dcc_source/working/texture/ (462M) — identical file set, byte-identical (md5 match), separate inodes (true copies, not hard/sym links)
  • dcc_source/image/ (131M) == dcc_source/working/image/ (131M) — identical
  • dcc_source/model/ (292M) ≈ dcc_source/working/model/ — same .blend files, differing only by nesting (blender/*.blend vs blender/wip/*.blend) plus one extra temp_render.jpg

Biggest individual files, each present twice:

  • toaster_bake_low_01.spp — 226M ×2
  • toaster_render_01.psd — 88M ×2
  • gen_appliance_toaster_v01_01_show.blend — 62M ×2
  • gen_appliance_toaster_v01_01_baking_sample.blend — 50M ×2

Both copies are committed (184 tracked files for the asset; e.g. 32 tracked files under each of dcc_source/texture/ and dcc_source/working/texture/).

Impact

  • Working-tree checkout is physically doubled → 1.8G, hitting every clone/checkout (this is what dust/du measured).
  • Git-LFS dedupes byte-identical content by OID (both .spp pointers share OID 13f02fd805, ~236 MB stored once remotely), so remote LFS storage is not doubled for the identical files — but the model/ .blend files differ by path and so are genuinely duplicated even in LFS.
  • Package structure is inconsistent with every other asset and is confusing.

Suggested fix

Remove the promoted top-level dcc_source/{texture,image,model} directories, keeping only dcc_source/working/... to match the standard layout used by all other assets. Expected result: asset shrinks to ~900M. Optional follow-up: git lfs prune and a history note.

Repro

du -sh sample_content/common_assets/props_general/*/ | sort -rh | head

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with sample_content/common_assets/props_general/gen_appliance_toaster_v01_01 and run the issue's du command to confirm the size outlier. Compare dcc_source/{texture,image,model} with dcc_source/working and remove only the promoted top-level copies, preserving the working tree. Done means the asset follows the standard layout and is roughly 900M; verify the resulting paths and size before checking the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
content
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.