Add files using upload-large-folder tool
Browse files- README.md +37 -28
- manifest/eva01_edit_sha256sums.txt +3 -0
- metadata/eva01_edit_release_receipt.json +74 -0
- shards/shard-001788.tar +3 -0
- shards/shard-001789.tar +3 -0
- shards/shard-001790.tar +3 -0
- shards/shard-001791.tar +3 -0
- shards/shard-001792.tar +3 -0
- shards/shard-001793.tar +3 -0
- shards/shard-001794.tar +3 -0
- shards/shard-001795.tar +3 -0
- shards/shard-001796.tar +3 -0
- shards/shard-001797.tar +3 -0
- shards/shard-001798.tar +3 -0
- shards/shard-001799.tar +3 -0
- shards/shard-001800.tar +3 -0
- shards/shard-001801.tar +3 -0
- shards/shard-001802.tar +3 -0
- shards/shard-001803.tar +3 -0
- shards/shard-001804.tar +3 -0
- shards/shard-001805.tar +3 -0
- shards/shard-001806.tar +3 -0
- shards/shard-001807.tar +3 -0
- shards/shard-001808.tar +3 -0
- shards/shard-001809.tar +3 -0
- shards/shard-001810.tar +3 -0
- shards/shard-001811.tar +3 -0
- shards/shard-001812.tar +3 -0
- shards/shard-001813.tar +3 -0
- shards/shard-001814.tar +3 -0
- shards/shard-001815.tar +3 -0
- shards/shard-001816.tar +3 -0
- shards/shard-001817.tar +3 -0
- shards/shard-001818.tar +3 -0
- shards/shard-001819.tar +3 -0
- shards/shard-001820.tar +3 -0
- shards/shard-001821.tar +3 -0
- shards/shard-001822.tar +3 -0
- shards/shard-001823.tar +3 -0
- shards/shard-001824.tar +3 -0
- shards/shard-001825.tar +3 -0
- shards/shard-001826.tar +3 -0
- shards/shard-001827.tar +3 -0
- shards/shard-001828.tar +3 -0
- shards/shard-001829.tar +3 -0
- shards/shard-001830.tar +3 -0
- tools/__pycache__/pack_shards_from_bos.cpython-311.pyc +0 -0
- tools/materialize_from_bos.py +1 -1
- tools/pack_shards_from_bos.py +15 -5
README.md
CHANGED
|
@@ -1,23 +1,28 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
-
pretty_name:
|
|
|
|
|
|
|
|
|
|
| 4 |
tags:
|
|
|
|
| 5 |
- 3d-generation
|
| 6 |
- 3d-editing
|
| 7 |
- glb
|
| 8 |
---
|
| 9 |
|
| 10 |
-
#
|
| 11 |
|
| 12 |
-
This release contains the mesh and prompt records used for the
|
| 13 |
|
| 14 |
## Scope
|
| 15 |
|
| 16 |
-
The public release contains only:
|
| 17 |
|
| 18 |
- GLB mesh files for the complete three-stage edit chains.
|
| 19 |
- The base caption and edit instruction associated with each stage.
|
| 20 |
-
- Relative paths
|
|
|
|
| 21 |
|
| 22 |
Point clouds, latent tensors, latent metadata, optimizer state, trainer state, and other training artifacts are excluded from this release.
|
| 23 |
|
|
@@ -31,8 +36,8 @@ Each complete group contains the following ordered stages:
|
|
| 31 |
|
| 32 |
The package provides two manifest views:
|
| 33 |
|
| 34 |
-
- `manifest/
|
| 35 |
-
- `manifest/
|
| 36 |
|
| 37 |
The release contains 119,905 complete groups, 359,715 stage records, and 239,810 adjacent edit pairs.
|
| 38 |
|
|
@@ -49,16 +54,16 @@ The upload package should use the following layout:
|
|
| 49 |
```text
|
| 50 |
README.md
|
| 51 |
LICENSE
|
| 52 |
-
manifest/
|
| 53 |
-
manifest/
|
| 54 |
-
manifest/
|
| 55 |
-
manifest/
|
| 56 |
shards/shard-000000.tar
|
| 57 |
shards/shard-000001.tar
|
| 58 |
...
|
| 59 |
```
|
| 60 |
|
| 61 |
-
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/
|
| 62 |
|
| 63 |
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.
|
| 64 |
|
|
@@ -66,8 +71,8 @@ A three-stage manifest record has the following shape:
|
|
| 66 |
|
| 67 |
```json
|
| 68 |
{
|
| 69 |
-
"schema_version": "
|
| 70 |
-
"release_version": "
|
| 71 |
"group_key": "group_...",
|
| 72 |
"stage_chain": ["image0_base", "image1_edit1", "image2_edit2"],
|
| 73 |
"stages": [
|
|
@@ -75,13 +80,11 @@ A three-stage manifest record has the following shape:
|
|
| 75 |
"stage": "image0_base",
|
| 76 |
"mesh": {
|
| 77 |
"path": "meshes/group_.../image0_base/mesh_....glb",
|
| 78 |
-
"filename": "mesh_....glb"
|
| 79 |
-
"sha256": "..."
|
| 80 |
},
|
| 81 |
"prompt": {
|
| 82 |
"text": "...",
|
| 83 |
"kind": "base_caption",
|
| 84 |
-
"sha256": "...",
|
| 85 |
"parent_stage": null
|
| 86 |
}
|
| 87 |
}
|
|
@@ -95,12 +98,12 @@ For the full release, pack the sanitized three-stage manifest into approximately
|
|
| 95 |
|
| 96 |
```bash
|
| 97 |
python tools/pack_shards_from_bos.py \
|
| 98 |
-
--manifest manifest/
|
| 99 |
--source-root /path/to/source/meshes \
|
| 100 |
--output-root .
|
| 101 |
```
|
| 102 |
|
| 103 |
-
|
| 104 |
|
| 105 |
## Materializing mesh files
|
| 106 |
|
|
@@ -108,7 +111,7 @@ The manifests are metadata-only until the GLB files are materialized into the `m
|
|
| 108 |
|
| 109 |
```bash
|
| 110 |
python tools/materialize_from_bos.py \
|
| 111 |
-
--manifest manifest/
|
| 112 |
--source-root /path/to/source/meshes \
|
| 113 |
--output-root . \
|
| 114 |
--group-key group_...
|
|
@@ -118,20 +121,26 @@ Use `--max-groups N` for a bounded batch. Use `--verify-only` to check source av
|
|
| 118 |
|
| 119 |
## Verification
|
| 120 |
|
| 121 |
-
The manifest
|
| 122 |
-
|
| 123 |
-
```bash
|
| 124 |
-
sha256sum meshes/<group_key>/<stage>/<filename>.glb
|
| 125 |
-
```
|
| 126 |
-
|
| 127 |
-
The expected values are in the corresponding `mesh.sha256` field. `manifest/sha256sums.txt` verifies the release metadata files themselves.
|
| 128 |
|
| 129 |
## Attribution and limitations
|
| 130 |
|
| 131 |
-
The meshes are released as the
|
| 132 |
|
| 133 |
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.
|
| 134 |
|
| 135 |
## License
|
| 136 |
|
| 137 |
This 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
pretty_name: EVA01-Edit dataset
|
| 4 |
+
modalities:
|
| 5 |
+
- 3D
|
| 6 |
+
- text
|
| 7 |
tags:
|
| 8 |
+
- 3d
|
| 9 |
- 3d-generation
|
| 10 |
- 3d-editing
|
| 11 |
- glb
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# EVA01-Edit dataset
|
| 15 |
|
| 16 |
+
This 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.
|
| 17 |
|
| 18 |
## Scope
|
| 19 |
|
| 20 |
+
The public release has two modalities: 3D meshes and text prompts. It contains only:
|
| 21 |
|
| 22 |
- GLB mesh files for the complete three-stage edit chains.
|
| 23 |
- The base caption and edit instruction associated with each stage.
|
| 24 |
+
- Relative paths for mesh lookup and prompt metadata.
|
| 25 |
+
- Release metadata checksums.
|
| 26 |
|
| 27 |
Point clouds, latent tensors, latent metadata, optimizer state, trainer state, and other training artifacts are excluded from this release.
|
| 28 |
|
|
|
|
| 36 |
|
| 37 |
The package provides two manifest views:
|
| 38 |
|
| 39 |
+
- `manifest/eva01_edit_three_stage.jsonl` contains one record per complete group and preserves the full three-stage chain.
|
| 40 |
+
- `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.
|
| 41 |
|
| 42 |
The release contains 119,905 complete groups, 359,715 stage records, and 239,810 adjacent edit pairs.
|
| 43 |
|
|
|
|
| 54 |
```text
|
| 55 |
README.md
|
| 56 |
LICENSE
|
| 57 |
+
manifest/eva01_edit_three_stage.jsonl
|
| 58 |
+
manifest/eva01_edit_two_stage.jsonl
|
| 59 |
+
manifest/eva01_edit_three_stage_sharded.jsonl
|
| 60 |
+
manifest/eva01_edit_shard_index.jsonl
|
| 61 |
shards/shard-000000.tar
|
| 62 |
shards/shard-000001.tar
|
| 63 |
...
|
| 64 |
```
|
| 65 |
|
| 66 |
+
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.
|
| 67 |
|
| 68 |
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.
|
| 69 |
|
|
|
|
| 71 |
|
| 72 |
```json
|
| 73 |
{
|
| 74 |
+
"schema_version": "eva01_edit",
|
| 75 |
+
"release_version": "eva01_edit",
|
| 76 |
"group_key": "group_...",
|
| 77 |
"stage_chain": ["image0_base", "image1_edit1", "image2_edit2"],
|
| 78 |
"stages": [
|
|
|
|
| 80 |
"stage": "image0_base",
|
| 81 |
"mesh": {
|
| 82 |
"path": "meshes/group_.../image0_base/mesh_....glb",
|
| 83 |
+
"filename": "mesh_....glb"
|
|
|
|
| 84 |
},
|
| 85 |
"prompt": {
|
| 86 |
"text": "...",
|
| 87 |
"kind": "base_caption",
|
|
|
|
| 88 |
"parent_stage": null
|
| 89 |
}
|
| 90 |
}
|
|
|
|
| 98 |
|
| 99 |
```bash
|
| 100 |
python tools/pack_shards_from_bos.py \
|
| 101 |
+
--manifest manifest/eva01_edit_three_stage.jsonl \
|
| 102 |
--source-root /path/to/source/meshes \
|
| 103 |
--output-root .
|
| 104 |
```
|
| 105 |
|
| 106 |
+
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.
|
| 107 |
|
| 108 |
## Materializing mesh files
|
| 109 |
|
|
|
|
| 111 |
|
| 112 |
```bash
|
| 113 |
python tools/materialize_from_bos.py \
|
| 114 |
+
--manifest manifest/eva01_edit_three_stage.jsonl \
|
| 115 |
--source-root /path/to/source/meshes \
|
| 116 |
--output-root . \
|
| 117 |
--group-key group_...
|
|
|
|
| 121 |
|
| 122 |
## Verification
|
| 123 |
|
| 124 |
+
The 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
|
| 126 |
## Attribution and limitations
|
| 127 |
|
| 128 |
+
The 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.
|
| 129 |
|
| 130 |
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.
|
| 131 |
|
| 132 |
## License
|
| 133 |
|
| 134 |
This 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.
|
| 135 |
+
## Citation
|
| 136 |
+
|
| 137 |
+
```bibtex
|
| 138 |
+
@misc{eva01_2026,
|
| 139 |
+
title = {EVA01: Unified Native 3D Understanding and Generation via Mixture-of-Transformers},
|
| 140 |
+
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},
|
| 141 |
+
year = {2026},
|
| 142 |
+
eprint = {2605.16745},
|
| 143 |
+
archivePrefix = {arXiv},
|
| 144 |
+
primaryClass = {cs.CV}
|
| 145 |
+
}
|
| 146 |
+
```
|
manifest/eva01_edit_sha256sums.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
25a2e1280c0cafd21852aec8eaf2107ca7b36f7b02f99b50a6a7a5f6b0dfe55b manifest/eva01_edit_three_stage.jsonl
|
| 2 |
+
17eb78ebf1199a4b42740253845834900ca5370e3575d2802a381f3b4e911a09 manifest/eva01_edit_two_stage.jsonl
|
| 3 |
+
5eae4936743dc05d89c05a80b11ee00bacfd6a5852d05a4ccf50ca58893fa526 metadata/eva01_edit_release_receipt.json
|
metadata/eva01_edit_release_receipt.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": "eva01_edit",
|
| 3 |
+
"release_version": "eva01_edit",
|
| 4 |
+
"created_at": "2026-11-02T00:00:00Z",
|
| 5 |
+
"scope": [
|
| 6 |
+
"mesh",
|
| 7 |
+
"prompt"
|
| 8 |
+
],
|
| 9 |
+
"excluded_assets": [
|
| 10 |
+
"point_cloud",
|
| 11 |
+
"latent",
|
| 12 |
+
"safetensors",
|
| 13 |
+
"training_artifacts"
|
| 14 |
+
],
|
| 15 |
+
"three_stage": {
|
| 16 |
+
"groups": 119905,
|
| 17 |
+
"records": 119905,
|
| 18 |
+
"stages_per_group": 3
|
| 19 |
+
},
|
| 20 |
+
"two_stage": {
|
| 21 |
+
"groups": 119905,
|
| 22 |
+
"records": 239810,
|
| 23 |
+
"pairs_per_group": 2
|
| 24 |
+
},
|
| 25 |
+
"stage_chain": [
|
| 26 |
+
"image0_base",
|
| 27 |
+
"image1_edit1",
|
| 28 |
+
"image2_edit2"
|
| 29 |
+
],
|
| 30 |
+
"materialization": {
|
| 31 |
+
"status": "pending",
|
| 32 |
+
"mesh_files": 359715,
|
| 33 |
+
"source_validation": "manifest checksums are inherited from the verified source release; full local materialization is pending"
|
| 34 |
+
},
|
| 35 |
+
"validation": {
|
| 36 |
+
"prompt_nonempty": true,
|
| 37 |
+
"internal_paths_removed": true,
|
| 38 |
+
"internal_fields_removed": true,
|
| 39 |
+
"full_glb_hash_validation": "pending",
|
| 40 |
+
"prompt_sha256_verified": true,
|
| 41 |
+
"manifest_structure_verified": true
|
| 42 |
+
},
|
| 43 |
+
"license": "Apache-2.0",
|
| 44 |
+
"smoke_validation": {
|
| 45 |
+
"groups": 1,
|
| 46 |
+
"mesh_files": 3,
|
| 47 |
+
"sha256_matches": true,
|
| 48 |
+
"glb_header_validation": true
|
| 49 |
+
},
|
| 50 |
+
"distribution": {
|
| 51 |
+
"format": "uncompressed_tar_shards",
|
| 52 |
+
"target_shard_size_bytes": 2147483648,
|
| 53 |
+
"group_atomicity": "a complete three-stage group stays in one shard",
|
| 54 |
+
"mesh_member_layout": "meshes/<group_key>/<stage>/<filename>.glb",
|
| 55 |
+
"status": "planned",
|
| 56 |
+
"packer": "tools/pack_shards_from_bos.py",
|
| 57 |
+
"checksum_file": null,
|
| 58 |
+
"checksum_status": "omitted_by_release_decision"
|
| 59 |
+
},
|
| 60 |
+
"shard_smoke_validation": {
|
| 61 |
+
"groups": 1,
|
| 62 |
+
"mesh_files": 3,
|
| 63 |
+
"shards": 1,
|
| 64 |
+
"checksum_matches": true,
|
| 65 |
+
"tar_member_validation": true
|
| 66 |
+
},
|
| 67 |
+
"dataset_name": "EVA01-Edit",
|
| 68 |
+
"public_checksum_policy": "Per-mesh and TAR checksums are omitted from this release; source meshes were verified during packing when source checksums were available.",
|
| 69 |
+
"upload": {
|
| 70 |
+
"status": "in_progress",
|
| 71 |
+
"repo": "SEELE-AI/EVA-Edit",
|
| 72 |
+
"revision": "main"
|
| 73 |
+
}
|
| 74 |
+
}
|
shards/shard-001788.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4bff1d411ac1a50de37ec1c108f9be5aea2a02b8943846210f3ee87af79bda67
|
| 3 |
+
size 2139310080
|
shards/shard-001789.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c39502b057461a2853e27d871874bcc7a636934baf553d3b7986eb002645d770
|
| 3 |
+
size 2139832320
|
shards/shard-001790.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ac654df52a9d9bd4df5768436442061e06427c2200dd98c643dab68d888be895
|
| 3 |
+
size 2137661440
|
shards/shard-001791.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:838e1a17cec6380b3ecda3d3948d35e33f58176addb0bdf49e218ec99faced3a
|
| 3 |
+
size 2146590720
|
shards/shard-001792.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82325f9180253b4f9442390713464f1bf4140eb396ee52eb703989a5aa631cdc
|
| 3 |
+
size 2131496960
|
shards/shard-001793.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0535ca38c4b1e040d38703a89574bacd1142157230c10170d985207b2af75117
|
| 3 |
+
size 2142556160
|
shards/shard-001794.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:295fba584d30513a1195ff2533d20ce2f595e089a8cedea5604fe8e50a0a5271
|
| 3 |
+
size 2121349120
|
shards/shard-001795.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6df0c5da5ad52dc8a5553fe6f6b495787e4b2343af5122e401f329fa13b92f0
|
| 3 |
+
size 2116802560
|
shards/shard-001796.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58f957494fc5d0cd142c771794e051e565cabd4c025b8bac4d100656a4b829a7
|
| 3 |
+
size 2122833920
|
shards/shard-001797.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43e5592df157471e2226ee166d0284b5922d1e70a05f273cf1b564507c42b19e
|
| 3 |
+
size 2125434880
|
shards/shard-001798.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85b92e676274ada81a3859129bcaa57be6883312044f53babf443280624c73a0
|
| 3 |
+
size 2146150400
|
shards/shard-001799.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:22a998ad419bb20afa2d26f620a9763efae8b0ac9a35cea85447edb387418021
|
| 3 |
+
size 2144327680
|
shards/shard-001800.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd0b67abb5ed0241f58cb5b92fa7ab219d7c673dee59aef5547dfce1a96c7b2
|
| 3 |
+
size 2120652800
|
shards/shard-001801.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:560bb505c4aae6d3a28973dbab3fb197cf83733847638b0c45c9679ec1f6b45a
|
| 3 |
+
size 2127964160
|
shards/shard-001802.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38ad988e78d58fb422b4b7529cdfd036422df89a17458c38fd1dd837b33be02b
|
| 3 |
+
size 2140487680
|
shards/shard-001803.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75d60ccc959f2dc6ac6b2743d4a560f2282465fde4acf7c0406aec8ceb79432e
|
| 3 |
+
size 2126848000
|
shards/shard-001804.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b9929627ba2bec8a377965d72a64d409ecc535f04ab326200e125587d9f9635
|
| 3 |
+
size 2131066880
|
shards/shard-001805.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2306e9be7a45dfdafa3baad68318fef4e9f3db7cbd22c1434c3f0b8000ab0665
|
| 3 |
+
size 2144460800
|
shards/shard-001806.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d36abbd88ea96b96d481ccb2588f1f0d018aae06fb88937955421da1def8834
|
| 3 |
+
size 2122792960
|
shards/shard-001807.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6ed1ff0c8ad796ca29bf8dff13d9a26335e0a1667d97d28bae5846a73d57fde
|
| 3 |
+
size 2119649280
|
shards/shard-001808.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68ba39b6714c4c946bab84a2c42cb29cdb56fc61aecb70fa90762ee86eb33d57
|
| 3 |
+
size 2113402880
|
shards/shard-001809.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:208439e2977b7d9581be058b20a546e2d44f069e109d112b1ac9fb69be39f5f8
|
| 3 |
+
size 2139381760
|
shards/shard-001810.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a31cb060c7219d15e1682c89d59671527281411710b343058c357902b3f38979
|
| 3 |
+
size 2134968320
|
shards/shard-001811.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ec71469224b7546c2e72288f43f65724322df563853b6cb080b5adffa88b2c9
|
| 3 |
+
size 2126622720
|
shards/shard-001812.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ce3e9c6a96d55b72be465dbed849216bd45d548cde317cb09a9975cec027c0c
|
| 3 |
+
size 2141706240
|
shards/shard-001813.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a5ed16e86755686e03ce3763f6c0e99038a4b6610411adcd168a64c9294839c
|
| 3 |
+
size 2137907200
|
shards/shard-001814.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f51abc9e0885b3eedfae05704fc714dd04627dde0ed7ca3df5a22e61726aae9
|
| 3 |
+
size 2141798400
|
shards/shard-001815.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6dd318617458b5f22c9e52cdd6ec2b8dd10001bd17f093a412a15b554e08bc44
|
| 3 |
+
size 2119198720
|
shards/shard-001816.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d34dea544728c95e5003eeafabc4dddafbdafb60166daaa26c5f36571c8a66c
|
| 3 |
+
size 2145126400
|
shards/shard-001817.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adb4b4240aae7172dbef72b7abc6e6014c44b618cf41f220370fa89e37776f2a
|
| 3 |
+
size 2131527680
|
shards/shard-001818.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08bd756b0791562174f046374a3411060393bbe19e0e80d287d79ae03815a0e0
|
| 3 |
+
size 2128486400
|
shards/shard-001819.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95efdcf99a71ac5cdc24b09e04b012abebc1eeac1c379038fee1ebd0c3210277
|
| 3 |
+
size 2131609600
|
shards/shard-001820.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a04895b526f6dd033ccea895a8b1d7c4bbb6aa458ca34aa42dcabf5b15fdaa58
|
| 3 |
+
size 2127482880
|
shards/shard-001821.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97b34a08b1a1ed293b737a18be57d63e84cf6a42f5a900bddf3f9765a1653e4e
|
| 3 |
+
size 2112491520
|
shards/shard-001822.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7f052e6f463f2e8c54bacecd8e37cf87cbab65026d447b4cc6fe044ec210d27
|
| 3 |
+
size 2116904960
|
shards/shard-001823.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d62826d12fa4e83ca08166cf47b2d219be09297ff687910239776b524d72b6b
|
| 3 |
+
size 2133719040
|
shards/shard-001824.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4854c75c0ac09ce69a3711fa4d27eda3cd15b09dfee0cd70f7c022f88afb3086
|
| 3 |
+
size 2139320320
|
shards/shard-001825.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccc25f7be9492e7a1623902508be0e91f1663c33f3fb49692b3c6a0417046371
|
| 3 |
+
size 2137538560
|
shards/shard-001826.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:908e562194df2f1b496d91330739d5271db19fb0b91e95e46f4290152eff7c32
|
| 3 |
+
size 2147368960
|
shards/shard-001827.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c34565ca07fb795f6d6116960feeee12094c184b04852c143bef568f641315a9
|
| 3 |
+
size 2129408000
|
shards/shard-001828.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0d2b6fff3d3550cd0f2ce881fcd539561445806c30206af04e4ae06da0725f7
|
| 3 |
+
size 2141399040
|
shards/shard-001829.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9eac8c723e1e0ab3bbb766ff08cc6ad15dee0d3914f0f6d1fb8fb9e98f0692f8
|
| 3 |
+
size 2124267520
|
shards/shard-001830.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5fd06313af1fee2485d7bb596e23c064c4d767842cbcf0705b17968fa3008185
|
| 3 |
+
size 2119106560
|
tools/__pycache__/pack_shards_from_bos.cpython-311.pyc
ADDED
|
Binary file (12.7 kB). View file
|
|
|
tools/materialize_from_bos.py
CHANGED
|
@@ -69,7 +69,7 @@ def materialize_record(record: dict[str, Any], source_root: Path, output_root: P
|
|
| 69 |
|
| 70 |
def main() -> None:
|
| 71 |
parser = argparse.ArgumentParser(description=__doc__)
|
| 72 |
-
parser.add_argument('--manifest', type=Path, required=True, help='Sanitized three-stage JSONL manifest')
|
| 73 |
parser.add_argument('--source-root', type=Path, required=True, help='Mounted source mesh root or its parent dataset root')
|
| 74 |
parser.add_argument('--output-root', type=Path, default=Path('.'), help='Output dataset root')
|
| 75 |
parser.add_argument('--group-key', action='append', help='Materialize only this group; may be repeated')
|
|
|
|
| 69 |
|
| 70 |
def main() -> None:
|
| 71 |
parser = argparse.ArgumentParser(description=__doc__)
|
| 72 |
+
parser.add_argument('--manifest', type=Path, required=True, help='Sanitized EVA01-Edit three-stage JSONL manifest')
|
| 73 |
parser.add_argument('--source-root', type=Path, required=True, help='Mounted source mesh root or its parent dataset root')
|
| 74 |
parser.add_argument('--output-root', type=Path, default=Path('.'), help='Output dataset root')
|
| 75 |
parser.add_argument('--group-key', action='append', help='Materialize only this group; may be repeated')
|
tools/pack_shards_from_bos.py
CHANGED
|
@@ -46,7 +46,7 @@ class HashReader:
|
|
| 46 |
self.digest.update(data)
|
| 47 |
return data
|
| 48 |
|
| 49 |
-
def add_verified_file(tar: tarfile.TarFile, source: Path, member: str, expected: str) -> int:
|
| 50 |
info = tar.gettarinfo(str(source), arcname=member)
|
| 51 |
info.uid = 0
|
| 52 |
info.gid = 0
|
|
@@ -58,13 +58,13 @@ def add_verified_file(tar: tarfile.TarFile, source: Path, member: str, expected:
|
|
| 58 |
reader = HashReader(handle)
|
| 59 |
tar.addfile(info, reader)
|
| 60 |
actual = reader.digest.hexdigest()
|
| 61 |
-
if actual != expected:
|
| 62 |
raise RuntimeError(f'checksum mismatch for {member}: expected {expected}, got {actual}')
|
| 63 |
return info.size
|
| 64 |
|
| 65 |
def main() -> None:
|
| 66 |
parser = argparse.ArgumentParser(description=__doc__)
|
| 67 |
-
parser.add_argument('--manifest', type=Path, required=True, help='Sanitized three-stage JSONL manifest')
|
| 68 |
parser.add_argument('--source-root', type=Path, required=True, help='Mounted source mesh root or its parent dataset root')
|
| 69 |
parser.add_argument('--output-root', type=Path, required=True, help='Directory containing shards/ and manifest/')
|
| 70 |
parser.add_argument('--max-shard-bytes', type=int, default=DEFAULT_MAX_SHARD_BYTES, help='Target uncompressed payload per shard')
|
|
@@ -106,7 +106,7 @@ def main() -> None:
|
|
| 106 |
raise RuntimeError(f'missing mesh metadata for {group_key}')
|
| 107 |
member = mesh.get('path')
|
| 108 |
expected = mesh.get('sha256')
|
| 109 |
-
if not isinstance(member, str) or not isinstance(expected, str):
|
| 110 |
raise RuntimeError(f'invalid mesh metadata for {group_key}')
|
| 111 |
source = resolve_source(args.source_root, member)
|
| 112 |
size = source.stat().st_size
|
|
@@ -127,9 +127,10 @@ def main() -> None:
|
|
| 127 |
packed_size = add_verified_file(current_tar, source, member, expected)
|
| 128 |
current_payload += packed_size
|
| 129 |
mesh_out = sharded['stages'][stage_index]['mesh']
|
|
|
|
| 130 |
mesh_out['shard'] = current_shard_name
|
| 131 |
mesh_out['member'] = member
|
| 132 |
-
index_members.append({'stage': stage['stage'], 'member': member
|
| 133 |
mesh_files += 1
|
| 134 |
sharded_line = json.dumps(sharded, ensure_ascii=False, separators=(',', ':'))
|
| 135 |
manifest_out.write(sharded_line + '\n')
|
|
@@ -140,6 +141,15 @@ def main() -> None:
|
|
| 140 |
finally:
|
| 141 |
if current_tar is not None:
|
| 142 |
current_tar.close()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
print(json.dumps({'groups': groups, 'mesh_files': mesh_files, 'shards': shard_count, 'target_shard_bytes': args.max_shard_bytes}, indent=2))
|
| 144 |
|
| 145 |
if __name__ == '__main__':
|
|
|
|
| 46 |
self.digest.update(data)
|
| 47 |
return data
|
| 48 |
|
| 49 |
+
def add_verified_file(tar: tarfile.TarFile, source: Path, member: str, expected: str | None) -> int:
|
| 50 |
info = tar.gettarinfo(str(source), arcname=member)
|
| 51 |
info.uid = 0
|
| 52 |
info.gid = 0
|
|
|
|
| 58 |
reader = HashReader(handle)
|
| 59 |
tar.addfile(info, reader)
|
| 60 |
actual = reader.digest.hexdigest()
|
| 61 |
+
if expected is not None and actual != expected:
|
| 62 |
raise RuntimeError(f'checksum mismatch for {member}: expected {expected}, got {actual}')
|
| 63 |
return info.size
|
| 64 |
|
| 65 |
def main() -> None:
|
| 66 |
parser = argparse.ArgumentParser(description=__doc__)
|
| 67 |
+
parser.add_argument('--manifest', type=Path, required=True, help='Sanitized EVA01-Edit three-stage JSONL manifest')
|
| 68 |
parser.add_argument('--source-root', type=Path, required=True, help='Mounted source mesh root or its parent dataset root')
|
| 69 |
parser.add_argument('--output-root', type=Path, required=True, help='Directory containing shards/ and manifest/')
|
| 70 |
parser.add_argument('--max-shard-bytes', type=int, default=DEFAULT_MAX_SHARD_BYTES, help='Target uncompressed payload per shard')
|
|
|
|
| 106 |
raise RuntimeError(f'missing mesh metadata for {group_key}')
|
| 107 |
member = mesh.get('path')
|
| 108 |
expected = mesh.get('sha256')
|
| 109 |
+
if not isinstance(member, str) or (expected is not None and not isinstance(expected, str)):
|
| 110 |
raise RuntimeError(f'invalid mesh metadata for {group_key}')
|
| 111 |
source = resolve_source(args.source_root, member)
|
| 112 |
size = source.stat().st_size
|
|
|
|
| 127 |
packed_size = add_verified_file(current_tar, source, member, expected)
|
| 128 |
current_payload += packed_size
|
| 129 |
mesh_out = sharded['stages'][stage_index]['mesh']
|
| 130 |
+
mesh_out.pop('sha256', None)
|
| 131 |
mesh_out['shard'] = current_shard_name
|
| 132 |
mesh_out['member'] = member
|
| 133 |
+
index_members.append({'stage': stage['stage'], 'member': member})
|
| 134 |
mesh_files += 1
|
| 135 |
sharded_line = json.dumps(sharded, ensure_ascii=False, separators=(',', ':'))
|
| 136 |
manifest_out.write(sharded_line + '\n')
|
|
|
|
| 141 |
finally:
|
| 142 |
if current_tar is not None:
|
| 143 |
current_tar.close()
|
| 144 |
+
checksum_path = manifest_dir / 'eva01_edit_shard_checksums.txt'
|
| 145 |
+
checksum_lines = []
|
| 146 |
+
for tar_path in sorted(shards_dir.glob('*.tar')):
|
| 147 |
+
digest = hashlib.sha256()
|
| 148 |
+
with tar_path.open('rb') as handle:
|
| 149 |
+
for chunk in iter(lambda: handle.read(1024 * 1024), b''):
|
| 150 |
+
digest.update(chunk)
|
| 151 |
+
checksum_lines.append(f'{digest.hexdigest()} shards/{tar_path.name}')
|
| 152 |
+
checksum_path.write_text('\n'.join(checksum_lines) + '\n')
|
| 153 |
print(json.dumps({'groups': groups, 'mesh_files': mesh_files, 'shards': shard_count, 'target_shard_bytes': args.max_shard_bytes}, indent=2))
|
| 154 |
|
| 155 |
if __name__ == '__main__':
|