Add files using upload-large-folder tool
Browse filesFiles changed (49)
- README.md+37-28
- manifest/eva01_edit_sha256sums.txtAdded+3
- metadata/eva01_edit_release_receipt.jsonAdded+74
- shards/shard-001788.tarAdded+3
- shards/shard-001789.tarAdded+3
- shards/shard-001790.tarAdded+3
- shards/shard-001791.tarAdded+3
- shards/shard-001792.tarAdded+3
- shards/shard-001793.tarAdded+3
- shards/shard-001794.tarAdded+3
- shards/shard-001795.tarAdded+3
- shards/shard-001796.tarAdded+3
- shards/shard-001797.tarAdded+3
- shards/shard-001798.tarAdded+3
- shards/shard-001799.tarAdded+3
- shards/shard-001800.tarAdded+3
- shards/shard-001801.tarAdded+3
- shards/shard-001802.tarAdded+3
- shards/shard-001803.tarAdded+3
- shards/shard-001804.tarAdded+3
- shards/shard-001805.tarAdded+3
- shards/shard-001806.tarAdded+3
- shards/shard-001807.tarAdded+3
- shards/shard-001808.tarAdded+3
- shards/shard-001809.tarAdded+3
- shards/shard-001810.tarAdded+3
- shards/shard-001811.tarAdded+3
- shards/shard-001812.tarAdded+3
- shards/shard-001813.tarAdded+3
- shards/shard-001814.tarAdded+3
- shards/shard-001815.tarAdded+3
- shards/shard-001816.tarAdded+3
- shards/shard-001817.tarAdded+3
- shards/shard-001818.tarAdded+3
- shards/shard-001819.tarAdded+3
- shards/shard-001820.tarAdded+3
- shards/shard-001821.tarAdded+3
- shards/shard-001822.tarAdded+3
- shards/shard-001823.tarAdded+3
- shards/shard-001824.tarAdded+3
- shards/shard-001825.tarAdded+3
- shards/shard-001826.tarAdded+3
- shards/shard-001827.tarAdded+3
- shards/shard-001828.tarAdded+3
- shards/shard-001829.tarAdded+3
- shards/shard-001830.tarAdded+3
- tools/__pycache__/pack_shards_from_bos.cpython-311.pycAdded
- tools/materialize_from_bos.py+1-1
- tools/pack_shards_from_bos.py+15-5
12345678910111213141516171819202122237 unmodified lines313233343536373810 unmodified lines495051525354555657585960616263641 unmodified line66676869707172731 unmodified line757677787980818283848586877 unmodified lines95969798991001011021031041051061 unmodified line1081091101111121131143 unmodified lines118119120121122123124125126127128129130131132133134135136137---license: apache-2.0pretty_name: Pixal3D Mesh and Prompt Datasettags:- 3d-generation- 3d-editing- glb---# Pixal3D Mesh and Prompt DatasetThis release contains the mesh and prompt records used for the Pixal3D editing data. The recommended Hugging Face distribution uses uncompressed TAR shards so that complete edit groups can be streamed without creating hundreds of thousands of independent repository objects.## ScopeThe public release contains only:- GLB mesh files for the complete three-stage edit chains.- The base caption and edit instruction associated with each stage.- Relative paths and SHA-256 checksums for integrity verification.Point clouds, latent tensors, latent metadata, optimizer state, trainer state, and other training artifacts are excluded from this release.7 unmodified linesThe package provides two manifest views:- `manifest/three_stage.jsonl` contains one record per complete group and preserves the full three-stage chain.- `manifest/two_stage.jsonl` contains one record per adjacent edit transition. Each group contributes a base-to-first-edit pair and a first-edit-to-second-edit pair.The release contains 119,905 complete groups, 359,715 stage records, and 239,810 adjacent edit pairs.10 unmodified lines```textREADME.mdLICENSEmanifest/three_stage.jsonlmanifest/two_stage.jsonlmanifest/three_stage_sharded.jsonlmanifest/shard_index.jsonlshards/shard-000000.tarshards/shard-000001.tar...```Each shard is an uncompressed TAR archive with a target size of approximately 2 GiB. A complete three-stage group is kept in one shard; a group is never split across shards. The TAR member names are the same relative mesh paths shown above. `manifest/shard_index.jsonl` maps each group and member to its shard, while `manifest/three_stage_sharded.jsonl` adds the shard reference to every mesh record. The uncompressed format avoids wasting CPU on already-compressed GLB buffers and supports standard TAR streaming and partial downloads.The shard packer accepts a mounted source tree and writes one shard at a time, so the full dataset does not need to fit on local disk.1 unmodified line```json{"schema_version": "pixal-open-source-record-v3","release_version": "pixal3d-mesh-prompt-20261102","group_key": "group_...","stage_chain": ["image0_base", "image1_edit1", "image2_edit2"],"stages": [1 unmodified line"stage": "image0_base","mesh": {"path": "meshes/group_.../image0_base/mesh_....glb","filename": "mesh_....glb","sha256": "..."},"prompt": {"text": "...","kind": "base_caption","sha256": "...","parent_stage": null}}7 unmodified lines```bashpython tools/pack_shards_from_bos.py \--manifest manifest/three_stage.jsonl \--source-root /path/to/source/meshes \--output-root .```The packer verifies every source GLB against its manifest checksum while writing the TAR member. It writes `shards/`, `manifest/three_stage_sharded.jsonl`, and `manifest/shard_index.jsonl`. Use `--max-groups N` for a bounded smoke test. A production run can be executed on a host with enough temporary space for one shard and uploaded shard by shard to the Hugging Face repository.## Materializing mesh files1 unmodified line```bashpython tools/materialize_from_bos.py \--manifest manifest/three_stage.jsonl \--source-root /path/to/source/meshes \--output-root . \--group-key group_...3 unmodified lines## VerificationThe manifest records the SHA-256 value of every expected GLB. After materialization, verify a file with:```bashsha256sum meshes/<group_key>/<stage>/<filename>.glb```The expected values are in the corresponding `mesh.sha256` field. `manifest/sha256sums.txt` verifies the release metadata files themselves.## Attribution and limitationsThe meshes are released as the Pixal3D mesh and prompt data associated with EVA01. The prompts describe the base object and the sequential edit instructions; they are not human-authored annotations for every geometric property. The GLB files may contain vertex colors and material information supported by the source generation pipeline. Consumers should validate rendering and downstream licensing requirements for their intended use.This release does not include the EVA01 model weights or the TRELLIS.2 VAE/decoder weights. Those assets are distributed separately by their respective model repositories.## LicenseThis dataset is released under the Apache License 2.0. See [LICENSE](LICENSE). The license applies to the released dataset materials; users remain responsible for checking any rights or restrictions associated with downstream assets and intended use.123456789101112131415161718192021222324252627287 unmodified lines363738394041424310 unmodified lines545556575859606162636465666768691 unmodified line71727374757677781 unmodified line80818283848586878889907 unmodified lines98991001011021031041051061071081091 unmodified line1111121131141151161173 unmodified lines121122123124125126127128129130131132133134135136137138139140141142143144145146---license: apache-2.0pretty_name: EVA01-Edit datasetmodalities:- 3D- texttags:- 3d- 3d-generation- 3d-editing- glb---# EVA01-Edit datasetThis release contains the mesh and prompt records used for the EVA01-Edit data. The recommended Hugging Face distribution uses uncompressed TAR shards so that complete edit groups can be streamed without creating hundreds of thousands of independent repository objects.## ScopeThe public release has two modalities: 3D meshes and text prompts. It contains only:- GLB mesh files for the complete three-stage edit chains.- The base caption and edit instruction associated with each stage.- Relative paths for mesh lookup and prompt metadata.- Release metadata checksums.Point clouds, latent tensors, latent metadata, optimizer state, trainer state, and other training artifacts are excluded from this release.7 unmodified linesThe package provides two manifest views:- `manifest/eva01_edit_three_stage.jsonl` contains one record per complete group and preserves the full three-stage chain.- `manifest/eva01_edit_two_stage.jsonl` contains one record per adjacent edit transition. Each group contributes a base-to-first-edit pair and a first-edit-to-second-edit pair.The release contains 119,905 complete groups, 359,715 stage records, and 239,810 adjacent edit pairs.10 unmodified lines```textREADME.mdLICENSEmanifest/eva01_edit_three_stage.jsonlmanifest/eva01_edit_two_stage.jsonlmanifest/eva01_edit_three_stage_sharded.jsonlmanifest/eva01_edit_shard_index.jsonlshards/shard-000000.tarshards/shard-000001.tar...```Each shard is an uncompressed TAR archive with a target size of approximately 2 GiB. A complete three-stage group is kept in one shard; a group is never split across shards. The TAR member names are the same relative mesh paths shown above. `manifest/eva01_edit_shard_index.jsonl` maps each group and member to its shard, while `manifest/eva01_edit_three_stage_sharded.jsonl` adds the shard reference to every mesh record. The uncompressed format avoids wasting CPU on already-compressed GLB buffers and supports standard TAR streaming and partial downloads.The shard packer accepts a mounted source tree and writes one shard at a time, so the full dataset does not need to fit on local disk.1 unmodified line```json{"schema_version": "eva01_edit","release_version": "eva01_edit","group_key": "group_...","stage_chain": ["image0_base", "image1_edit1", "image2_edit2"],"stages": [1 unmodified line"stage": "image0_base","mesh": {"path": "meshes/group_.../image0_base/mesh_....glb","filename": "mesh_....glb"},"prompt": {"text": "...","kind": "base_caption","parent_stage": null}}7 unmodified lines```bashpython tools/pack_shards_from_bos.py \--manifest manifest/eva01_edit_three_stage.jsonl \--source-root /path/to/source/meshes \--output-root .```When an input manifest contains source checksums, the packer verifies every source GLB while writing the TAR member. The public output records only TAR shard checksums. It writes `shards/`, `manifest/eva01_edit_three_stage_sharded.jsonl`, and `manifest/eva01_edit_shard_index.jsonl`; this release does not publish shard checksums. Use `--max-groups N` for a bounded smoke test. A production run can be executed on a host with enough temporary space for one shard and uploaded shard by shard to the Hugging Face repository.## Materializing mesh files1 unmodified line```bashpython tools/materialize_from_bos.py \--manifest manifest/eva01_edit_three_stage.jsonl \--source-root /path/to/source/meshes \--output-root . \--group-key group_...3 unmodified lines## VerificationThe public manifest does not include a SHA-256 field for every mesh. The public release does not publish per-mesh or TAR checksums. Hugging Face upload integrity and the manifest structure provide the release verification surface. The TAR member names and prompt records are listed in the corresponding manifest. The packer verifies source meshes when input checksums are available, while per-mesh checksums are intentionally omitted from the public schema.## Attribution and limitationsThe meshes are released as the EVA01-Edit mesh and prompt data associated with EVA01. The prompts describe the base object and the sequential edit instructions; they are not human-authored annotations for every geometric property. The GLB files may contain vertex colors and material information supported by the source generation pipeline. Consumers should validate rendering and downstream licensing requirements for their intended use.This release does not include the EVA01 model weights or the TRELLIS.2 VAE/decoder weights. Those assets are distributed separately by their respective model repositories.## LicenseThis dataset is released under the Apache License 2.0. See [LICENSE](LICENSE). The license applies to the released dataset materials; users remain responsible for checking any rights or restrictions associated with downstream assets and intended use.## Citation```bibtex@misc{eva01_2026,title = {EVA01: Unified Native 3D Understanding and Generation via Mixture-of-Transformers},author = {Zongyuan Yang and Mingjing Yi and Wanli Ma and Chenzhuo Fan and Bocheng Li and Baolin Liu and Yuke Lou and Yingde Song and Yongping Xiong and Zhengdong Guo and Shimu Wang},year = {2026},eprint = {2605.16745},archivePrefix = {arXiv},primaryClass = {cs.CV}}```
12325a2e1280c0cafd21852aec8eaf2107ca7b36f7b02f99b50a6a7a5f6b0dfe55b manifest/eva01_edit_three_stage.jsonl17eb78ebf1199a4b42740253845834900ca5370e3575d2802a381f3b4e911a09 manifest/eva01_edit_two_stage.jsonl5eae4936743dc05d89c05a80b11ee00bacfd6a5852d05a4ccf50ca58893fa526 metadata/eva01_edit_release_receipt.json1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374{ "schema_version": "eva01_edit", "release_version": "eva01_edit", "created_at": "2026-11-02T00:00:00Z", "scope": [ "mesh", "prompt" ], "excluded_assets": [ "point_cloud", "latent", "safetensors", "training_artifacts" ], "three_stage": { "groups": 119905, "records": 119905, "stages_per_group": 3 }, "two_stage": { "groups": 119905, "records": 239810, "pairs_per_group": 2 }, "stage_chain": [ "image0_base", "image1_edit1", "image2_edit2" ], "materialization": { "status": "pending", "mesh_files": 359715, "source_validation": "manifest checksums are inherited from the verified source release; full local materialization is pending" }, "validation": { "prompt_nonempty": true, "internal_paths_removed": true, "internal_fields_removed": true, "full_glb_hash_validation": "pending", "prompt_sha256_verified": true, "manifest_structure_verified": true }, "license": "Apache-2.0", "smoke_validation": { "groups": 1, "mesh_files": 3, "sha256_matches": true, "glb_header_validation": true }, "distribution": { "format": "uncompressed_tar_shards", "target_shard_size_bytes": 2147483648, "group_atomicity": "a complete three-stage group stays in one shard", "mesh_member_layout": "meshes/<group_key>/<stage>/<filename>.glb", "status": "planned", "packer": "tools/pack_shards_from_bos.py", "checksum_file": null, "checksum_status": "omitted_by_release_decision" }, "shard_smoke_validation": { "groups": 1, "mesh_files": 3, "shards": 1, "checksum_matches": true, "tar_member_validation": true }, "dataset_name": "EVA01-Edit", "public_checksum_policy": "Per-mesh and TAR checksums are omitted from this release; source meshes were verified during packing when source checksums were available.", "upload": { "status": "in_progress", "repo": "SEELE-AI/EVA-Edit", "revision": "main" }}123version https://git-lfs.github.com/spec/v1oid sha256:4bff1d411ac1a50de37ec1c108f9be5aea2a02b8943846210f3ee87af79bda67size 2139310080123version https://git-lfs.github.com/spec/v1oid sha256:c39502b057461a2853e27d871874bcc7a636934baf553d3b7986eb002645d770size 2139832320123version https://git-lfs.github.com/spec/v1oid sha256:ac654df52a9d9bd4df5768436442061e06427c2200dd98c643dab68d888be895size 2137661440123version https://git-lfs.github.com/spec/v1oid sha256:838e1a17cec6380b3ecda3d3948d35e33f58176addb0bdf49e218ec99faced3asize 2146590720123version https://git-lfs.github.com/spec/v1oid sha256:82325f9180253b4f9442390713464f1bf4140eb396ee52eb703989a5aa631cdcsize 2131496960123version https://git-lfs.github.com/spec/v1oid sha256:0535ca38c4b1e040d38703a89574bacd1142157230c10170d985207b2af75117size 2142556160123version https://git-lfs.github.com/spec/v1oid sha256:295fba584d30513a1195ff2533d20ce2f595e089a8cedea5604fe8e50a0a5271size 2121349120123version https://git-lfs.github.com/spec/v1oid sha256:d6df0c5da5ad52dc8a5553fe6f6b495787e4b2343af5122e401f329fa13b92f0size 2116802560123version https://git-lfs.github.com/spec/v1oid sha256:58f957494fc5d0cd142c771794e051e565cabd4c025b8bac4d100656a4b829a7size 2122833920123version https://git-lfs.github.com/spec/v1oid sha256:43e5592df157471e2226ee166d0284b5922d1e70a05f273cf1b564507c42b19esize 2125434880123version https://git-lfs.github.com/spec/v1oid sha256:85b92e676274ada81a3859129bcaa57be6883312044f53babf443280624c73a0size 2146150400123version https://git-lfs.github.com/spec/v1oid sha256:22a998ad419bb20afa2d26f620a9763efae8b0ac9a35cea85447edb387418021size 2144327680123version https://git-lfs.github.com/spec/v1oid sha256:3fd0b67abb5ed0241f58cb5b92fa7ab219d7c673dee59aef5547dfce1a96c7b2size 2120652800123version https://git-lfs.github.com/spec/v1oid sha256:560bb505c4aae6d3a28973dbab3fb197cf83733847638b0c45c9679ec1f6b45asize 2127964160123version https://git-lfs.github.com/spec/v1oid sha256:38ad988e78d58fb422b4b7529cdfd036422df89a17458c38fd1dd837b33be02bsize 2140487680123version https://git-lfs.github.com/spec/v1oid sha256:75d60ccc959f2dc6ac6b2743d4a560f2282465fde4acf7c0406aec8ceb79432esize 2126848000123version https://git-lfs.github.com/spec/v1oid sha256:8b9929627ba2bec8a377965d72a64d409ecc535f04ab326200e125587d9f9635size 2131066880123version https://git-lfs.github.com/spec/v1oid sha256:2306e9be7a45dfdafa3baad68318fef4e9f3db7cbd22c1434c3f0b8000ab0665size 2144460800123version https://git-lfs.github.com/spec/v1oid sha256:0d36abbd88ea96b96d481ccb2588f1f0d018aae06fb88937955421da1def8834size 2122792960123version https://git-lfs.github.com/spec/v1oid sha256:d6ed1ff0c8ad796ca29bf8dff13d9a26335e0a1667d97d28bae5846a73d57fdesize 2119649280123version https://git-lfs.github.com/spec/v1oid sha256:68ba39b6714c4c946bab84a2c42cb29cdb56fc61aecb70fa90762ee86eb33d57size 2113402880123version https://git-lfs.github.com/spec/v1oid sha256:208439e2977b7d9581be058b20a546e2d44f069e109d112b1ac9fb69be39f5f8size 2139381760123version https://git-lfs.github.com/spec/v1oid sha256:a31cb060c7219d15e1682c89d59671527281411710b343058c357902b3f38979size 2134968320123version https://git-lfs.github.com/spec/v1oid sha256:2ec71469224b7546c2e72288f43f65724322df563853b6cb080b5adffa88b2c9size 2126622720123version https://git-lfs.github.com/spec/v1oid sha256:2ce3e9c6a96d55b72be465dbed849216bd45d548cde317cb09a9975cec027c0csize 2141706240123version https://git-lfs.github.com/spec/v1oid sha256:7a5ed16e86755686e03ce3763f6c0e99038a4b6610411adcd168a64c9294839csize 2137907200123version https://git-lfs.github.com/spec/v1oid sha256:5f51abc9e0885b3eedfae05704fc714dd04627dde0ed7ca3df5a22e61726aae9size 2141798400123version https://git-lfs.github.com/spec/v1oid sha256:6dd318617458b5f22c9e52cdd6ec2b8dd10001bd17f093a412a15b554e08bc44size 2119198720123version https://git-lfs.github.com/spec/v1oid sha256:3d34dea544728c95e5003eeafabc4dddafbdafb60166daaa26c5f36571c8a66csize 2145126400123version https://git-lfs.github.com/spec/v1oid sha256:adb4b4240aae7172dbef72b7abc6e6014c44b618cf41f220370fa89e37776f2asize 2131527680123version https://git-lfs.github.com/spec/v1oid sha256:08bd756b0791562174f046374a3411060393bbe19e0e80d287d79ae03815a0e0size 2128486400123version https://git-lfs.github.com/spec/v1oid sha256:95efdcf99a71ac5cdc24b09e04b012abebc1eeac1c379038fee1ebd0c3210277size 2131609600123version https://git-lfs.github.com/spec/v1oid sha256:a04895b526f6dd033ccea895a8b1d7c4bbb6aa458ca34aa42dcabf5b15fdaa58size 2127482880123version https://git-lfs.github.com/spec/v1oid sha256:97b34a08b1a1ed293b737a18be57d63e84cf6a42f5a900bddf3f9765a1653e4esize 2112491520123version https://git-lfs.github.com/spec/v1oid sha256:a7f052e6f463f2e8c54bacecd8e37cf87cbab65026d447b4cc6fe044ec210d27size 2116904960123version https://git-lfs.github.com/spec/v1oid sha256:0d62826d12fa4e83ca08166cf47b2d219be09297ff687910239776b524d72b6bsize 2133719040123version https://git-lfs.github.com/spec/v1oid sha256:4854c75c0ac09ce69a3711fa4d27eda3cd15b09dfee0cd70f7c022f88afb3086size 2139320320123version https://git-lfs.github.com/spec/v1oid sha256:ccc25f7be9492e7a1623902508be0e91f1663c33f3fb49692b3c6a0417046371size 2137538560123version https://git-lfs.github.com/spec/v1oid sha256:908e562194df2f1b496d91330739d5271db19fb0b91e95e46f4290152eff7c32size 2147368960123version https://git-lfs.github.com/spec/v1oid sha256:c34565ca07fb795f6d6116960feeee12094c184b04852c143bef568f641315a9size 2129408000123version https://git-lfs.github.com/spec/v1oid sha256:f0d2b6fff3d3550cd0f2ce881fcd539561445806c30206af04e4ae06da0725f7size 2141399040123version https://git-lfs.github.com/spec/v1oid sha256:9eac8c723e1e0ab3bbb766ff08cc6ad15dee0d3914f0f6d1fb8fb9e98f0692f8size 2124267520123version https://git-lfs.github.com/spec/v1oid sha256:5fd06313af1fee2485d7bb596e23c064c4d767842cbcf0705b17968fa3008185size 211910656068 unmodified lines6970717273747568 unmodified linesdef main() -> None:parser = argparse.ArgumentParser(description=__doc__)parser.add_argument('--manifest', type=Path, required=True, help='Sanitized three-stage JSONL manifest')parser.add_argument('--source-root', type=Path, required=True, help='Mounted source mesh root or its parent dataset root')parser.add_argument('--output-root', type=Path, default=Path('.'), help='Output dataset root')parser.add_argument('--group-key', action='append', help='Materialize only this group; may be repeated')68 unmodified lines6970717273747568 unmodified linesdef main() -> None:parser = argparse.ArgumentParser(description=__doc__)parser.add_argument('--manifest', type=Path, required=True, help='Sanitized EVA01-Edit three-stage JSONL manifest')parser.add_argument('--source-root', type=Path, required=True, help='Mounted source mesh root or its parent dataset root')parser.add_argument('--output-root', type=Path, default=Path('.'), help='Output dataset root')parser.add_argument('--group-key', action='append', help='Materialize only this group; may be repeated')
45 unmodified lines464748495051525 unmodified lines5859606162636465666768697035 unmodified lines10610710810911011111214 unmodified lines1271281291301311321331341354 unmodified lines14014114214314414545 unmodified linesself.digest.update(data)return datadef add_verified_file(tar: tarfile.TarFile, source: Path, member: str, expected: str) -> int:info = tar.gettarinfo(str(source), arcname=member)info.uid = 0info.gid = 05 unmodified linesreader = HashReader(handle)tar.addfile(info, reader)actual = reader.digest.hexdigest()if actual != expected:raise RuntimeError(f'checksum mismatch for {member}: expected {expected}, got {actual}')return info.sizedef main() -> None:parser = argparse.ArgumentParser(description=__doc__)parser.add_argument('--manifest', type=Path, required=True, help='Sanitized three-stage JSONL manifest')parser.add_argument('--source-root', type=Path, required=True, help='Mounted source mesh root or its parent dataset root')parser.add_argument('--output-root', type=Path, required=True, help='Directory containing shards/ and manifest/')parser.add_argument('--max-shard-bytes', type=int, default=DEFAULT_MAX_SHARD_BYTES, help='Target uncompressed payload per shard')35 unmodified linesraise RuntimeError(f'missing mesh metadata for {group_key}')member = mesh.get('path')expected = mesh.get('sha256')if not isinstance(member, str) or not isinstance(expected, str):raise RuntimeError(f'invalid mesh metadata for {group_key}')source = resolve_source(args.source_root, member)size = source.stat().st_size14 unmodified linespacked_size = add_verified_file(current_tar, source, member, expected)current_payload += packed_sizemesh_out = sharded['stages'][stage_index]['mesh']mesh_out['shard'] = current_shard_namemesh_out['member'] = memberindex_members.append({'stage': stage['stage'], 'member': member, 'sha256': expected})mesh_files += 1sharded_line = json.dumps(sharded, ensure_ascii=False, separators=(',', ':'))manifest_out.write(sharded_line + '\n')4 unmodified linesfinally:if current_tar is not None:current_tar.close()print(json.dumps({'groups': groups, 'mesh_files': mesh_files, 'shards': shard_count, 'target_shard_bytes': args.max_shard_bytes}, indent=2))if __name__ == '__main__':45 unmodified lines464748495051525 unmodified lines5859606162636465666768697035 unmodified lines10610710810911011111214 unmodified lines1271281291301311321331341351364 unmodified lines14114214314414514614714814915015115215315415545 unmodified linesself.digest.update(data)return datadef add_verified_file(tar: tarfile.TarFile, source: Path, member: str, expected: str | None) -> int:info = tar.gettarinfo(str(source), arcname=member)info.uid = 0info.gid = 05 unmodified linesreader = HashReader(handle)tar.addfile(info, reader)actual = reader.digest.hexdigest()if expected is not None and actual != expected:raise RuntimeError(f'checksum mismatch for {member}: expected {expected}, got {actual}')return info.sizedef main() -> None:parser = argparse.ArgumentParser(description=__doc__)parser.add_argument('--manifest', type=Path, required=True, help='Sanitized EVA01-Edit three-stage JSONL manifest')parser.add_argument('--source-root', type=Path, required=True, help='Mounted source mesh root or its parent dataset root')parser.add_argument('--output-root', type=Path, required=True, help='Directory containing shards/ and manifest/')parser.add_argument('--max-shard-bytes', type=int, default=DEFAULT_MAX_SHARD_BYTES, help='Target uncompressed payload per shard')35 unmodified linesraise RuntimeError(f'missing mesh metadata for {group_key}')member = mesh.get('path')expected = mesh.get('sha256')if not isinstance(member, str) or (expected is not None and not isinstance(expected, str)):raise RuntimeError(f'invalid mesh metadata for {group_key}')source = resolve_source(args.source_root, member)size = source.stat().st_size14 unmodified linespacked_size = add_verified_file(current_tar, source, member, expected)current_payload += packed_sizemesh_out = sharded['stages'][stage_index]['mesh']mesh_out.pop('sha256', None)mesh_out['shard'] = current_shard_namemesh_out['member'] = memberindex_members.append({'stage': stage['stage'], 'member': member})mesh_files += 1sharded_line = json.dumps(sharded, ensure_ascii=False, separators=(',', ':'))manifest_out.write(sharded_line + '\n')4 unmodified linesfinally:if current_tar is not None:current_tar.close()checksum_path = manifest_dir / 'eva01_edit_shard_checksums.txt'checksum_lines = []for tar_path in sorted(shards_dir.glob('*.tar')):digest = hashlib.sha256()with tar_path.open('rb') as handle:for chunk in iter(lambda: handle.read(1024 * 1024), b''):digest.update(chunk)checksum_lines.append(f'{digest.hexdigest()} shards/{tar_path.name}')checksum_path.write_text('\n'.join(checksum_lines) + '\n')print(json.dumps({'groups': groups, 'mesh_files': mesh_files, 'shards': shard_count, 'target_shard_bytes': args.max_shard_bytes}, indent=2))if __name__ == '__main__':
README.md+37-28
manifest/eva01_edit_sha256sums.txtAdded+3
metadata/eva01_edit_release_receipt.jsonAdded+74
shards/shard-001788.tarAdded+3
shards/shard-001789.tarAdded+3
shards/shard-001790.tarAdded+3
shards/shard-001791.tarAdded+3
shards/shard-001792.tarAdded+3
shards/shard-001793.tarAdded+3
shards/shard-001794.tarAdded+3
shards/shard-001795.tarAdded+3
shards/shard-001796.tarAdded+3
shards/shard-001797.tarAdded+3
shards/shard-001798.tarAdded+3
shards/shard-001799.tarAdded+3
shards/shard-001800.tarAdded+3
shards/shard-001801.tarAdded+3
shards/shard-001802.tarAdded+3
shards/shard-001803.tarAdded+3
shards/shard-001804.tarAdded+3
shards/shard-001805.tarAdded+3
shards/shard-001806.tarAdded+3
shards/shard-001807.tarAdded+3
shards/shard-001808.tarAdded+3
shards/shard-001809.tarAdded+3
shards/shard-001810.tarAdded+3
shards/shard-001811.tarAdded+3
shards/shard-001812.tarAdded+3
shards/shard-001813.tarAdded+3
shards/shard-001814.tarAdded+3
shards/shard-001815.tarAdded+3
shards/shard-001816.tarAdded+3
shards/shard-001817.tarAdded+3
shards/shard-001818.tarAdded+3
shards/shard-001819.tarAdded+3
shards/shard-001820.tarAdded+3
shards/shard-001821.tarAdded+3
shards/shard-001822.tarAdded+3
shards/shard-001823.tarAdded+3
shards/shard-001824.tarAdded+3
shards/shard-001825.tarAdded+3
shards/shard-001826.tarAdded+3
shards/shard-001827.tarAdded+3
shards/shard-001828.tarAdded+3
shards/shard-001829.tarAdded+3
shards/shard-001830.tarAdded+3
tools/__pycache__/pack_shards_from_bos.cpython-311.pycAdded
tools/materialize_from_bos.py+1-1
tools/pack_shards_from_bos.py+15-5