Add trajectory_refine selection: 93 S1 episodes
Browse filesNew target prefix only; reuse previous-filter92 and append strict optimized trajectories. No source-prefix edits or deletions.
- 150case_data_enhance_blender_v2_trajectory_refine/checksums.json +32 -0
- 150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/052fefd5a461ae22a975761237e3ad1009933d14723a9f8a7a3a2e22c5d979ae/process_start.json +6 -0
- 150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/54cba60f54ebab773679ae8480f390e792ffc4ce87fe3f9db1d96691776d6ebc/manifest.json +47 -0
- 150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/6e46afede85c174fef9a0363d83ecaf2c53eb0adedbaa59c33177e2b3eb7ad7b/remote_process_drain_proofs.json +127 -0
- 150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/9ed9442a0ff886cfa584d182024130024f6f61c56ea01486663de49f210ee829/drain_complete.json +13 -0
- 150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/b224f694f8fe790088eacefe0175883c485cc48322b61b7df7f9a74858734a96/resource_inventory.json +677 -0
- 150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/c6910f23169fde87641789042eb62ac1c56ae0021016c0d9de4e3f5be4bad99f/launcher.py +168 -0
- 150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/cc5b1a15bdcc1a5acc9fd8441b50291a3336802d7ca098398ab5572c68937a3c/launch_receipt.json +13 -0
- 150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/snapshot_c4330c98f546fe7e616973b91d0784a03a5cc485c945b5abfa567c7e7a02009d.json +33 -0
150case_data_enhance_blender_v2_trajectory_refine/checksums.json
CHANGED
|
@@ -2007,6 +2007,38 @@
|
|
| 2007 |
"sha256": "b677c5db22452835a58cf6098c70adcc01362db7ae0bb2b36ecfcb875db7cc45",
|
| 2008 |
"bytes": 2277
|
| 2009 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2010 |
"evidence/previous_filter/all_150_cases.json": {
|
| 2011 |
"sha256": "570292a769a488e2b8c520154a5e8f176eb2fe8da5972cabdd44142ad7c7d316",
|
| 2012 |
"bytes": 2347495
|
|
|
|
| 2007 |
"sha256": "b677c5db22452835a58cf6098c70adcc01362db7ae0bb2b36ecfcb875db7cc45",
|
| 2008 |
"bytes": 2277
|
| 2009 |
},
|
| 2010 |
+
"evidence/execution_epochs/epoch_0003/artifacts/052fefd5a461ae22a975761237e3ad1009933d14723a9f8a7a3a2e22c5d979ae/process_start.json": {
|
| 2011 |
+
"sha256": "052fefd5a461ae22a975761237e3ad1009933d14723a9f8a7a3a2e22c5d979ae",
|
| 2012 |
+
"bytes": 258
|
| 2013 |
+
},
|
| 2014 |
+
"evidence/execution_epochs/epoch_0003/artifacts/54cba60f54ebab773679ae8480f390e792ffc4ce87fe3f9db1d96691776d6ebc/manifest.json": {
|
| 2015 |
+
"sha256": "54cba60f54ebab773679ae8480f390e792ffc4ce87fe3f9db1d96691776d6ebc",
|
| 2016 |
+
"bytes": 2567
|
| 2017 |
+
},
|
| 2018 |
+
"evidence/execution_epochs/epoch_0003/artifacts/6e46afede85c174fef9a0363d83ecaf2c53eb0adedbaa59c33177e2b3eb7ad7b/remote_process_drain_proofs.json": {
|
| 2019 |
+
"sha256": "6e46afede85c174fef9a0363d83ecaf2c53eb0adedbaa59c33177e2b3eb7ad7b",
|
| 2020 |
+
"bytes": 4518
|
| 2021 |
+
},
|
| 2022 |
+
"evidence/execution_epochs/epoch_0003/artifacts/9ed9442a0ff886cfa584d182024130024f6f61c56ea01486663de49f210ee829/drain_complete.json": {
|
| 2023 |
+
"sha256": "9ed9442a0ff886cfa584d182024130024f6f61c56ea01486663de49f210ee829",
|
| 2024 |
+
"bytes": 680
|
| 2025 |
+
},
|
| 2026 |
+
"evidence/execution_epochs/epoch_0003/artifacts/b224f694f8fe790088eacefe0175883c485cc48322b61b7df7f9a74858734a96/resource_inventory.json": {
|
| 2027 |
+
"sha256": "b224f694f8fe790088eacefe0175883c485cc48322b61b7df7f9a74858734a96",
|
| 2028 |
+
"bytes": 13331
|
| 2029 |
+
},
|
| 2030 |
+
"evidence/execution_epochs/epoch_0003/artifacts/c6910f23169fde87641789042eb62ac1c56ae0021016c0d9de4e3f5be4bad99f/launcher.py": {
|
| 2031 |
+
"sha256": "c6910f23169fde87641789042eb62ac1c56ae0021016c0d9de4e3f5be4bad99f",
|
| 2032 |
+
"bytes": 9632
|
| 2033 |
+
},
|
| 2034 |
+
"evidence/execution_epochs/epoch_0003/artifacts/cc5b1a15bdcc1a5acc9fd8441b50291a3336802d7ca098398ab5572c68937a3c/launch_receipt.json": {
|
| 2035 |
+
"sha256": "cc5b1a15bdcc1a5acc9fd8441b50291a3336802d7ca098398ab5572c68937a3c",
|
| 2036 |
+
"bytes": 610
|
| 2037 |
+
},
|
| 2038 |
+
"evidence/execution_epochs/epoch_0003/snapshot_c4330c98f546fe7e616973b91d0784a03a5cc485c945b5abfa567c7e7a02009d.json": {
|
| 2039 |
+
"sha256": "7f0b2e9c338600a6368a166bd3bce115838619b1d1c50a737c0c2229f8373b7c",
|
| 2040 |
+
"bytes": 1991
|
| 2041 |
+
},
|
| 2042 |
"evidence/previous_filter/all_150_cases.json": {
|
| 2043 |
"sha256": "570292a769a488e2b8c520154a5e8f176eb2fe8da5972cabdd44142ad7c7d316",
|
| 2044 |
"bytes": 2347495
|
150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/052fefd5a461ae22a975761237e3ad1009933d14723a9f8a7a3a2e22c5d979ae/process_start.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"pid": 1886560,
|
| 3 |
+
"started_at": "2026-10-17T09:05:11.545651+00:00",
|
| 4 |
+
"launcher_sha256": "c6910f23169fde87641789042eb62ac1c56ae0021016c0d9de4e3f5be4bad99f",
|
| 5 |
+
"render_contract_sha256": "3acf185508e5a48170b658811618e613348c848a38669371ce58fb9c47079c4c"
|
| 6 |
+
}
|
150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/54cba60f54ebab773679ae8480f390e792ffc4ce87fe3f9db1d96691776d6ebc/manifest.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "rssr.render.operational_epoch.v1",
|
| 3 |
+
"epoch_id": 3,
|
| 4 |
+
"created_at": "2026-10-17T09:04:19.986533+00:00",
|
| 5 |
+
"root": "/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-real2/s1_trajectory_refine_v2_20261017",
|
| 6 |
+
"launcher": "/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-real2/s1_trajectory_refine_v2_20261017/execution_epochs/epoch_0003/launcher.py",
|
| 7 |
+
"launcher_sha256": "c6910f23169fde87641789042eb62ac1c56ae0021016c0d9de4e3f5be4bad99f",
|
| 8 |
+
"render_contract_sha256": "3acf185508e5a48170b658811618e613348c848a38669371ce58fb9c47079c4c",
|
| 9 |
+
"drain_complete_sha256": "9ed9442a0ff886cfa584d182024130024f6f61c56ea01486663de49f210ee829",
|
| 10 |
+
"prior_dispatcher_pid": 1867868,
|
| 11 |
+
"prior_dispatcher_start_ticks": 639659270,
|
| 12 |
+
"input_renderer_camera_lighting_quality_unchanged": true,
|
| 13 |
+
"original_render_contract_unchanged": true,
|
| 14 |
+
"worker_gate_and_token_ownership_unchanged": true,
|
| 15 |
+
"source_count": 19,
|
| 16 |
+
"chunk_count": 950,
|
| 17 |
+
"existing_completed_chunks_preserved": 95,
|
| 18 |
+
"cpu_policy": {
|
| 19 |
+
"effective": "min(cpu.max quota,affinity,visible)",
|
| 20 |
+
"busy_measure": "max(2s host CPU,cgroup usage)",
|
| 21 |
+
"reserve_cores": 16,
|
| 22 |
+
"threads_per_renderer": 8,
|
| 23 |
+
"cap_per_host": 20,
|
| 24 |
+
"memory_reserve_gib": 16,
|
| 25 |
+
"memory_per_worker_gib": 2
|
| 26 |
+
},
|
| 27 |
+
"gpu_policy": "Original resources.inventory GPU scan max8 + original fresh run_task exact UUID/PCI/<100MiB/0%/no apps gate",
|
| 28 |
+
"transport_policy": {
|
| 29 |
+
"remote_stdout": "remote worker_remote.log + nohup around original run_task",
|
| 30 |
+
"chunk_download": "legacy SCP -O, original180s timeout and all validation",
|
| 31 |
+
"uncertain_disconnect": "retain owner; audit terminal token/child and original artifacts, no blind renderer retry"
|
| 32 |
+
},
|
| 33 |
+
"current_user_publication_scope": {
|
| 34 |
+
"repo_id": "starry0929/rssr",
|
| 35 |
+
"prefix": "150case_data_enhance_blender_v2_trajectory_refine",
|
| 36 |
+
"note": "Supersedes historical final_output request; immutable original render contract retained"
|
| 37 |
+
},
|
| 38 |
+
"metadata_sha256": {
|
| 39 |
+
"drain_complete.json": "9ed9442a0ff886cfa584d182024130024f6f61c56ea01486663de49f210ee829",
|
| 40 |
+
"remote_process_drain_proofs.json": "6e46afede85c174fef9a0363d83ecaf2c53eb0adedbaa59c33177e2b3eb7ad7b"
|
| 41 |
+
},
|
| 42 |
+
"previous_epoch": 2,
|
| 43 |
+
"previous_startup_failed_before_worker": true,
|
| 44 |
+
"previous_epoch_manifest_sha256": "d1483bc364c0f79672d5e7dd09a92ed49878cece1390805a01ee468c0aca534b",
|
| 45 |
+
"gpu_shortlist_inventory_sha256": "f1c64d15880dcb4809a9beb3e76f44004fd13ce458c0b5752681f2abbfe5100b",
|
| 46 |
+
"startup_policy": "GPU checksum setup max3 bounded retries; exclude unreachableGPU before any worker; CPU proceeds"
|
| 47 |
+
}
|
150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/6e46afede85c174fef9a0363d83ecaf2c53eb0adedbaa59c33177e2b3eb7ad7b/remote_process_drain_proofs.json
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"at": "2026-10-17T09:04:11.397389+00:00",
|
| 3 |
+
"proofs": [
|
| 4 |
+
{
|
| 5 |
+
"port": 7513,
|
| 6 |
+
"result": {
|
| 7 |
+
"host": "aibox-r9b78ba37d20-6bbcb876f9-nx7vw",
|
| 8 |
+
"owned_processes": []
|
| 9 |
+
}
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"port": 7514,
|
| 13 |
+
"result": {
|
| 14 |
+
"host": "aibox-r08460eaf3bc-8fdc5d89c-frgt4",
|
| 15 |
+
"owned_processes": []
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"port": 9023,
|
| 20 |
+
"result": {
|
| 21 |
+
"host": "instance-de10opsf-02",
|
| 22 |
+
"owned_processes": []
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"port": 9032,
|
| 27 |
+
"prefix": "/cpfs01/yichen/s1_trajectory_refine_v2_20261017",
|
| 28 |
+
"result": {
|
| 29 |
+
"hostname": "instance-de10opsf-11",
|
| 30 |
+
"at_epoch_s": 1792227494.6789849,
|
| 31 |
+
"owned_processes": [],
|
| 32 |
+
"pending_states": {
|
| 33 |
+
"71": {
|
| 34 |
+
"state": {
|
| 35 |
+
"token": "7c73d1221be845d4a29003e4cdb072b1",
|
| 36 |
+
"wrapper_pid": 3014519,
|
| 37 |
+
"host": "instance-de10opsf-11",
|
| 38 |
+
"started_at": 1792226781.6178348,
|
| 39 |
+
"command": [
|
| 40 |
+
"/cpfs01/yichen/rssr_gpu_v5_20261012/env/bin/python",
|
| 41 |
+
"-u",
|
| 42 |
+
"/cpfs01/yichen/s1_trajectory_refine_v2_20261017/code/renderer.py",
|
| 43 |
+
"--source",
|
| 44 |
+
"/cpfs01/yichen/s1_trajectory_refine_v2_20261017/sources/physical_00__stack_cups_ep000003",
|
| 45 |
+
"--config",
|
| 46 |
+
"/cpfs01/yichen/s1_trajectory_refine_v2_20261017/configs/physical_00__stack_cups_ep000003.json",
|
| 47 |
+
"--output",
|
| 48 |
+
"/cpfs01/yichen/s1_trajectory_refine_v2_20261017/chunks/job_00071",
|
| 49 |
+
"--device",
|
| 50 |
+
"OPTIX",
|
| 51 |
+
"--samples",
|
| 52 |
+
"64",
|
| 53 |
+
"--start",
|
| 54 |
+
"540",
|
| 55 |
+
"--stop",
|
| 56 |
+
"570"
|
| 57 |
+
],
|
| 58 |
+
"gpu_uuid": "GPU-4cb385c5-8981-0230-b0f0-9b69847aab5f",
|
| 59 |
+
"gpu_memory_before_mib": 48422,
|
| 60 |
+
"gpu_util_before": 98,
|
| 61 |
+
"gpu_compute_apps_before": 1,
|
| 62 |
+
"status": "gpu_busy_no_render_started",
|
| 63 |
+
"returncode": 75,
|
| 64 |
+
"finished_at": 1792226781.833654
|
| 65 |
+
},
|
| 66 |
+
"files": [
|
| 67 |
+
"runtime_task.json"
|
| 68 |
+
],
|
| 69 |
+
"receipt_exists": false
|
| 70 |
+
},
|
| 71 |
+
"91": {
|
| 72 |
+
"state": null,
|
| 73 |
+
"files": [],
|
| 74 |
+
"receipt_exists": false
|
| 75 |
+
},
|
| 76 |
+
"86": {
|
| 77 |
+
"state": {
|
| 78 |
+
"token": "119f6e334c8e42759dc62c56e88bbf42",
|
| 79 |
+
"wrapper_pid": 3059913,
|
| 80 |
+
"host": "instance-de10opsf-11",
|
| 81 |
+
"started_at": 1792227010.9322388,
|
| 82 |
+
"command": [
|
| 83 |
+
"/cpfs01/yichen/rssr_gpu_v5_20261012/env/bin/python",
|
| 84 |
+
"-u",
|
| 85 |
+
"/cpfs01/yichen/s1_trajectory_refine_v2_20261017/code/renderer.py",
|
| 86 |
+
"--source",
|
| 87 |
+
"/cpfs01/yichen/s1_trajectory_refine_v2_20261017/sources/physical_00__stack_cups_ep000003",
|
| 88 |
+
"--config",
|
| 89 |
+
"/cpfs01/yichen/s1_trajectory_refine_v2_20261017/configs/physical_00__stack_cups_ep000003.json",
|
| 90 |
+
"--output",
|
| 91 |
+
"/cpfs01/yichen/s1_trajectory_refine_v2_20261017/chunks/job_00086",
|
| 92 |
+
"--device",
|
| 93 |
+
"OPTIX",
|
| 94 |
+
"--samples",
|
| 95 |
+
"64",
|
| 96 |
+
"--start",
|
| 97 |
+
"990",
|
| 98 |
+
"--stop",
|
| 99 |
+
"1020"
|
| 100 |
+
],
|
| 101 |
+
"gpu_uuid": "GPU-4cb385c5-8981-0230-b0f0-9b69847aab5f",
|
| 102 |
+
"gpu_memory_before_mib": 48424,
|
| 103 |
+
"gpu_util_before": 96,
|
| 104 |
+
"gpu_compute_apps_before": 1,
|
| 105 |
+
"status": "gpu_busy_no_render_started",
|
| 106 |
+
"returncode": 75,
|
| 107 |
+
"finished_at": 1792227011.165739
|
| 108 |
+
},
|
| 109 |
+
"files": [
|
| 110 |
+
"runtime_task.json"
|
| 111 |
+
],
|
| 112 |
+
"receipt_exists": false
|
| 113 |
+
},
|
| 114 |
+
"90": {
|
| 115 |
+
"state": null,
|
| 116 |
+
"files": [],
|
| 117 |
+
"receipt_exists": false
|
| 118 |
+
}
|
| 119 |
+
}
|
| 120 |
+
},
|
| 121 |
+
"inherited_from": "/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-real2/s1_trajectory_refine_v2_20261017/execution_epochs/epoch_0002/remote_process_drain_proofs.json",
|
| 122 |
+
"inherited_file_sha256": "7a680144c481c9803d98ff5040b97a708f44a51f8f2d4b4ed0a40ac4a7402905",
|
| 123 |
+
"reason": "new attempt failed before worker setup; no job ownership created since prior proven drain;9032 excluded from epoch2candidate and epoch3shortlist",
|
| 124 |
+
"new_probe": "40s timeout; no mutation attempted"
|
| 125 |
+
}
|
| 126 |
+
]
|
| 127 |
+
}
|
150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/9ed9442a0ff886cfa584d182024130024f6f61c56ea01486663de49f210ee829/drain_complete.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"at": "2026-10-17T09:04:11.464453+00:00",
|
| 3 |
+
"all_prior_owned_renderers_terminated": true,
|
| 4 |
+
"previous_epoch": 2,
|
| 5 |
+
"previous_pid": 1885170,
|
| 6 |
+
"previous_startup_failed_before_worker_claim": true,
|
| 7 |
+
"previous_startup_log_sha256": "f668f0f7df2055d048207771b1fc3655645e4f16d118a5ccab54540129962dbb",
|
| 8 |
+
"previous_drain_complete_sha256": "effc419b6beb5aedf318ad922dffbbc03e15626f4551bce7ecf8ff21ac6d6464",
|
| 9 |
+
"new_remote_process_proofs_sha256": "6e46afede85c174fef9a0363d83ecaf2c53eb0adedbaa59c33177e2b3eb7ad7b",
|
| 10 |
+
"completed_chunks_preserved": 95,
|
| 11 |
+
"completed_episodes_preserved": 1,
|
| 12 |
+
"render_contract_sha256": "3acf185508e5a48170b658811618e613348c848a38669371ce58fb9c47079c4c"
|
| 13 |
+
}
|
150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/b224f694f8fe790088eacefe0175883c485cc48322b61b7df7f9a74858734a96/resource_inventory.json
ADDED
|
@@ -0,0 +1,677 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-02",
|
| 9 |
+
"gpu_query_rc": 0,
|
| 10 |
+
"app_query_rc": 0,
|
| 11 |
+
"idle": [
|
| 12 |
+
{
|
| 13 |
+
"nvml_index": 0,
|
| 14 |
+
"gpu_name": "NVIDIA B20Z",
|
| 15 |
+
"gpu_uuid": "GPU-5ee76602-9665-08f7-32f7-227615d14c74",
|
| 16 |
+
"pci_bus_id": "00000000:63:00.0",
|
| 17 |
+
"cuda_ordinal": 0,
|
| 18 |
+
"memory_mib": 0,
|
| 19 |
+
"utilization": 0
|
| 20 |
+
}
|
| 21 |
+
],
|
| 22 |
+
"runtime_exists": true,
|
| 23 |
+
"error": ""
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
],
|
| 27 |
+
"cpu_hosts": [
|
| 28 |
+
{
|
| 29 |
+
"port": 7513,
|
| 30 |
+
"target": "root@192.168.24.3",
|
| 31 |
+
"result": {
|
| 32 |
+
"cpu_count": 180,
|
| 33 |
+
"load": [
|
| 34 |
+
75.1962890625,
|
| 35 |
+
87.55615234375,
|
| 36 |
+
104.39306640625
|
| 37 |
+
],
|
| 38 |
+
"hostname": "aibox-r9b78ba37d20-6bbcb876f9-nx7vw"
|
| 39 |
+
}
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"port": 7514,
|
| 43 |
+
"target": "root@192.168.24.3",
|
| 44 |
+
"result": {
|
| 45 |
+
"cpu_count": 180,
|
| 46 |
+
"load": [
|
| 47 |
+
12.26416015625,
|
| 48 |
+
19.75537109375,
|
| 49 |
+
42.27490234375
|
| 50 |
+
],
|
| 51 |
+
"hostname": "aibox-r08460eaf3bc-8fdc5d89c-frgt4"
|
| 52 |
+
}
|
| 53 |
+
}
|
| 54 |
+
],
|
| 55 |
+
"resources": [
|
| 56 |
+
{
|
| 57 |
+
"nvml_index": 0,
|
| 58 |
+
"gpu_name": "NVIDIA B20Z",
|
| 59 |
+
"gpu_uuid": "GPU-5ee76602-9665-08f7-32f7-227615d14c74",
|
| 60 |
+
"pci_bus_id": "00000000:63:00.0",
|
| 61 |
+
"cuda_ordinal": 0,
|
| 62 |
+
"memory_mib": 0,
|
| 63 |
+
"utilization": 0,
|
| 64 |
+
"name": "b200_9023_0",
|
| 65 |
+
"kind": "remote_gpu",
|
| 66 |
+
"port": 9023,
|
| 67 |
+
"target": "yichen@120.48.73.217",
|
| 68 |
+
"remote_root": "/cpfs01/yichen/s1_trajectory_refine_v2_20261017",
|
| 69 |
+
"python": "/cpfs01/yichen/rssr_gpu_v5_20261012/env/bin/python",
|
| 70 |
+
"library_path": "/cpfs01/yichen/rssr_gpu_v5_20261012/native_libs"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"name": "cpu_7513_00",
|
| 74 |
+
"kind": "cpu",
|
| 75 |
+
"port": 7513,
|
| 76 |
+
"target": "root@192.168.24.3"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"name": "cpu_7513_01",
|
| 80 |
+
"kind": "cpu",
|
| 81 |
+
"port": 7513,
|
| 82 |
+
"target": "root@192.168.24.3"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"name": "cpu_7513_02",
|
| 86 |
+
"kind": "cpu",
|
| 87 |
+
"port": 7513,
|
| 88 |
+
"target": "root@192.168.24.3"
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"name": "cpu_7513_03",
|
| 92 |
+
"kind": "cpu",
|
| 93 |
+
"port": 7513,
|
| 94 |
+
"target": "root@192.168.24.3"
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"name": "cpu_7513_04",
|
| 98 |
+
"kind": "cpu",
|
| 99 |
+
"port": 7513,
|
| 100 |
+
"target": "root@192.168.24.3"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"name": "cpu_7513_05",
|
| 104 |
+
"kind": "cpu",
|
| 105 |
+
"port": 7513,
|
| 106 |
+
"target": "root@192.168.24.3"
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "cpu_7513_06",
|
| 110 |
+
"kind": "cpu",
|
| 111 |
+
"port": 7513,
|
| 112 |
+
"target": "root@192.168.24.3"
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"name": "cpu_7513_07",
|
| 116 |
+
"kind": "cpu",
|
| 117 |
+
"port": 7513,
|
| 118 |
+
"target": "root@192.168.24.3"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"name": "cpu_7513_08",
|
| 122 |
+
"kind": "cpu",
|
| 123 |
+
"port": 7513,
|
| 124 |
+
"target": "root@192.168.24.3"
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"name": "cpu_7513_09",
|
| 128 |
+
"kind": "cpu",
|
| 129 |
+
"port": 7513,
|
| 130 |
+
"target": "root@192.168.24.3"
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"name": "cpu_7514_00",
|
| 134 |
+
"kind": "cpu",
|
| 135 |
+
"port": 7514,
|
| 136 |
+
"target": "root@192.168.24.3"
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "cpu_7514_01",
|
| 140 |
+
"kind": "cpu",
|
| 141 |
+
"port": 7514,
|
| 142 |
+
"target": "root@192.168.24.3"
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "cpu_7514_02",
|
| 146 |
+
"kind": "cpu",
|
| 147 |
+
"port": 7514,
|
| 148 |
+
"target": "root@192.168.24.3"
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"name": "cpu_7514_03",
|
| 152 |
+
"kind": "cpu",
|
| 153 |
+
"port": 7514,
|
| 154 |
+
"target": "root@192.168.24.3"
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"name": "cpu_7514_04",
|
| 158 |
+
"kind": "cpu",
|
| 159 |
+
"port": 7514,
|
| 160 |
+
"target": "root@192.168.24.3"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"name": "cpu_7514_05",
|
| 164 |
+
"kind": "cpu",
|
| 165 |
+
"port": 7514,
|
| 166 |
+
"target": "root@192.168.24.3"
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "cpu_7514_06",
|
| 170 |
+
"kind": "cpu",
|
| 171 |
+
"port": 7514,
|
| 172 |
+
"target": "root@192.168.24.3"
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"name": "cpu_7514_07",
|
| 176 |
+
"kind": "cpu",
|
| 177 |
+
"port": 7514,
|
| 178 |
+
"target": "root@192.168.24.3"
|
| 179 |
+
},
|
| 180 |
+
{
|
| 181 |
+
"name": "cpu_7514_08",
|
| 182 |
+
"kind": "cpu",
|
| 183 |
+
"port": 7514,
|
| 184 |
+
"target": "root@192.168.24.3"
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "cpu_7514_09",
|
| 188 |
+
"kind": "cpu",
|
| 189 |
+
"port": 7514,
|
| 190 |
+
"target": "root@192.168.24.3"
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"name": "cpu_7514_10",
|
| 194 |
+
"kind": "cpu",
|
| 195 |
+
"port": 7514,
|
| 196 |
+
"target": "root@192.168.24.3"
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "cpu_7514_11",
|
| 200 |
+
"kind": "cpu",
|
| 201 |
+
"port": 7514,
|
| 202 |
+
"target": "root@192.168.24.3"
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"name": "cpu_7514_12",
|
| 206 |
+
"kind": "cpu",
|
| 207 |
+
"port": 7514,
|
| 208 |
+
"target": "root@192.168.24.3"
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"name": "cpu_7514_13",
|
| 212 |
+
"kind": "cpu",
|
| 213 |
+
"port": 7514,
|
| 214 |
+
"target": "root@192.168.24.3"
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"name": "cpu_7514_14",
|
| 218 |
+
"kind": "cpu",
|
| 219 |
+
"port": 7514,
|
| 220 |
+
"target": "root@192.168.24.3"
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"name": "cpu_7514_15",
|
| 224 |
+
"kind": "cpu",
|
| 225 |
+
"port": 7514,
|
| 226 |
+
"target": "root@192.168.24.3"
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"name": "cpu_7514_16",
|
| 230 |
+
"kind": "cpu",
|
| 231 |
+
"port": 7514,
|
| 232 |
+
"target": "root@192.168.24.3"
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"name": "cpu_7514_17",
|
| 236 |
+
"kind": "cpu",
|
| 237 |
+
"port": 7514,
|
| 238 |
+
"target": "root@192.168.24.3"
|
| 239 |
+
}
|
| 240 |
+
],
|
| 241 |
+
"requested_gpu_limit": 8,
|
| 242 |
+
"shared_gpu_limit": 8,
|
| 243 |
+
"prior_gpu_jobs": [],
|
| 244 |
+
"reserved_prior_gpu_count": 0,
|
| 245 |
+
"available_gpu_budget": 8,
|
| 246 |
+
"selected_gpu_count": 1,
|
| 247 |
+
"selected_cpu_workers": 28,
|
| 248 |
+
"policy": "Only CPUs7513/7514 and B200/B20Z; <100MiB,0%util,no compute apps; fresh per-job recheck; no H200",
|
| 249 |
+
"gpu_shortlist_policy": "Fresh scan of previous exact UUID/PCI shortlist only; original per-job gate unchanged; unavailable GPU never blocks CPU workers beyond bounded setup",
|
| 250 |
+
"operational_cpu_capacity": [
|
| 251 |
+
{
|
| 252 |
+
"port": 7513,
|
| 253 |
+
"target": "root@192.168.24.3",
|
| 254 |
+
"result": {
|
| 255 |
+
"hostname": "aibox-r9b78ba37d20-6bbcb876f9-nx7vw",
|
| 256 |
+
"visible_cpu_count": 180,
|
| 257 |
+
"affinity": [
|
| 258 |
+
0,
|
| 259 |
+
1,
|
| 260 |
+
2,
|
| 261 |
+
3,
|
| 262 |
+
4,
|
| 263 |
+
5,
|
| 264 |
+
6,
|
| 265 |
+
7,
|
| 266 |
+
8,
|
| 267 |
+
9,
|
| 268 |
+
10,
|
| 269 |
+
11,
|
| 270 |
+
12,
|
| 271 |
+
13,
|
| 272 |
+
14,
|
| 273 |
+
15,
|
| 274 |
+
16,
|
| 275 |
+
17,
|
| 276 |
+
18,
|
| 277 |
+
19,
|
| 278 |
+
20,
|
| 279 |
+
21,
|
| 280 |
+
22,
|
| 281 |
+
23,
|
| 282 |
+
24,
|
| 283 |
+
25,
|
| 284 |
+
26,
|
| 285 |
+
27,
|
| 286 |
+
28,
|
| 287 |
+
29,
|
| 288 |
+
30,
|
| 289 |
+
31,
|
| 290 |
+
32,
|
| 291 |
+
33,
|
| 292 |
+
34,
|
| 293 |
+
35,
|
| 294 |
+
36,
|
| 295 |
+
37,
|
| 296 |
+
38,
|
| 297 |
+
39,
|
| 298 |
+
40,
|
| 299 |
+
41,
|
| 300 |
+
42,
|
| 301 |
+
43,
|
| 302 |
+
44,
|
| 303 |
+
45,
|
| 304 |
+
46,
|
| 305 |
+
47,
|
| 306 |
+
48,
|
| 307 |
+
49,
|
| 308 |
+
50,
|
| 309 |
+
51,
|
| 310 |
+
52,
|
| 311 |
+
53,
|
| 312 |
+
54,
|
| 313 |
+
55,
|
| 314 |
+
56,
|
| 315 |
+
57,
|
| 316 |
+
58,
|
| 317 |
+
59,
|
| 318 |
+
60,
|
| 319 |
+
61,
|
| 320 |
+
62,
|
| 321 |
+
63,
|
| 322 |
+
64,
|
| 323 |
+
65,
|
| 324 |
+
66,
|
| 325 |
+
67,
|
| 326 |
+
68,
|
| 327 |
+
69,
|
| 328 |
+
70,
|
| 329 |
+
71,
|
| 330 |
+
72,
|
| 331 |
+
73,
|
| 332 |
+
74,
|
| 333 |
+
75,
|
| 334 |
+
76,
|
| 335 |
+
77,
|
| 336 |
+
78,
|
| 337 |
+
79,
|
| 338 |
+
80,
|
| 339 |
+
81,
|
| 340 |
+
82,
|
| 341 |
+
83,
|
| 342 |
+
84,
|
| 343 |
+
85,
|
| 344 |
+
86,
|
| 345 |
+
87,
|
| 346 |
+
88,
|
| 347 |
+
89,
|
| 348 |
+
90,
|
| 349 |
+
91,
|
| 350 |
+
92,
|
| 351 |
+
93,
|
| 352 |
+
94,
|
| 353 |
+
95,
|
| 354 |
+
96,
|
| 355 |
+
97,
|
| 356 |
+
98,
|
| 357 |
+
99,
|
| 358 |
+
100,
|
| 359 |
+
101,
|
| 360 |
+
102,
|
| 361 |
+
103,
|
| 362 |
+
104,
|
| 363 |
+
105,
|
| 364 |
+
106,
|
| 365 |
+
107,
|
| 366 |
+
108,
|
| 367 |
+
109,
|
| 368 |
+
110,
|
| 369 |
+
111,
|
| 370 |
+
112,
|
| 371 |
+
113,
|
| 372 |
+
114,
|
| 373 |
+
115,
|
| 374 |
+
116,
|
| 375 |
+
117,
|
| 376 |
+
118,
|
| 377 |
+
119,
|
| 378 |
+
120,
|
| 379 |
+
121,
|
| 380 |
+
122,
|
| 381 |
+
123,
|
| 382 |
+
124,
|
| 383 |
+
125,
|
| 384 |
+
126,
|
| 385 |
+
127,
|
| 386 |
+
128,
|
| 387 |
+
129,
|
| 388 |
+
130,
|
| 389 |
+
131,
|
| 390 |
+
132,
|
| 391 |
+
133,
|
| 392 |
+
134,
|
| 393 |
+
135,
|
| 394 |
+
136,
|
| 395 |
+
137,
|
| 396 |
+
138,
|
| 397 |
+
139,
|
| 398 |
+
140,
|
| 399 |
+
141,
|
| 400 |
+
142,
|
| 401 |
+
143,
|
| 402 |
+
144,
|
| 403 |
+
145,
|
| 404 |
+
146,
|
| 405 |
+
147,
|
| 406 |
+
148,
|
| 407 |
+
149,
|
| 408 |
+
150,
|
| 409 |
+
151,
|
| 410 |
+
152,
|
| 411 |
+
153,
|
| 412 |
+
154,
|
| 413 |
+
155,
|
| 414 |
+
156,
|
| 415 |
+
157,
|
| 416 |
+
158,
|
| 417 |
+
159,
|
| 418 |
+
160,
|
| 419 |
+
161,
|
| 420 |
+
162,
|
| 421 |
+
163,
|
| 422 |
+
164,
|
| 423 |
+
165,
|
| 424 |
+
166,
|
| 425 |
+
167,
|
| 426 |
+
168,
|
| 427 |
+
169,
|
| 428 |
+
170,
|
| 429 |
+
171,
|
| 430 |
+
172,
|
| 431 |
+
173,
|
| 432 |
+
174,
|
| 433 |
+
175,
|
| 434 |
+
176,
|
| 435 |
+
177,
|
| 436 |
+
178,
|
| 437 |
+
179
|
| 438 |
+
],
|
| 439 |
+
"cpu_max": "17500000 100000",
|
| 440 |
+
"effective_cpu_cores": 175.0,
|
| 441 |
+
"observed_host_busy_cores": 73.48826773250734,
|
| 442 |
+
"observed_cgroup_busy_cores": 0.008761832084289153,
|
| 443 |
+
"measurement_seconds": 2.0014079054817557,
|
| 444 |
+
"reserved_other_work_cores": 16,
|
| 445 |
+
"cpu_headroom_cores": 85.51173226749266,
|
| 446 |
+
"memory_max": "241591910400",
|
| 447 |
+
"memory_current": 535568384,
|
| 448 |
+
"host_available_memory": 2505757716480,
|
| 449 |
+
"reserved_memory_bytes": 17179869184,
|
| 450 |
+
"estimated_memory_per_worker_bytes": 2147483648,
|
| 451 |
+
"memory_headroom_bytes": 223876472832,
|
| 452 |
+
"threads_per_renderer": 8,
|
| 453 |
+
"slots": 10,
|
| 454 |
+
"observed_loadavg": [
|
| 455 |
+
76.9423828125,
|
| 456 |
+
87.71337890625,
|
| 457 |
+
104.35302734375
|
| 458 |
+
],
|
| 459 |
+
"cgroup": "0::/\n"
|
| 460 |
+
}
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"port": 7514,
|
| 464 |
+
"target": "root@192.168.24.3",
|
| 465 |
+
"result": {
|
| 466 |
+
"hostname": "aibox-r08460eaf3bc-8fdc5d89c-frgt4",
|
| 467 |
+
"visible_cpu_count": 180,
|
| 468 |
+
"affinity": [
|
| 469 |
+
0,
|
| 470 |
+
1,
|
| 471 |
+
2,
|
| 472 |
+
3,
|
| 473 |
+
4,
|
| 474 |
+
5,
|
| 475 |
+
6,
|
| 476 |
+
7,
|
| 477 |
+
8,
|
| 478 |
+
9,
|
| 479 |
+
10,
|
| 480 |
+
11,
|
| 481 |
+
12,
|
| 482 |
+
13,
|
| 483 |
+
14,
|
| 484 |
+
15,
|
| 485 |
+
16,
|
| 486 |
+
17,
|
| 487 |
+
18,
|
| 488 |
+
19,
|
| 489 |
+
20,
|
| 490 |
+
21,
|
| 491 |
+
22,
|
| 492 |
+
23,
|
| 493 |
+
24,
|
| 494 |
+
25,
|
| 495 |
+
26,
|
| 496 |
+
27,
|
| 497 |
+
28,
|
| 498 |
+
29,
|
| 499 |
+
30,
|
| 500 |
+
31,
|
| 501 |
+
32,
|
| 502 |
+
33,
|
| 503 |
+
34,
|
| 504 |
+
35,
|
| 505 |
+
36,
|
| 506 |
+
37,
|
| 507 |
+
38,
|
| 508 |
+
39,
|
| 509 |
+
40,
|
| 510 |
+
41,
|
| 511 |
+
42,
|
| 512 |
+
43,
|
| 513 |
+
44,
|
| 514 |
+
45,
|
| 515 |
+
46,
|
| 516 |
+
47,
|
| 517 |
+
48,
|
| 518 |
+
49,
|
| 519 |
+
50,
|
| 520 |
+
51,
|
| 521 |
+
52,
|
| 522 |
+
53,
|
| 523 |
+
54,
|
| 524 |
+
55,
|
| 525 |
+
56,
|
| 526 |
+
57,
|
| 527 |
+
58,
|
| 528 |
+
59,
|
| 529 |
+
60,
|
| 530 |
+
61,
|
| 531 |
+
62,
|
| 532 |
+
63,
|
| 533 |
+
64,
|
| 534 |
+
65,
|
| 535 |
+
66,
|
| 536 |
+
67,
|
| 537 |
+
68,
|
| 538 |
+
69,
|
| 539 |
+
70,
|
| 540 |
+
71,
|
| 541 |
+
72,
|
| 542 |
+
73,
|
| 543 |
+
74,
|
| 544 |
+
75,
|
| 545 |
+
76,
|
| 546 |
+
77,
|
| 547 |
+
78,
|
| 548 |
+
79,
|
| 549 |
+
80,
|
| 550 |
+
81,
|
| 551 |
+
82,
|
| 552 |
+
83,
|
| 553 |
+
84,
|
| 554 |
+
85,
|
| 555 |
+
86,
|
| 556 |
+
87,
|
| 557 |
+
88,
|
| 558 |
+
89,
|
| 559 |
+
90,
|
| 560 |
+
91,
|
| 561 |
+
92,
|
| 562 |
+
93,
|
| 563 |
+
94,
|
| 564 |
+
95,
|
| 565 |
+
96,
|
| 566 |
+
97,
|
| 567 |
+
98,
|
| 568 |
+
99,
|
| 569 |
+
100,
|
| 570 |
+
101,
|
| 571 |
+
102,
|
| 572 |
+
103,
|
| 573 |
+
104,
|
| 574 |
+
105,
|
| 575 |
+
106,
|
| 576 |
+
107,
|
| 577 |
+
108,
|
| 578 |
+
109,
|
| 579 |
+
110,
|
| 580 |
+
111,
|
| 581 |
+
112,
|
| 582 |
+
113,
|
| 583 |
+
114,
|
| 584 |
+
115,
|
| 585 |
+
116,
|
| 586 |
+
117,
|
| 587 |
+
118,
|
| 588 |
+
119,
|
| 589 |
+
120,
|
| 590 |
+
121,
|
| 591 |
+
122,
|
| 592 |
+
123,
|
| 593 |
+
124,
|
| 594 |
+
125,
|
| 595 |
+
126,
|
| 596 |
+
127,
|
| 597 |
+
128,
|
| 598 |
+
129,
|
| 599 |
+
130,
|
| 600 |
+
131,
|
| 601 |
+
132,
|
| 602 |
+
133,
|
| 603 |
+
134,
|
| 604 |
+
135,
|
| 605 |
+
136,
|
| 606 |
+
137,
|
| 607 |
+
138,
|
| 608 |
+
139,
|
| 609 |
+
140,
|
| 610 |
+
141,
|
| 611 |
+
142,
|
| 612 |
+
143,
|
| 613 |
+
144,
|
| 614 |
+
145,
|
| 615 |
+
146,
|
| 616 |
+
147,
|
| 617 |
+
148,
|
| 618 |
+
149,
|
| 619 |
+
150,
|
| 620 |
+
151,
|
| 621 |
+
152,
|
| 622 |
+
153,
|
| 623 |
+
154,
|
| 624 |
+
155,
|
| 625 |
+
156,
|
| 626 |
+
157,
|
| 627 |
+
158,
|
| 628 |
+
159,
|
| 629 |
+
160,
|
| 630 |
+
161,
|
| 631 |
+
162,
|
| 632 |
+
163,
|
| 633 |
+
164,
|
| 634 |
+
165,
|
| 635 |
+
166,
|
| 636 |
+
167,
|
| 637 |
+
168,
|
| 638 |
+
169,
|
| 639 |
+
170,
|
| 640 |
+
171,
|
| 641 |
+
172,
|
| 642 |
+
173,
|
| 643 |
+
174,
|
| 644 |
+
175,
|
| 645 |
+
176,
|
| 646 |
+
177,
|
| 647 |
+
178,
|
| 648 |
+
179
|
| 649 |
+
],
|
| 650 |
+
"cpu_max": "17500000 100000",
|
| 651 |
+
"effective_cpu_cores": 175.0,
|
| 652 |
+
"observed_host_busy_cores": 12.281481385267398,
|
| 653 |
+
"observed_cgroup_busy_cores": 0.03444610767698676,
|
| 654 |
+
"measurement_seconds": 2.0013872291892767,
|
| 655 |
+
"reserved_other_work_cores": 16,
|
| 656 |
+
"cpu_headroom_cores": 146.7185186147326,
|
| 657 |
+
"memory_max": "241591910400",
|
| 658 |
+
"memory_current": 1067073536,
|
| 659 |
+
"host_available_memory": 2971073740800,
|
| 660 |
+
"reserved_memory_bytes": 17179869184,
|
| 661 |
+
"estimated_memory_per_worker_bytes": 2147483648,
|
| 662 |
+
"memory_headroom_bytes": 223344967680,
|
| 663 |
+
"threads_per_renderer": 8,
|
| 664 |
+
"slots": 18,
|
| 665 |
+
"observed_loadavg": [
|
| 666 |
+
11.60205078125,
|
| 667 |
+
19.49365234375,
|
| 668 |
+
42.06884765625
|
| 669 |
+
],
|
| 670 |
+
"cgroup": "0::/\n"
|
| 671 |
+
}
|
| 672 |
+
}
|
| 673 |
+
],
|
| 674 |
+
"operational_launcher": "/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-real2/s1_trajectory_refine_v2_20261017/execution_epochs/epoch_0003/launcher.py",
|
| 675 |
+
"operational_launcher_sha256": "c6910f23169fde87641789042eb62ac1c56ae0021016c0d9de4e3f5be4bad99f",
|
| 676 |
+
"cpu_policy": "min(quota,affinity,visible)-max(2s host/cgroup busy)-16core reserve; 8threads/worker; cap20/host; 2GiB/worker and16GiB memory reserve"
|
| 677 |
+
}
|
150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/c6910f23169fde87641789042e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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Frozen operational overlay; original render contract and implementation stay intact.
|
| 2 |
+
|
| 3 |
+
Only scheduling and remote log routing differ. All renderer, GPU admission,
|
| 4 |
+
ownership, source, camera, appearance, validation, and assembly code is original.
|
| 5 |
+
"""
|
| 6 |
+
import concurrent.futures
|
| 7 |
+
import json
|
| 8 |
+
import math
|
| 9 |
+
import os
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
import shlex
|
| 12 |
+
import sys
|
| 13 |
+
import time
|
| 14 |
+
import subprocess
|
| 15 |
+
|
| 16 |
+
BASE = Path('/pfs/yichen/rssr_data_enhance+causal_map')
|
| 17 |
+
ROOT = BASE / 'result/sim2-real2/s1_trajectory_refine_v2_20261017'
|
| 18 |
+
EPOCH = Path(__file__).resolve().parent
|
| 19 |
+
sys.path.insert(0, str(BASE / 'sim2-real2/s1_trajectory_refine_v2'))
|
| 20 |
+
import campaign as api
|
| 21 |
+
import dispatcher
|
| 22 |
+
import resources
|
| 23 |
+
|
| 24 |
+
CAPACITY_PROGRAM = r'''
|
| 25 |
+
import json,os,pathlib,time
|
| 26 |
+
cg=pathlib.Path('/sys/fs/cgroup')
|
| 27 |
+
def read(name):
|
| 28 |
+
p=cg/name
|
| 29 |
+
return p.read_text().strip() if p.exists() else None
|
| 30 |
+
def stat():
|
| 31 |
+
return [int(v) for v in pathlib.Path('/proc/stat').read_text().splitlines()[0].split()[1:9]]
|
| 32 |
+
def usage():
|
| 33 |
+
return int(dict(l.split() for l in read('cpu.stat').splitlines())['usage_usec'])
|
| 34 |
+
a=stat();u=usage();t=time.monotonic();time.sleep(2);b=stat();v=usage();elapsed=time.monotonic()-t
|
| 35 |
+
delta=[y-x for x,y in zip(a,b)];ticks=os.sysconf('SC_CLK_TCK')
|
| 36 |
+
host_busy=(sum(delta)-delta[3]-delta[4])/ticks/elapsed
|
| 37 |
+
group_busy=(v-u)/1e6/elapsed
|
| 38 |
+
quota,period=read('cpu.max').split();affinity=sorted(os.sched_getaffinity(0))
|
| 39 |
+
quota_cores=None if quota=='max' else int(quota)/int(period)
|
| 40 |
+
effective=min(float(len(affinity)),float(os.cpu_count()),quota_cores if quota_cores is not None else float('inf'))
|
| 41 |
+
mem_max=read('memory.max');mem_current=int(read('memory.current'))
|
| 42 |
+
mem_limit=None if mem_max=='max' else int(mem_max)
|
| 43 |
+
available=dict(l.split(':',1) for l in pathlib.Path('/proc/meminfo').read_text().splitlines())
|
| 44 |
+
host_available=int(available['MemAvailable'].split()[0])*1024
|
| 45 |
+
memory_headroom=min(host_available,(mem_limit-mem_current) if mem_limit is not None else host_available)-16*1024**3
|
| 46 |
+
busy=max(host_busy,group_busy);cpu_headroom=max(0,effective-busy-16)
|
| 47 |
+
slots=max(0,min(20,int(cpu_headroom//8),int(max(0,memory_headroom)//(2*1024**3))))
|
| 48 |
+
print(json.dumps({'hostname':os.uname().nodename,'visible_cpu_count':os.cpu_count(),'affinity':affinity,'cpu_max':read('cpu.max'),
|
| 49 |
+
'effective_cpu_cores':effective,'observed_host_busy_cores':host_busy,'observed_cgroup_busy_cores':group_busy,
|
| 50 |
+
'measurement_seconds':elapsed,'reserved_other_work_cores':16,'cpu_headroom_cores':cpu_headroom,
|
| 51 |
+
'memory_max':mem_max,'memory_current':mem_current,'host_available_memory':host_available,
|
| 52 |
+
'reserved_memory_bytes':16*1024**3,'estimated_memory_per_worker_bytes':2*1024**3,'memory_headroom_bytes':memory_headroom,
|
| 53 |
+
'threads_per_renderer':8,'slots':slots,'observed_loadavg':os.getloadavg(),'cgroup':pathlib.Path('/proc/self/cgroup').read_text()}))
|
| 54 |
+
'''
|
| 55 |
+
|
| 56 |
+
def operational_inventory(root):
|
| 57 |
+
# Reuse original GPU scan and shared maximum; only CPU slot estimation is
|
| 58 |
+
# based on current measured quota/headroom after all prior workers drained.
|
| 59 |
+
inventory = resources.inventory(root, max_gpus=0, cpu_max=(0, 0))
|
| 60 |
+
# Conservatively recheck the last authorized GPU shortlist instead of
|
| 61 |
+
# delaying all CPUs while scanning unrelated busy/unreachable endpoints.
|
| 62 |
+
prior = api.read(ROOT / 'execution_epochs/epoch_0002/resource_inventory.json')
|
| 63 |
+
gpu = []
|
| 64 |
+
hosts = []
|
| 65 |
+
for r in prior['resources']:
|
| 66 |
+
if r['kind'] != 'remote_gpu':
|
| 67 |
+
continue
|
| 68 |
+
probe = resources.query_gpu(r['port'])
|
| 69 |
+
hosts.append(probe)
|
| 70 |
+
idle = probe.get('result', {}).get('idle', []) if probe.get('result', {}).get('runtime_exists') else []
|
| 71 |
+
if any(c['gpu_uuid'] == r['gpu_uuid'] and c['pci_bus_id'] == r['pci_bus_id'] for c in idle):
|
| 72 |
+
gpu.append(r)
|
| 73 |
+
inventory['resources'] = gpu
|
| 74 |
+
inventory['gpu_hosts'] = hosts
|
| 75 |
+
inventory['selected_gpu_count'] = len(gpu)
|
| 76 |
+
inventory['requested_gpu_limit'] = 8
|
| 77 |
+
inventory['gpu_shortlist_policy'] = 'Fresh scan of previous exact UUID/PCI shortlist only; original per-job gate unchanged; unavailable GPU never blocks CPU workers beyond bounded setup'
|
| 78 |
+
with concurrent.futures.ThreadPoolExecutor(max_workers=2) as pool:
|
| 79 |
+
profiles = list(pool.map(lambda port: dict(port=port, target='root@192.168.24.3',
|
| 80 |
+
result=resources.ssh('root@192.168.24.3', port, CAPACITY_PROGRAM)), (7513, 7514)))
|
| 81 |
+
workers = []
|
| 82 |
+
for profile in profiles:
|
| 83 |
+
for i in range(profile['result']['slots']):
|
| 84 |
+
workers.append(dict(name=f"cpu_{profile['port']}_{i:02d}", kind='cpu',
|
| 85 |
+
port=profile['port'], target=profile['target']))
|
| 86 |
+
inventory['resources'] += workers
|
| 87 |
+
inventory['selected_cpu_workers'] = len(workers)
|
| 88 |
+
inventory['operational_cpu_capacity'] = profiles
|
| 89 |
+
inventory['operational_launcher'] = str(Path(__file__).resolve())
|
| 90 |
+
inventory['operational_launcher_sha256'] = api.sha(__file__)
|
| 91 |
+
inventory['cpu_policy'] = 'min(quota,affinity,visible)-max(2s host/cgroup busy)-16core reserve; 8threads/worker; cap20/host; 2GiB/worker and16GiB memory reserve'
|
| 92 |
+
assert len({r['gpu_uuid'] for r in inventory['resources'] if r['kind'] != 'cpu'}) <= 8
|
| 93 |
+
api.write(EPOCH / 'resource_inventory.json', inventory)
|
| 94 |
+
return inventory
|
| 95 |
+
|
| 96 |
+
class OperationalDispatcher(dispatcher.Dispatcher):
|
| 97 |
+
def setup_remotes(self):
|
| 98 |
+
original = list(self.resources)
|
| 99 |
+
cpu = [r for r in original if r['kind'] == 'cpu']
|
| 100 |
+
accepted = []
|
| 101 |
+
excluded = []
|
| 102 |
+
ports = sorted({r['port'] for r in original if r['kind'] == 'remote_gpu'})
|
| 103 |
+
for port in ports:
|
| 104 |
+
group = [r for r in original if r['kind'] == 'remote_gpu' and r['port'] == port]
|
| 105 |
+
self.resources = cpu + group
|
| 106 |
+
for attempt in range(1, 4):
|
| 107 |
+
try:
|
| 108 |
+
super().setup_remotes()
|
| 109 |
+
api.write(EPOCH / f'setup_{port}_attempt_{attempt:02d}.json', dict(
|
| 110 |
+
status='checksum_setup_complete', at=api.now(), port=port, attempt=attempt,
|
| 111 |
+
worker_started=False))
|
| 112 |
+
accepted.extend(group)
|
| 113 |
+
break
|
| 114 |
+
except (subprocess.SubprocessError, OSError, ValueError) as error:
|
| 115 |
+
api.write(EPOCH / f'setup_{port}_attempt_{attempt:02d}.json', dict(
|
| 116 |
+
status='setup_transport_error_no_worker_started', at=api.now(), port=port,
|
| 117 |
+
attempt=attempt, error=repr(error), worker_started=False))
|
| 118 |
+
assert not self.claimed and not self.jobs
|
| 119 |
+
if attempt == 3:
|
| 120 |
+
excluded.extend(group)
|
| 121 |
+
else:
|
| 122 |
+
time.sleep(2)
|
| 123 |
+
self.resources = accepted + cpu
|
| 124 |
+
self.state = {r['name']: self.state[r['name']] for r in self.resources}
|
| 125 |
+
assert self.resources
|
| 126 |
+
active = dict(at=api.now(), resources=self.resources, excluded_before_workers=excluded,
|
| 127 |
+
configured_cpu_workers=len(cpu), configured_gpu_cards=len(accepted),
|
| 128 |
+
worker_started=False, launcher_sha256=api.sha(__file__))
|
| 129 |
+
api.write(EPOCH / 'worker_resource_inventory.json', active)
|
| 130 |
+
|
| 131 |
+
def run(self, command, stream=None, capture=False, env=None, timeout=1800):
|
| 132 |
+
command = list(command)
|
| 133 |
+
if command[0] == 'scp' and any(':/cpfs01/yichen/' + ROOT.name + '/chunks/job_' in v for v in command):
|
| 134 |
+
# SFTP downloads on the forwarded GPU endpoint repeatedly close
|
| 135 |
+
# before transfer; tested legacy SCP reads the exact same bytes.
|
| 136 |
+
# The original 180-second timeout and media validation remain.
|
| 137 |
+
command.insert(1, '-O')
|
| 138 |
+
if command[0] == 'ssh':
|
| 139 |
+
argv = shlex.split(command[-1])
|
| 140 |
+
wrappers = [p for p in argv if p.endswith('/code/run_task.py')]
|
| 141 |
+
renderers = [p for p in argv if p.endswith('/code/renderer.py')]
|
| 142 |
+
if wrappers and renderers:
|
| 143 |
+
state = Path(argv[argv.index('--state') + 1])
|
| 144 |
+
assert str(state).startswith('/cpfs01/yichen/' + ROOT.name + '/chunks/job_')
|
| 145 |
+
assert '--gpu-uuid' in argv and '--token' in argv and '--samples' in argv
|
| 146 |
+
assert argv[argv.index('--samples') + 1] == '64'
|
| 147 |
+
log = state.parent / 'worker_remote.log'
|
| 148 |
+
# nohup keeps the original run_task ownership wrapper alive on
|
| 149 |
+
# a transport disconnect. Its exact token/child terminal state
|
| 150 |
+
# must still be audited before any recovery, as in epoch 1.
|
| 151 |
+
command[-1] = ('mkdir -p ' + shlex.quote(str(state.parent)) +
|
| 152 |
+
' && exec nohup ' + command[-1] + ' > ' + shlex.quote(str(log)) + ' 2>&1')
|
| 153 |
+
return super().run(command, stream=stream, capture=capture, env=env, timeout=timeout)
|
| 154 |
+
|
| 155 |
+
if __name__ == '__main__':
|
| 156 |
+
manifest = api.read(EPOCH / 'manifest.json')
|
| 157 |
+
assert manifest['launcher_sha256'] == api.sha(__file__)
|
| 158 |
+
assert manifest['render_contract_sha256'] == api.sha(ROOT / 'render_contract.json')
|
| 159 |
+
assert manifest['drain_complete_sha256'] == api.sha(EPOCH / 'drain_complete.json')
|
| 160 |
+
assert api.sha(ROOT / 'camera_alignment.json') == '2cca58b4cdd8a02c21e44812c9e487d96ce794640a1d267654c7abcca74d96cf'
|
| 161 |
+
api.verify_contract(ROOT)
|
| 162 |
+
assert not (ROOT / 'dispatcher_stop').exists()
|
| 163 |
+
assert api.read(EPOCH / 'drain_complete.json')['all_prior_owned_renderers_terminated'] is True
|
| 164 |
+
dispatcher.inventory = operational_inventory
|
| 165 |
+
instance = OperationalDispatcher(ROOT)
|
| 166 |
+
api.write(EPOCH / 'process_start.json', dict(pid=os.getpid(), started_at=api.now(),
|
| 167 |
+
launcher_sha256=api.sha(__file__), render_contract_sha256=api.sha(ROOT / 'render_contract.json')))
|
| 168 |
+
instance.supervise()
|
150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/artifacts/cc5b1a15bdcc1a5acc9fd8441b50291a3336802d7ca098398ab5572c68937a3c/launch_receipt.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"pid": 1886560,
|
| 3 |
+
"started_at": "2026-10-17T09:04:19.999325+00:00",
|
| 4 |
+
"command": [
|
| 5 |
+
"/pfs/yichen/miniconda3/envs/native_photo/bin/python",
|
| 6 |
+
"-u",
|
| 7 |
+
"/pfs/yichen/rssr_data_enhance+causal_map/result/sim2-real2/s1_trajectory_refine_v2_20261017/execution_epochs/epoch_0003/launcher.py"
|
| 8 |
+
],
|
| 9 |
+
"manifest_sha256": "54cba60f54ebab773679ae8480f390e792ffc4ce87fe3f9db1d96691776d6ebc",
|
| 10 |
+
"launcher_sha256": "c6910f23169fde87641789042eb62ac1c56ae0021016c0d9de4e3f5be4bad99f",
|
| 11 |
+
"render_contract_sha256": "3acf185508e5a48170b658811618e613348c848a38669371ce58fb9c47079c4c",
|
| 12 |
+
"completed_chunks_preserved": 95
|
| 13 |
+
}
|
150case_data_enhance_blender_v2_trajectory_refine/evidence/execution_epochs/epoch_0003/snapshot_c4330c98f546fe7e616973b91d0784a03a5cc485c945b5abfa567c7e7a02009d.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"scope": "append-only operational epoch; original frozen render contract unchanged",
|
| 3 |
+
"artifacts": {
|
| 4 |
+
"drain_complete.json": {
|
| 5 |
+
"path": "evidence/execution_epochs/epoch_0003/artifacts/9ed9442a0ff886cfa584d182024130024f6f61c56ea01486663de49f210ee829/drain_complete.json",
|
| 6 |
+
"sha256": "9ed9442a0ff886cfa584d182024130024f6f61c56ea01486663de49f210ee829"
|
| 7 |
+
},
|
| 8 |
+
"launch_receipt.json": {
|
| 9 |
+
"path": "evidence/execution_epochs/epoch_0003/artifacts/cc5b1a15bdcc1a5acc9fd8441b50291a3336802d7ca098398ab5572c68937a3c/launch_receipt.json",
|
| 10 |
+
"sha256": "cc5b1a15bdcc1a5acc9fd8441b50291a3336802d7ca098398ab5572c68937a3c"
|
| 11 |
+
},
|
| 12 |
+
"launcher.py": {
|
| 13 |
+
"path": "evidence/execution_epochs/epoch_0003/artifacts/c6910f23169fde87641789042eb62ac1c56ae0021016c0d9de4e3f5be4bad99f/launcher.py",
|
| 14 |
+
"sha256": "c6910f23169fde87641789042eb62ac1c56ae0021016c0d9de4e3f5be4bad99f"
|
| 15 |
+
},
|
| 16 |
+
"manifest.json": {
|
| 17 |
+
"path": "evidence/execution_epochs/epoch_0003/artifacts/54cba60f54ebab773679ae8480f390e792ffc4ce87fe3f9db1d96691776d6ebc/manifest.json",
|
| 18 |
+
"sha256": "54cba60f54ebab773679ae8480f390e792ffc4ce87fe3f9db1d96691776d6ebc"
|
| 19 |
+
},
|
| 20 |
+
"process_start.json": {
|
| 21 |
+
"path": "evidence/execution_epochs/epoch_0003/artifacts/052fefd5a461ae22a975761237e3ad1009933d14723a9f8a7a3a2e22c5d979ae/process_start.json",
|
| 22 |
+
"sha256": "052fefd5a461ae22a975761237e3ad1009933d14723a9f8a7a3a2e22c5d979ae"
|
| 23 |
+
},
|
| 24 |
+
"remote_process_drain_proofs.json": {
|
| 25 |
+
"path": "evidence/execution_epochs/epoch_0003/artifacts/6e46afede85c174fef9a0363d83ecaf2c53eb0adedbaa59c33177e2b3eb7ad7b/remote_process_drain_proofs.json",
|
| 26 |
+
"sha256": "6e46afede85c174fef9a0363d83ecaf2c53eb0adedbaa59c33177e2b3eb7ad7b"
|
| 27 |
+
},
|
| 28 |
+
"resource_inventory.json": {
|
| 29 |
+
"path": "evidence/execution_epochs/epoch_0003/artifacts/b224f694f8fe790088eacefe0175883c485cc48322b61b7df7f9a74858734a96/resource_inventory.json",
|
| 30 |
+
"sha256": "b224f694f8fe790088eacefe0175883c485cc48322b61b7df7f9a74858734a96"
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
}
|