Commit ·
ed4f374
1
Parent(s): 850469b
Publish portable Isaac-0.5 artifact (#1)
Browse files- feat: publish portable Isaac-0.5 artifact (ed7b4370659d8ef535fed5b1827c36bbd57f67c7)
Co-authored-by: Philipp G <philperceptron@users.noreply.huggingface.co>
This view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +3 -0
- .gitignore +3 -0
- LICENSE +202 -0
- README.md +32 -12
- chat_template.jinja +154 -0
- config.json +313 -0
- configuration_isaac05.py +188 -0
- fast_processor_pinned/processing_action_tokenizer.py +158 -0
- fast_processor_pinned/processor_config.json +11 -0
- fast_processor_pinned/special_tokens_map.json +1 -0
- fast_processor_pinned/tokenizer.json +3 -0
- fast_processor_pinned/tokenizer_config.json +10 -0
- isaac_deployment_adapter.json +47 -0
- isaac_stats.json +60 -0
- lerobot_policy/config.json +123 -0
- lerobot_policy/isaac_deployment_adapter.json +47 -0
- lerobot_policy/isaac_stats.json +60 -0
- lerobot_policy/policy_postprocessor.json +36 -0
- lerobot_policy/policy_postprocessor_step_0_perceptron_isaac_action_unnormalize.safetensors +3 -0
- lerobot_policy/policy_preprocessor.json +103 -0
- lerobot_policy/policy_preprocessor_step_4_perceptron_isaac_mharmony_pack.safetensors +3 -0
- model-00001-of-00042.safetensors +3 -0
- model-00002-of-00042.safetensors +3 -0
- model-00003-of-00042.safetensors +3 -0
- model-00004-of-00042.safetensors +3 -0
- model-00005-of-00042.safetensors +3 -0
- model-00006-of-00042.safetensors +3 -0
- model-00007-of-00042.safetensors +3 -0
- model-00008-of-00042.safetensors +3 -0
- model-00009-of-00042.safetensors +3 -0
- model-00010-of-00042.safetensors +3 -0
- model-00011-of-00042.safetensors +3 -0
- model-00012-of-00042.safetensors +3 -0
- model-00013-of-00042.safetensors +3 -0
- model-00014-of-00042.safetensors +3 -0
- model-00015-of-00042.safetensors +3 -0
- model-00016-of-00042.safetensors +3 -0
- model-00017-of-00042.safetensors +3 -0
- model-00018-of-00042.safetensors +3 -0
- model-00019-of-00042.safetensors +3 -0
- model-00020-of-00042.safetensors +3 -0
- model-00021-of-00042.safetensors +3 -0
- model-00022-of-00042.safetensors +3 -0
- model-00023-of-00042.safetensors +3 -0
- model-00024-of-00042.safetensors +3 -0
- model-00025-of-00042.safetensors +3 -0
- model-00026-of-00042.safetensors +3 -0
- model-00027-of-00042.safetensors +3 -0
- model-00028-of-00042.safetensors +3 -0
- model-00029-of-00042.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -39,3 +39,6 @@ isaac_model_card_assets/perception-benchmarks.png filter=lfs diff=lfs merge=lfs
|
|
| 39 |
isaac_model_card_assets/scaling-law-contours.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
isaac_model_card_assets/training-data-plane.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
isaac_model_card_assets/yam-simulation-tasks.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
isaac_model_card_assets/scaling-law-contours.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
isaac_model_card_assets/training-data-plane.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
isaac_model_card_assets/yam-simulation-tasks.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
policy_normalization.json filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
policy_inference_recipe.json filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Local runtime caches.
|
| 2 |
+
__pycache__/
|
| 3 |
+
.ruff_cache/
|
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- en
|
|
|
|
| 4 |
tags:
|
| 5 |
- robotics
|
| 6 |
- vision-language-model
|
|
@@ -8,8 +9,6 @@ tags:
|
|
| 8 |
- embodied-ai
|
| 9 |
---
|
| 10 |
|
| 11 |
-
<!-- Add the final license and pipeline_tag before publication. -->
|
| 12 |
-
|
| 13 |
# Isaac 0.5 by Perceptron
|
| 14 |
|
| 15 |
Introducing Isaac 0.5, our open foundation model for robot learning.
|
|
@@ -18,13 +17,30 @@ Isaac 0.5 brings multimodal video understanding, embodied reasoning, spatial gro
|
|
| 18 |
|
| 19 |
To our knowledge, Isaac 0.5 is the first open model operating at the frontier of multimodal video understanding, embodied reasoning, and robot control.
|
| 20 |
|
| 21 |
-
**[Read the paper](https://pub-d90b81cad7254a1aa6b148ac18153c0c.r2.dev/isaac-0.5.pdf) · [Download the weights
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
## Extending the frontier of open robot learning
|
| 24 |
|
| 25 |
Isaac 0.5 is trained on more than 35 robot systems, 100,000 hours of robot experience, one million hours of general video, and three trillion multimodal tokens. Video understanding, spatial grounding, task progress, future-percept prediction, and robot action are co-trained from the beginning on one shared backbone.
|
| 26 |
|
| 27 |
-
Teams can fine-tune Isaac as a robot policy or use its visual outputs inside a planner, controller, or data engine.
|
| 28 |
|
| 29 |
## What's new in Isaac 0.5
|
| 30 |
|
|
@@ -33,7 +49,7 @@ Teams can fine-tune Isaac as a robot policy or use its visual outputs inside a p
|
|
| 33 |
- **Unified perception, reasoning, and control:** One shared sparse backbone supports video understanding, pointing, tracking, task-state estimation, and robot action generation.
|
| 34 |
- **Continuous and discrete action interfaces:** Isaac supports continuous control through a dedicated Flow expert and diffusion transformer, plus discrete control through a 2,048-token FAST action vocabulary.
|
| 35 |
- **Real-time closed-loop control:** Isaac predicts the next action chunk while the current chunk is still executing, using the latest observation and previously issued commands.
|
| 36 |
-
- **Open training and deployment stack:**
|
| 37 |
|
| 38 |
## A scaling law for video and robot experience
|
| 39 |
|
|
@@ -101,23 +117,27 @@ We evaluate the same Isaac checkpoints across multimodal video understanding, sp
|
|
| 101 |
|
| 102 |
Isaac 0.5 can be fine-tuned on new demonstrations, used as a visual backbone inside a larger embodied system, or deployed as an action policy through LeRobot or our reference server.
|
| 103 |
|
| 104 |
-
|
| 105 |
|
| 106 |
-
-
|
| 107 |
- continuous Flow and discrete FAST action configurations;
|
| 108 |
-
- action training and fine-tuning code;
|
| 109 |
- text, pointing, tracking, and task-state output schemas;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
- LeRobot integration and a reference policy server;
|
| 111 |
- evaluation code, task definitions, and rollout manifests;
|
| 112 |
-
-
|
| 113 |
-
- the technical report, model card, and reproduction guide.
|
| 114 |
|
| 115 |
## Resources
|
| 116 |
|
| 117 |
-
- **Weights
|
| 118 |
- **Code:** [GitHub](https://github.com/perceptron-ai-inc/isaac)
|
| 119 |
- **Technical report:** [Read the paper](https://pub-d90b81cad7254a1aa6b148ac18153c0c.r2.dev/isaac-0.5.pdf)
|
| 120 |
|
| 121 |
-
Open models are essential to robotics progress.
|
| 122 |
|
| 123 |
For help deploying Isaac on your infrastructure, contact [sales@perceptron.inc](mailto:sales@perceptron.inc).
|
|
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
tags:
|
| 6 |
- robotics
|
| 7 |
- vision-language-model
|
|
|
|
| 9 |
- embodied-ai
|
| 10 |
---
|
| 11 |
|
|
|
|
|
|
|
| 12 |
# Isaac 0.5 by Perceptron
|
| 13 |
|
| 14 |
Introducing Isaac 0.5, our open foundation model for robot learning.
|
|
|
|
| 17 |
|
| 18 |
To our knowledge, Isaac 0.5 is the first open model operating at the frontier of multimodal video understanding, embodied reasoning, and robot control.
|
| 19 |
|
| 20 |
+
**[Read the paper](https://pub-d90b81cad7254a1aa6b148ac18153c0c.r2.dev/isaac-0.5.pdf) · [Download the weights](https://huggingface.co/PerceptronAI/Isaac-0.5) · [View the code](https://github.com/perceptron-ai-inc/isaac)**
|
| 21 |
+
|
| 22 |
+
## Using this checkpoint
|
| 23 |
+
|
| 24 |
+
This checkpoint is consumed through the [Perceptron Isaac repository](https://github.com/perceptron-ai-inc/isaac). Direct Transformers and stock LeRobot usage are not currently supported. It is compatible with [Perceptron Isaac commit `be6507b`](https://github.com/perceptron-ai-inc/isaac/commit/be6507b4aed7472f2029606c22684d4ebc9d73e6).
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
git clone https://github.com/perceptron-ai-inc/isaac.git
|
| 28 |
+
cd isaac
|
| 29 |
+
git checkout be6507b4aed7472f2029606c22684d4ebc9d73e6
|
| 30 |
+
git submodule update --init --recursive
|
| 31 |
+
git -C lerobot fetch origin main
|
| 32 |
+
git -C lerobot checkout e12389c1f8f591ad05dced4e284d4e92e48c5df4
|
| 33 |
+
cd lerobot
|
| 34 |
+
uv sync --locked --extra perceptron_isaac
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
The pinned repository lockfile defines the supported runtime versions.
|
| 38 |
|
| 39 |
## Extending the frontier of open robot learning
|
| 40 |
|
| 41 |
Isaac 0.5 is trained on more than 35 robot systems, 100,000 hours of robot experience, one million hours of general video, and three trillion multimodal tokens. Video understanding, spatial grounding, task progress, future-percept prediction, and robot action are co-trained from the beginning on one shared backbone.
|
| 42 |
|
| 43 |
+
Teams can fine-tune Isaac as a robot policy or use its visual outputs inside a planner, controller, or data engine. This model repository provides checkpoint weights and portable runtime manifests. The companion [Perceptron Isaac repository](https://github.com/perceptron-ai-inc/isaac) provides action-training and inference code, LeRobot integration, a reference policy server, evaluation tools, and reproduction guides.
|
| 44 |
|
| 45 |
## What's new in Isaac 0.5
|
| 46 |
|
|
|
|
| 49 |
- **Unified perception, reasoning, and control:** One shared sparse backbone supports video understanding, pointing, tracking, task-state estimation, and robot action generation.
|
| 50 |
- **Continuous and discrete action interfaces:** Isaac supports continuous control through a dedicated Flow expert and diffusion transformer, plus discrete control through a 2,048-token FAST action vocabulary.
|
| 51 |
- **Real-time closed-loop control:** Isaac predicts the next action chunk while the current chunk is still executing, using the latest observation and previously issued commands.
|
| 52 |
+
- **Open training and deployment stack:** This model repository publishes checkpoint weights and portable manifests; the companion [Perceptron Isaac repository](https://github.com/perceptron-ai-inc/isaac) provides training, inference, LeRobot integration, the reference policy server, and evaluation code.
|
| 53 |
|
| 54 |
## A scaling law for video and robot experience
|
| 55 |
|
|
|
|
| 117 |
|
| 118 |
Isaac 0.5 can be fine-tuned on new demonstrations, used as a visual backbone inside a larger embodied system, or deployed as an action policy through LeRobot or our reference server.
|
| 119 |
|
| 120 |
+
This model repository provides:
|
| 121 |
|
| 122 |
+
- checkpoint weights;
|
| 123 |
- continuous Flow and discrete FAST action configurations;
|
|
|
|
| 124 |
- text, pointing, tracking, and task-state output schemas;
|
| 125 |
+
- checkpoint, data, and model-I/O manifests;
|
| 126 |
+
- the technical report and model card.
|
| 127 |
+
|
| 128 |
+
The companion [Perceptron Isaac repository](https://github.com/perceptron-ai-inc/isaac) provides:
|
| 129 |
+
|
| 130 |
+
- action training, fine-tuning, and inference code;
|
| 131 |
- LeRobot integration and a reference policy server;
|
| 132 |
- evaluation code, task definitions, and rollout manifests;
|
| 133 |
+
- reproduction and deployment guides.
|
|
|
|
| 134 |
|
| 135 |
## Resources
|
| 136 |
|
| 137 |
+
- **Weights:** [Hugging Face](https://huggingface.co/PerceptronAI/Isaac-0.5)
|
| 138 |
- **Code:** [GitHub](https://github.com/perceptron-ai-inc/isaac)
|
| 139 |
- **Technical report:** [Read the paper](https://pub-d90b81cad7254a1aa6b148ac18153c0c.r2.dev/isaac-0.5.pdf)
|
| 140 |
|
| 141 |
+
Open models are essential to robotics progress. The weights and portable manifests are published here; code, interfaces, evaluation tools, and deployment guides are maintained in the companion [Perceptron Isaac repository](https://github.com/perceptron-ai-inc/isaac).
|
| 142 |
|
| 143 |
For help deploying Isaac on your infrastructure, contact [sales@perceptron.inc](mailto:sales@perceptron.inc).
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 46 |
+
{{- '<|im_start|>system\n' }}
|
| 47 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 48 |
+
{%- for tool in tools %}
|
| 49 |
+
{{- "\n" }}
|
| 50 |
+
{{- tool | tojson }}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{{- "\n</tools>" }}
|
| 53 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 54 |
+
{%- if messages[0].role == 'system' %}
|
| 55 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 56 |
+
{%- if content %}
|
| 57 |
+
{{- '\n\n' + content }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<|im_end|>\n' }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{%- if messages[0].role == 'system' %}
|
| 63 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 64 |
+
{{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
|
| 65 |
+
{%- endif %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 68 |
+
{%- for message in messages[::-1] %}
|
| 69 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 70 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 71 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 72 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 73 |
+
{%- set ns.multi_step_tool = false %}
|
| 74 |
+
{%- set ns.last_query_index = index %}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{%- endif %}
|
| 77 |
+
{%- endfor %}
|
| 78 |
+
{%- if ns.multi_step_tool %}
|
| 79 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{%- for message in messages %}
|
| 82 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 83 |
+
{%- if message.role == "system" %}
|
| 84 |
+
{%- if not loop.first %}
|
| 85 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- elif message.role == "user" %}
|
| 88 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 89 |
+
{%- elif message.role == "assistant" %}
|
| 90 |
+
{%- set reasoning_content = '' %}
|
| 91 |
+
{%- if message.reasoning_content is string %}
|
| 92 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 93 |
+
{%- else %}
|
| 94 |
+
{%- if '</think>' in content %}
|
| 95 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 96 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endif %}
|
| 99 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 100 |
+
{%- if (preserve_thinking is defined and preserve_thinking is true) or (loop.index0 > ns.last_query_index) %}
|
| 101 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 102 |
+
{%- else %}
|
| 103 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 104 |
+
{%- endif %}
|
| 105 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 106 |
+
{%- for tool_call in message.tool_calls %}
|
| 107 |
+
{%- if tool_call.function is defined %}
|
| 108 |
+
{%- set tool_call = tool_call.function %}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- if loop.first %}
|
| 111 |
+
{%- if content|trim %}
|
| 112 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 113 |
+
{%- else %}
|
| 114 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 118 |
+
{%- endif %}
|
| 119 |
+
{%- if tool_call.arguments is defined %}
|
| 120 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 121 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 122 |
+
{%- set args_value = args_value | string if args_value is string else args_value | tojson | safe %}
|
| 123 |
+
{{- args_value }}
|
| 124 |
+
{{- '\n</parameter>\n' }}
|
| 125 |
+
{%- endfor %}
|
| 126 |
+
{%- endif %}
|
| 127 |
+
{{- '</function>\n</tool_call>' }}
|
| 128 |
+
{%- endfor %}
|
| 129 |
+
{%- endif %}
|
| 130 |
+
{{- '<|im_end|>\n' }}
|
| 131 |
+
{%- elif message.role == "tool" %}
|
| 132 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 133 |
+
{{- '<|im_start|>user' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{{- '\n<tool_response>\n' }}
|
| 136 |
+
{{- content }}
|
| 137 |
+
{{- '\n</tool_response>' }}
|
| 138 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 139 |
+
{{- '<|im_end|>\n' }}
|
| 140 |
+
{%- elif loop.last %}
|
| 141 |
+
{{- '<|im_end|>\n' }}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{%- else %}
|
| 144 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{%- endfor %}
|
| 147 |
+
{%- if add_generation_prompt %}
|
| 148 |
+
{{- '<|im_start|>assistant\n' }}
|
| 149 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 150 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 151 |
+
{%- else %}
|
| 152 |
+
{{- '<think>\n' }}
|
| 153 |
+
{%- endif %}
|
| 154 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,313 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "",
|
| 3 |
+
"action_expert": {
|
| 4 |
+
"action_dim": 64,
|
| 5 |
+
"action_horizon": 64,
|
| 6 |
+
"causal_attn": false,
|
| 7 |
+
"context_layer_norm": true,
|
| 8 |
+
"drop_action_dim_overflow": false,
|
| 9 |
+
"ffn_multiple_of": 256,
|
| 10 |
+
"hidden_dim": 768,
|
| 11 |
+
"k_batched_cross_attn": true,
|
| 12 |
+
"k_batched_cross_attn_backend": "flash_gqa",
|
| 13 |
+
"mask_padded_action_rows": true,
|
| 14 |
+
"mlp_ratio": 4.0,
|
| 15 |
+
"num_heads": 8,
|
| 16 |
+
"num_inference_steps": 10,
|
| 17 |
+
"num_layers": 36,
|
| 18 |
+
"qk_norm": true,
|
| 19 |
+
"qk_norm_eps": 1e-06,
|
| 20 |
+
"rope": true,
|
| 21 |
+
"rtc_delay_sampling": "poisson",
|
| 22 |
+
"rtc_max_delay_steps": 12,
|
| 23 |
+
"rtc_poisson_mean": 5.0,
|
| 24 |
+
"rtc_probability": 0.5,
|
| 25 |
+
"schema_version": 1,
|
| 26 |
+
"timestep_embed_dim": 256,
|
| 27 |
+
"timestep_sampling_alpha": 1.5,
|
| 28 |
+
"timestep_sampling_beta": 1.0,
|
| 29 |
+
"timestep_sampling_offset": 0.001,
|
| 30 |
+
"timestep_sampling_scale": 0.999,
|
| 31 |
+
"train_samples_per_chunk": 8,
|
| 32 |
+
"type": "dit"
|
| 33 |
+
},
|
| 34 |
+
"architectures": [
|
| 35 |
+
"Isaac05ForConditionalGeneration"
|
| 36 |
+
],
|
| 37 |
+
"auto_map": {
|
| 38 |
+
"AutoConfig": "configuration_isaac05.Isaac05Config",
|
| 39 |
+
"AutoModelForCausalLM": "modeling_isaac05.Isaac05ForConditionalGeneration",
|
| 40 |
+
"AutoProcessor": "processing_isaac05.Isaac05Processor"
|
| 41 |
+
},
|
| 42 |
+
"chunk_size_feed_forward": 0,
|
| 43 |
+
"dtype": "bfloat16",
|
| 44 |
+
"id2label": {
|
| 45 |
+
"0": "LABEL_0",
|
| 46 |
+
"1": "LABEL_1"
|
| 47 |
+
},
|
| 48 |
+
"image_token_id": 248056,
|
| 49 |
+
"is_encoder_decoder": false,
|
| 50 |
+
"isaac05_artifact": {
|
| 51 |
+
"artifact_kind": "trained_policy",
|
| 52 |
+
"schema_version": 1,
|
| 53 |
+
"tensor_bytes": 142894027456,
|
| 54 |
+
"tensor_count": 1616
|
| 55 |
+
},
|
| 56 |
+
"isaac05_coord_tokens": {
|
| 57 |
+
"enabled": true,
|
| 58 |
+
"offset": 248320,
|
| 59 |
+
"size": 1001
|
| 60 |
+
},
|
| 61 |
+
"isaac05_fast_tokens": {
|
| 62 |
+
"enabled": true,
|
| 63 |
+
"offset": 249321,
|
| 64 |
+
"size": 2048,
|
| 65 |
+
"tokenizer": "physical-intelligence/fast"
|
| 66 |
+
},
|
| 67 |
+
"isaac05_moe": {
|
| 68 |
+
"logical_router_outputs": 512,
|
| 69 |
+
"num_null_experts": 256,
|
| 70 |
+
"num_real_experts": 256,
|
| 71 |
+
"physical_router_outputs": 257,
|
| 72 |
+
"route_norm": true,
|
| 73 |
+
"route_scale": 1.0,
|
| 74 |
+
"router_contract": [
|
| 75 |
+
256,
|
| 76 |
+
256
|
| 77 |
+
],
|
| 78 |
+
"router_contract_version": 1,
|
| 79 |
+
"score_before_experts": false,
|
| 80 |
+
"score_func": "softmax",
|
| 81 |
+
"shared_null_router_row": true,
|
| 82 |
+
"top_k": 8,
|
| 83 |
+
"uses_expert_bias": false
|
| 84 |
+
},
|
| 85 |
+
"isaac05_test_only_reduced_geometry": false,
|
| 86 |
+
"isaac05_vla": {
|
| 87 |
+
"action_expert": {
|
| 88 |
+
"action_dim": 64,
|
| 89 |
+
"action_horizon": 64,
|
| 90 |
+
"causal_attn": false,
|
| 91 |
+
"context_layer_norm": true,
|
| 92 |
+
"drop_action_dim_overflow": false,
|
| 93 |
+
"ffn_multiple_of": 256,
|
| 94 |
+
"hidden_dim": 768,
|
| 95 |
+
"k_batched_cross_attn": true,
|
| 96 |
+
"k_batched_cross_attn_backend": "flash_gqa",
|
| 97 |
+
"mask_padded_action_rows": true,
|
| 98 |
+
"mlp_ratio": 4.0,
|
| 99 |
+
"num_heads": 8,
|
| 100 |
+
"num_inference_steps": 10,
|
| 101 |
+
"num_layers": 36,
|
| 102 |
+
"qk_norm": true,
|
| 103 |
+
"qk_norm_eps": 1e-06,
|
| 104 |
+
"rope": true,
|
| 105 |
+
"rtc_delay_sampling": "poisson",
|
| 106 |
+
"rtc_max_delay_steps": 12,
|
| 107 |
+
"rtc_poisson_mean": 5.0,
|
| 108 |
+
"rtc_probability": 0.5,
|
| 109 |
+
"schema_version": 1,
|
| 110 |
+
"timestep_embed_dim": 256,
|
| 111 |
+
"timestep_sampling_alpha": 1.5,
|
| 112 |
+
"timestep_sampling_beta": 1.0,
|
| 113 |
+
"timestep_sampling_offset": 0.001,
|
| 114 |
+
"timestep_sampling_scale": 0.999,
|
| 115 |
+
"train_samples_per_chunk": 8,
|
| 116 |
+
"type": "dit"
|
| 117 |
+
},
|
| 118 |
+
"mtp": {
|
| 119 |
+
"action_runtime": "exclude",
|
| 120 |
+
"physical_layers": 0,
|
| 121 |
+
"present": false,
|
| 122 |
+
"rollout_steps": 0
|
| 123 |
+
},
|
| 124 |
+
"rmsnorm_weight_convention": "zero_centered_1_plus_weight",
|
| 125 |
+
"schema_version": 1,
|
| 126 |
+
"state_dict_schema": "pr3154_v1",
|
| 127 |
+
"vector_encoder": {
|
| 128 |
+
"bias": false,
|
| 129 |
+
"hidden_dim": 2048,
|
| 130 |
+
"max_states": 128,
|
| 131 |
+
"output_dim": 2048,
|
| 132 |
+
"type": "linear_silu_linear"
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"label2id": {
|
| 136 |
+
"LABEL_0": 0,
|
| 137 |
+
"LABEL_1": 1
|
| 138 |
+
},
|
| 139 |
+
"max_sequence_length": 262144,
|
| 140 |
+
"model_type": "isaac_0_5",
|
| 141 |
+
"output_attentions": false,
|
| 142 |
+
"output_hidden_states": false,
|
| 143 |
+
"problem_type": null,
|
| 144 |
+
"return_dict": true,
|
| 145 |
+
"runtime_dtype": "bfloat16",
|
| 146 |
+
"storage_dtype": "float32",
|
| 147 |
+
"text_config": {
|
| 148 |
+
"_name_or_path": "",
|
| 149 |
+
"architectures": null,
|
| 150 |
+
"attention_bias": false,
|
| 151 |
+
"attention_dropout": 0.0,
|
| 152 |
+
"attn_output_gate": true,
|
| 153 |
+
"bos_token_id": 248044,
|
| 154 |
+
"chunk_size_feed_forward": 0,
|
| 155 |
+
"dtype": "bfloat16",
|
| 156 |
+
"eos_token_id": 248044,
|
| 157 |
+
"full_attention_interval": 4,
|
| 158 |
+
"head_dim": 256,
|
| 159 |
+
"hidden_act": "silu",
|
| 160 |
+
"hidden_size": 2048,
|
| 161 |
+
"id2label": {
|
| 162 |
+
"0": "LABEL_0",
|
| 163 |
+
"1": "LABEL_1"
|
| 164 |
+
},
|
| 165 |
+
"initializer_range": 0.02,
|
| 166 |
+
"is_encoder_decoder": false,
|
| 167 |
+
"isaac05_moe": {
|
| 168 |
+
"logical_router_outputs": 512,
|
| 169 |
+
"num_null_experts": 256,
|
| 170 |
+
"num_real_experts": 256,
|
| 171 |
+
"physical_router_outputs": 257,
|
| 172 |
+
"route_norm": true,
|
| 173 |
+
"route_scale": 1.0,
|
| 174 |
+
"router_contract": [
|
| 175 |
+
256,
|
| 176 |
+
256
|
| 177 |
+
],
|
| 178 |
+
"router_contract_version": 1,
|
| 179 |
+
"score_before_experts": false,
|
| 180 |
+
"score_func": "softmax",
|
| 181 |
+
"shared_null_router_row": true,
|
| 182 |
+
"top_k": 8,
|
| 183 |
+
"uses_expert_bias": false
|
| 184 |
+
},
|
| 185 |
+
"label2id": {
|
| 186 |
+
"LABEL_0": 0,
|
| 187 |
+
"LABEL_1": 1
|
| 188 |
+
},
|
| 189 |
+
"layer_types": [
|
| 190 |
+
"linear_attention",
|
| 191 |
+
"linear_attention",
|
| 192 |
+
"linear_attention",
|
| 193 |
+
"full_attention",
|
| 194 |
+
"linear_attention",
|
| 195 |
+
"linear_attention",
|
| 196 |
+
"linear_attention",
|
| 197 |
+
"full_attention",
|
| 198 |
+
"linear_attention",
|
| 199 |
+
"linear_attention",
|
| 200 |
+
"linear_attention",
|
| 201 |
+
"full_attention",
|
| 202 |
+
"linear_attention",
|
| 203 |
+
"linear_attention",
|
| 204 |
+
"linear_attention",
|
| 205 |
+
"full_attention",
|
| 206 |
+
"linear_attention",
|
| 207 |
+
"linear_attention",
|
| 208 |
+
"linear_attention",
|
| 209 |
+
"full_attention",
|
| 210 |
+
"linear_attention",
|
| 211 |
+
"linear_attention",
|
| 212 |
+
"linear_attention",
|
| 213 |
+
"full_attention",
|
| 214 |
+
"linear_attention",
|
| 215 |
+
"linear_attention",
|
| 216 |
+
"linear_attention",
|
| 217 |
+
"full_attention",
|
| 218 |
+
"linear_attention",
|
| 219 |
+
"linear_attention",
|
| 220 |
+
"linear_attention",
|
| 221 |
+
"full_attention",
|
| 222 |
+
"linear_attention",
|
| 223 |
+
"linear_attention",
|
| 224 |
+
"linear_attention",
|
| 225 |
+
"full_attention",
|
| 226 |
+
"linear_attention",
|
| 227 |
+
"linear_attention",
|
| 228 |
+
"linear_attention",
|
| 229 |
+
"full_attention"
|
| 230 |
+
],
|
| 231 |
+
"linear_conv_kernel_dim": 4,
|
| 232 |
+
"linear_key_head_dim": 128,
|
| 233 |
+
"linear_num_key_heads": 16,
|
| 234 |
+
"linear_num_value_heads": 32,
|
| 235 |
+
"linear_value_head_dim": 128,
|
| 236 |
+
"mamba_ssm_dtype": "float32",
|
| 237 |
+
"max_position_embeddings": 262144,
|
| 238 |
+
"model_type": "qwen3_5_moe_text",
|
| 239 |
+
"moe_intermediate_size": 512,
|
| 240 |
+
"mtp_num_hidden_layers": 0,
|
| 241 |
+
"mtp_use_dedicated_embeddings": false,
|
| 242 |
+
"num_attention_heads": 16,
|
| 243 |
+
"num_experts": 256,
|
| 244 |
+
"num_experts_per_tok": 8,
|
| 245 |
+
"num_hidden_layers": 40,
|
| 246 |
+
"num_key_value_heads": 2,
|
| 247 |
+
"output_attentions": false,
|
| 248 |
+
"output_hidden_states": false,
|
| 249 |
+
"output_router_logits": false,
|
| 250 |
+
"pad_token_id": null,
|
| 251 |
+
"partial_rotary_factor": 0.25,
|
| 252 |
+
"problem_type": null,
|
| 253 |
+
"return_dict": true,
|
| 254 |
+
"rms_norm_eps": 1e-06,
|
| 255 |
+
"rope_parameters": {
|
| 256 |
+
"mrope_interleaved": true,
|
| 257 |
+
"mrope_section": [
|
| 258 |
+
11,
|
| 259 |
+
11,
|
| 260 |
+
10
|
| 261 |
+
],
|
| 262 |
+
"partial_rotary_factor": 0.25,
|
| 263 |
+
"rope_theta": 10000000,
|
| 264 |
+
"rope_type": "default"
|
| 265 |
+
},
|
| 266 |
+
"router_aux_loss_coef": 0.001,
|
| 267 |
+
"shared_expert_intermediate_size": 512,
|
| 268 |
+
"tie_word_embeddings": false,
|
| 269 |
+
"use_cache": true,
|
| 270 |
+
"vocab_size": 256279
|
| 271 |
+
},
|
| 272 |
+
"tie_word_embeddings": false,
|
| 273 |
+
"transformers_version": "5.5.4",
|
| 274 |
+
"vector_max_states": 128,
|
| 275 |
+
"video_token_id": 248057,
|
| 276 |
+
"vision_config": {
|
| 277 |
+
"_name_or_path": "",
|
| 278 |
+
"architectures": null,
|
| 279 |
+
"chunk_size_feed_forward": 0,
|
| 280 |
+
"deepstack_visual_indexes": [],
|
| 281 |
+
"depth": 27,
|
| 282 |
+
"dtype": null,
|
| 283 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 284 |
+
"hidden_size": 1152,
|
| 285 |
+
"id2label": {
|
| 286 |
+
"0": "LABEL_0",
|
| 287 |
+
"1": "LABEL_1"
|
| 288 |
+
},
|
| 289 |
+
"in_channels": 3,
|
| 290 |
+
"initializer_range": 0.02,
|
| 291 |
+
"intermediate_size": 4304,
|
| 292 |
+
"is_encoder_decoder": false,
|
| 293 |
+
"label2id": {
|
| 294 |
+
"LABEL_0": 0,
|
| 295 |
+
"LABEL_1": 1
|
| 296 |
+
},
|
| 297 |
+
"model_type": "qwen3_5_moe",
|
| 298 |
+
"num_heads": 16,
|
| 299 |
+
"num_position_embeddings": 2304,
|
| 300 |
+
"out_hidden_size": 2048,
|
| 301 |
+
"output_attentions": false,
|
| 302 |
+
"output_hidden_states": false,
|
| 303 |
+
"patch_size": 16,
|
| 304 |
+
"problem_type": null,
|
| 305 |
+
"return_dict": true,
|
| 306 |
+
"spatial_merge_size": 2,
|
| 307 |
+
"temporal_patch_size": 2
|
| 308 |
+
},
|
| 309 |
+
"vision_end_token_id": 248054,
|
| 310 |
+
"vision_rescale_factor": 0.00392156862745098,
|
| 311 |
+
"vision_start_token_id": 248053,
|
| 312 |
+
"vision_token": "<|image_pad|>"
|
| 313 |
+
}
|
configuration_isaac05.py
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Transformers configuration for the portable Isaac-0.5 VLA repository."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import copy
|
| 6 |
+
from collections.abc import Mapping
|
| 7 |
+
from typing import Any
|
| 8 |
+
|
| 9 |
+
from transformers import Qwen3_5MoeConfig
|
| 10 |
+
|
| 11 |
+
_ISAAC05_ARCHITECTURES = ["Isaac05ForConditionalGeneration"]
|
| 12 |
+
_ISAAC05_AUTO_MAP = {
|
| 13 |
+
"AutoConfig": "configuration_isaac05.Isaac05Config",
|
| 14 |
+
"AutoModelForCausalLM": "modeling_isaac05.Isaac05ForConditionalGeneration",
|
| 15 |
+
"AutoProcessor": "processing_isaac05.Isaac05Processor",
|
| 16 |
+
}
|
| 17 |
+
_PRODUCTION_COORD_TOKENS = {"enabled": True, "offset": 248_320, "size": 1_001}
|
| 18 |
+
_PRODUCTION_FAST_TOKENS = {
|
| 19 |
+
"enabled": True,
|
| 20 |
+
"tokenizer": "physical-intelligence/fast",
|
| 21 |
+
"offset": 249_321,
|
| 22 |
+
"size": 2_048,
|
| 23 |
+
}
|
| 24 |
+
_PRODUCTION_ARTIFACT = {
|
| 25 |
+
"schema_version": 1,
|
| 26 |
+
"artifact_kind": "trained_policy",
|
| 27 |
+
"tensor_count": 1_616,
|
| 28 |
+
"tensor_bytes": 142_894_027_456,
|
| 29 |
+
}
|
| 30 |
+
_PRODUCTION_VECTOR_ENCODER = {
|
| 31 |
+
"type": "linear_silu_linear",
|
| 32 |
+
"max_states": 128,
|
| 33 |
+
"hidden_dim": 2_048,
|
| 34 |
+
"output_dim": 2_048,
|
| 35 |
+
"bias": False,
|
| 36 |
+
}
|
| 37 |
+
_PRODUCTION_ACTION_EXPERT = {
|
| 38 |
+
"action_dim": 64,
|
| 39 |
+
"action_horizon": 64,
|
| 40 |
+
"num_layers": 36,
|
| 41 |
+
"hidden_dim": 768,
|
| 42 |
+
"num_heads": 8,
|
| 43 |
+
"mlp_ratio": 4.0,
|
| 44 |
+
"num_inference_steps": 10,
|
| 45 |
+
"timestep_sampling_alpha": 1.5,
|
| 46 |
+
"timestep_sampling_beta": 1.0,
|
| 47 |
+
"timestep_sampling_scale": 0.999,
|
| 48 |
+
"timestep_sampling_offset": 0.001,
|
| 49 |
+
"train_samples_per_chunk": 8,
|
| 50 |
+
"timestep_embed_dim": 256,
|
| 51 |
+
"rtc_max_delay_steps": 12,
|
| 52 |
+
"rtc_probability": 0.5,
|
| 53 |
+
"rtc_delay_sampling": "poisson",
|
| 54 |
+
"rtc_poisson_mean": 5.0,
|
| 55 |
+
"mask_padded_action_rows": True,
|
| 56 |
+
"drop_action_dim_overflow": False,
|
| 57 |
+
"ffn_multiple_of": 256,
|
| 58 |
+
"qk_norm": True,
|
| 59 |
+
"qk_norm_eps": 1e-6,
|
| 60 |
+
"rope": True,
|
| 61 |
+
"context_layer_norm": True,
|
| 62 |
+
"causal_attn": False,
|
| 63 |
+
"k_batched_cross_attn": True,
|
| 64 |
+
"k_batched_cross_attn_backend": "flash_gqa",
|
| 65 |
+
"schema_version": 1,
|
| 66 |
+
"type": "dit",
|
| 67 |
+
}
|
| 68 |
+
_PRODUCTION_MTP = {
|
| 69 |
+
"present": False,
|
| 70 |
+
"physical_layers": 0,
|
| 71 |
+
"rollout_steps": 0,
|
| 72 |
+
"action_runtime": "exclude",
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
def _copy_mapping(value: Mapping[str, Any] | None, *, name: str) -> dict[str, Any]:
|
| 77 |
+
if not isinstance(value, Mapping):
|
| 78 |
+
raise ValueError(f"Isaac05Config {name} must be a JSON object.")
|
| 79 |
+
return copy.deepcopy(dict(value))
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
def _require_exact(value: Mapping[str, Any], expected: Mapping[str, Any], *, name: str) -> None:
|
| 83 |
+
if dict(value) != dict(expected):
|
| 84 |
+
raise ValueError(f"Isaac05Config {name} does not match the portable artifact contract.")
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
def _reserved_token_range(value: Mapping[str, Any], *, name: str) -> range:
|
| 88 |
+
if value.get("enabled") is not True:
|
| 89 |
+
raise ValueError(f"Isaac05Config {name}.enabled must be true.")
|
| 90 |
+
offset = value.get("offset")
|
| 91 |
+
size = value.get("size")
|
| 92 |
+
if not isinstance(offset, int) or isinstance(offset, bool) or offset < 0:
|
| 93 |
+
raise ValueError(f"Isaac05Config {name}.offset must be a non-negative integer.")
|
| 94 |
+
if not isinstance(size, int) or isinstance(size, bool) or size <= 0:
|
| 95 |
+
raise ValueError(f"Isaac05Config {name}.size must be a positive integer.")
|
| 96 |
+
return range(offset, offset + size)
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
class Isaac05Config(Qwen3_5MoeConfig):
|
| 100 |
+
"""Portable Isaac-0.5 configuration for the published checkpoint."""
|
| 101 |
+
|
| 102 |
+
model_type = "isaac_0_5"
|
| 103 |
+
has_no_defaults_at_init = True
|
| 104 |
+
|
| 105 |
+
def __init__(
|
| 106 |
+
self,
|
| 107 |
+
*,
|
| 108 |
+
isaac05_artifact: Mapping[str, Any] | None = None,
|
| 109 |
+
isaac05_coord_tokens: Mapping[str, Any] | None = None,
|
| 110 |
+
isaac05_fast_tokens: Mapping[str, Any] | None = None,
|
| 111 |
+
isaac05_vla: Mapping[str, Any] | None = None,
|
| 112 |
+
storage_dtype: str = "float32",
|
| 113 |
+
runtime_dtype: str = "bfloat16",
|
| 114 |
+
max_sequence_length: int = 262_144,
|
| 115 |
+
vision_token: str = "<|image_pad|>",
|
| 116 |
+
vision_rescale_factor: float = 1 / 255,
|
| 117 |
+
isaac05_test_only_reduced_geometry: bool = False,
|
| 118 |
+
**kwargs: Any,
|
| 119 |
+
) -> None:
|
| 120 |
+
architectures = kwargs.pop("architectures", _ISAAC05_ARCHITECTURES)
|
| 121 |
+
auto_map = kwargs.pop("auto_map", _ISAAC05_AUTO_MAP)
|
| 122 |
+
if architectures != _ISAAC05_ARCHITECTURES:
|
| 123 |
+
raise ValueError(f"Isaac05Config architectures must be {_ISAAC05_ARCHITECTURES!r}.")
|
| 124 |
+
if auto_map != _ISAAC05_AUTO_MAP:
|
| 125 |
+
raise ValueError("Isaac05Config auto_map does not match the portable repository API.")
|
| 126 |
+
|
| 127 |
+
artifact = _copy_mapping(isaac05_artifact, name="isaac05_artifact")
|
| 128 |
+
coord_tokens = _copy_mapping(isaac05_coord_tokens, name="isaac05_coord_tokens")
|
| 129 |
+
fast_tokens = _copy_mapping(isaac05_fast_tokens, name="isaac05_fast_tokens")
|
| 130 |
+
vla = _copy_mapping(isaac05_vla, name="isaac05_vla")
|
| 131 |
+
|
| 132 |
+
if storage_dtype != "float32":
|
| 133 |
+
raise ValueError("Isaac05Config storage_dtype must be 'float32'.")
|
| 134 |
+
if runtime_dtype != "bfloat16":
|
| 135 |
+
raise ValueError("Isaac05Config runtime_dtype must be 'bfloat16'.")
|
| 136 |
+
if max_sequence_length <= 0:
|
| 137 |
+
raise ValueError("Isaac05Config max_sequence_length must be positive.")
|
| 138 |
+
if not vision_token:
|
| 139 |
+
raise ValueError("Isaac05Config vision_token must not be empty.")
|
| 140 |
+
if vision_rescale_factor <= 0:
|
| 141 |
+
raise ValueError("Isaac05Config vision_rescale_factor must be positive.")
|
| 142 |
+
coord_range = _reserved_token_range(coord_tokens, name="isaac05_coord_tokens")
|
| 143 |
+
fast_range = _reserved_token_range(fast_tokens, name="isaac05_fast_tokens")
|
| 144 |
+
if coord_range.start < fast_range.stop and fast_range.start < coord_range.stop:
|
| 145 |
+
raise ValueError("Isaac05Config reserved token ranges overlap.")
|
| 146 |
+
if not isaac05_test_only_reduced_geometry:
|
| 147 |
+
_require_exact(artifact, _PRODUCTION_ARTIFACT, name="isaac05_artifact")
|
| 148 |
+
_require_exact(coord_tokens, _PRODUCTION_COORD_TOKENS, name="isaac05_coord_tokens")
|
| 149 |
+
_require_exact(fast_tokens, _PRODUCTION_FAST_TOKENS, name="isaac05_fast_tokens")
|
| 150 |
+
_require_exact(
|
| 151 |
+
_copy_mapping(vla.get("vector_encoder"), name="isaac05_vla.vector_encoder"),
|
| 152 |
+
_PRODUCTION_VECTOR_ENCODER,
|
| 153 |
+
name="isaac05_vla.vector_encoder",
|
| 154 |
+
)
|
| 155 |
+
_require_exact(
|
| 156 |
+
_copy_mapping(vla.get("action_expert"), name="isaac05_vla.action_expert"),
|
| 157 |
+
_PRODUCTION_ACTION_EXPERT,
|
| 158 |
+
name="isaac05_vla.action_expert",
|
| 159 |
+
)
|
| 160 |
+
_require_exact(
|
| 161 |
+
_copy_mapping(vla.get("mtp"), name="isaac05_vla.mtp"),
|
| 162 |
+
_PRODUCTION_MTP,
|
| 163 |
+
name="isaac05_vla.mtp",
|
| 164 |
+
)
|
| 165 |
+
if vla.get("schema_version") != 1:
|
| 166 |
+
raise ValueError("Isaac05Config isaac05_vla.schema_version must be 1.")
|
| 167 |
+
if vla.get("state_dict_schema") != "pr3154_v1":
|
| 168 |
+
raise ValueError("Isaac05Config isaac05_vla.state_dict_schema must be 'pr3154_v1'.")
|
| 169 |
+
if vla.get("rmsnorm_weight_convention") != "zero_centered_1_plus_weight":
|
| 170 |
+
raise ValueError(
|
| 171 |
+
"Isaac05Config isaac05_vla.rmsnorm_weight_convention must be 'zero_centered_1_plus_weight'."
|
| 172 |
+
)
|
| 173 |
+
|
| 174 |
+
super().__init__(architectures=architectures, auto_map=auto_map, **kwargs)
|
| 175 |
+
self.isaac05_artifact = artifact
|
| 176 |
+
self.isaac05_coord_tokens = coord_tokens
|
| 177 |
+
self.isaac05_fast_tokens = fast_tokens
|
| 178 |
+
self.isaac05_vla = vla
|
| 179 |
+
vector_encoder = _copy_mapping(vla.get("vector_encoder"), name="isaac05_vla.vector_encoder")
|
| 180 |
+
action_expert = _copy_mapping(vla.get("action_expert"), name="isaac05_vla.action_expert")
|
| 181 |
+
self.vector_max_states = int(vector_encoder["max_states"])
|
| 182 |
+
self.action_expert = action_expert
|
| 183 |
+
self.storage_dtype = storage_dtype
|
| 184 |
+
self.runtime_dtype = runtime_dtype
|
| 185 |
+
self.max_sequence_length = int(max_sequence_length)
|
| 186 |
+
self.vision_token = vision_token
|
| 187 |
+
self.vision_rescale_factor = float(vision_rescale_factor)
|
| 188 |
+
self.isaac05_test_only_reduced_geometry = bool(isaac05_test_only_reduced_geometry)
|
fast_processor_pinned/processing_action_tokenizer.py
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import logging
|
| 2 |
+
from typing import ClassVar
|
| 3 |
+
|
| 4 |
+
import numpy as np
|
| 5 |
+
from scipy.fft import dct
|
| 6 |
+
from scipy.fft import idct
|
| 7 |
+
from tokenizers import ByteLevelBPETokenizer
|
| 8 |
+
from tokenizers.trainers import BpeTrainer
|
| 9 |
+
from transformers import PreTrainedTokenizerFast
|
| 10 |
+
from transformers.processing_utils import ProcessorMixin
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
class UniversalActionProcessor(ProcessorMixin):
|
| 14 |
+
attributes: ClassVar[list[str]] = ["bpe_tokenizer"]
|
| 15 |
+
bpe_tokenizer_class: str = "AutoTokenizer"
|
| 16 |
+
|
| 17 |
+
def __init__(
|
| 18 |
+
self,
|
| 19 |
+
bpe_tokenizer: PreTrainedTokenizerFast,
|
| 20 |
+
scale: float = 10,
|
| 21 |
+
vocab_size: int = 1024,
|
| 22 |
+
min_token: int = 0,
|
| 23 |
+
*,
|
| 24 |
+
action_dim: int | None = None,
|
| 25 |
+
time_horizon: int | None = None,
|
| 26 |
+
):
|
| 27 |
+
self.scale = scale
|
| 28 |
+
self.vocab_size = vocab_size
|
| 29 |
+
self.min_token = min_token
|
| 30 |
+
|
| 31 |
+
# Action horizon and dimension needed during decoding. These can be specified
|
| 32 |
+
# in three ways (in order of priority):
|
| 33 |
+
# 1. passed in as kwargs to decode()
|
| 34 |
+
# 2. in the constructor
|
| 35 |
+
# 3. cached from the last time decode() was called
|
| 36 |
+
self.time_horizon = time_horizon
|
| 37 |
+
self.action_dim = action_dim
|
| 38 |
+
self.called_time_horizon = time_horizon
|
| 39 |
+
self.called_action_dim = action_dim
|
| 40 |
+
|
| 41 |
+
super().__init__(bpe_tokenizer)
|
| 42 |
+
|
| 43 |
+
def __call__(self, action_chunk: np.array) -> np.array:
|
| 44 |
+
assert action_chunk.ndim <= 3, "Only 3 dimensions supported: [batch, timesteps, action_dim]"
|
| 45 |
+
if action_chunk.ndim == 2:
|
| 46 |
+
action_chunk = action_chunk[None, ...]
|
| 47 |
+
|
| 48 |
+
# Cache the time horizon and action dimension for decoding
|
| 49 |
+
self.called_time_horizon = action_chunk.shape[-2]
|
| 50 |
+
self.called_action_dim = action_chunk.shape[-1]
|
| 51 |
+
|
| 52 |
+
dct_coeff = dct(action_chunk, axis=1, norm="ortho")
|
| 53 |
+
dct_coeff = np.around(dct_coeff * self.scale)
|
| 54 |
+
tokens = []
|
| 55 |
+
for elem in dct_coeff:
|
| 56 |
+
token_str = "".join(map(chr, np.maximum(elem.flatten() - self.min_token, 0).astype(int)))
|
| 57 |
+
tokens.append(self.bpe_tokenizer(token_str)["input_ids"])
|
| 58 |
+
return tokens
|
| 59 |
+
|
| 60 |
+
def decode(
|
| 61 |
+
self,
|
| 62 |
+
tokens: list[list[int]],
|
| 63 |
+
*,
|
| 64 |
+
time_horizon: int | None = None,
|
| 65 |
+
action_dim: int | None = None,
|
| 66 |
+
) -> np.array:
|
| 67 |
+
self.time_horizon = time_horizon or self.time_horizon or self.called_time_horizon
|
| 68 |
+
self.action_dim = action_dim or self.action_dim or self.called_action_dim
|
| 69 |
+
|
| 70 |
+
# Cache the time horizon and action dimension for the next call
|
| 71 |
+
self.called_time_horizon = self.time_horizon
|
| 72 |
+
self.called_action_dim = self.action_dim
|
| 73 |
+
|
| 74 |
+
assert (
|
| 75 |
+
self.time_horizon is not None and self.action_dim is not None
|
| 76 |
+
), "Tokenizer not initialized, call encode() once or pass in time_horizon and action_dim."
|
| 77 |
+
|
| 78 |
+
decoded_actions = []
|
| 79 |
+
for token in tokens:
|
| 80 |
+
try:
|
| 81 |
+
decoded_tokens = self.bpe_tokenizer.decode(token)
|
| 82 |
+
decoded_dct_coeff = np.array(list(map(ord, decoded_tokens))) + self.min_token
|
| 83 |
+
decoded_dct_coeff = decoded_dct_coeff.reshape(-1, self.action_dim)
|
| 84 |
+
assert (
|
| 85 |
+
decoded_dct_coeff.shape
|
| 86 |
+
== (
|
| 87 |
+
self.time_horizon,
|
| 88 |
+
self.action_dim,
|
| 89 |
+
)
|
| 90 |
+
), f"Decoded DCT coefficients have shape {decoded_dct_coeff.shape}, expected ({self.time_horizon}, {self.action_dim})"
|
| 91 |
+
except Exception as e:
|
| 92 |
+
print(f"Error decoding tokens: {e}")
|
| 93 |
+
print(f"Tokens: {token}")
|
| 94 |
+
decoded_dct_coeff = np.zeros((self.time_horizon, self.action_dim))
|
| 95 |
+
decoded_actions.append(idct(decoded_dct_coeff / self.scale, axis=0, norm="ortho"))
|
| 96 |
+
return np.stack(decoded_actions)
|
| 97 |
+
|
| 98 |
+
@classmethod
|
| 99 |
+
def fit(
|
| 100 |
+
cls,
|
| 101 |
+
action_data: list[np.array],
|
| 102 |
+
scale: float = 10,
|
| 103 |
+
vocab_size: int = 1024,
|
| 104 |
+
*,
|
| 105 |
+
time_horizon: int | None = None,
|
| 106 |
+
action_dim: int | None = None,
|
| 107 |
+
) -> "UniversalActionProcessor":
|
| 108 |
+
# Run DCT over all inputs
|
| 109 |
+
dct_tokens = [dct(a, axis=0, norm="ortho").flatten() for a in action_data]
|
| 110 |
+
|
| 111 |
+
# Quantize and find min token
|
| 112 |
+
max_token = int(np.around(np.concatenate(dct_tokens) * scale).max())
|
| 113 |
+
min_token = int(np.around(np.concatenate(dct_tokens) * scale).min())
|
| 114 |
+
min_vocab_size = max_token - min_token
|
| 115 |
+
|
| 116 |
+
assert (
|
| 117 |
+
min_vocab_size <= vocab_size
|
| 118 |
+
), f"Vocab size {vocab_size} is too small for the range of tokens {min_vocab_size}"
|
| 119 |
+
if min_vocab_size + 100 > vocab_size:
|
| 120 |
+
logging.warning(
|
| 121 |
+
f"Initial alphabet size {min_vocab_size} is almost as large as the vocab"
|
| 122 |
+
f"size {vocab_size}, consider increasing vocab size"
|
| 123 |
+
)
|
| 124 |
+
|
| 125 |
+
# Make token iterator for BPE training
|
| 126 |
+
def _token_iter():
|
| 127 |
+
for tokens in dct_tokens:
|
| 128 |
+
rounded_tokens = np.around(tokens * scale) - min_token
|
| 129 |
+
rounded_tokens = rounded_tokens.astype(int)
|
| 130 |
+
string = "".join(map(chr, rounded_tokens))
|
| 131 |
+
yield string
|
| 132 |
+
|
| 133 |
+
# Train BPE tokenizer
|
| 134 |
+
bpe = ByteLevelBPETokenizer()
|
| 135 |
+
|
| 136 |
+
# Set up the entire range of possible tokens as the initial alphabet
|
| 137 |
+
alphabet = [chr(i) for i in range(max_token - min_token + 1)]
|
| 138 |
+
trainer = BpeTrainer(
|
| 139 |
+
vocab_size=vocab_size,
|
| 140 |
+
min_frequency=2,
|
| 141 |
+
show_progress=True,
|
| 142 |
+
special_tokens=[],
|
| 143 |
+
initial_alphabet=alphabet,
|
| 144 |
+
max_token_length=10000,
|
| 145 |
+
)
|
| 146 |
+
|
| 147 |
+
# Train the inner tokenizer (don't use ByteLevelBPETokenizer.train_from_iterator()
|
| 148 |
+
# because it doesn't support custom alphabets)
|
| 149 |
+
bpe._tokenizer.train_from_iterator(_token_iter(), trainer=trainer)
|
| 150 |
+
|
| 151 |
+
return cls(
|
| 152 |
+
PreTrainedTokenizerFast(tokenizer_object=bpe, clean_up_tokenization_spaces=False),
|
| 153 |
+
scale=scale,
|
| 154 |
+
vocab_size=vocab_size,
|
| 155 |
+
min_token=min_token,
|
| 156 |
+
time_horizon=time_horizon,
|
| 157 |
+
action_dim=action_dim,
|
| 158 |
+
)
|
fast_processor_pinned/processor_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"action_dim": null,
|
| 3 |
+
"auto_map": {
|
| 4 |
+
"AutoProcessor": "processing_action_tokenizer.UniversalActionProcessor"
|
| 5 |
+
},
|
| 6 |
+
"min_token": -354,
|
| 7 |
+
"processor_class": "UniversalActionProcessor",
|
| 8 |
+
"scale": 10,
|
| 9 |
+
"time_horizon": null,
|
| 10 |
+
"vocab_size": 2048
|
| 11 |
+
}
|
fast_processor_pinned/special_tokens_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{}
|
fast_processor_pinned/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6507dd709287fd018882120c0071787f1f62bad9f180f1e8c5235bda1b71fa78
|
| 3 |
+
size 686974
|
fast_processor_pinned/tokenizer_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {},
|
| 3 |
+
"auto_map": {
|
| 4 |
+
"AutoProcessor": "processing_action_tokenizer.UniversalActionProcessor"
|
| 5 |
+
},
|
| 6 |
+
"clean_up_tokenization_spaces": true,
|
| 7 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 8 |
+
"processor_class": "UniversalActionProcessor",
|
| 9 |
+
"tokenizer_class": "PreTrainedTokenizerFast"
|
| 10 |
+
}
|
isaac_deployment_adapter.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "perceptron_isaac_deployment_adapter_v1",
|
| 3 |
+
"contract_sha256": {
|
| 4 |
+
"policy_state_contracts.json": "8f83eb9eff2defdef07a2e297b401de475668063e27c3eb5d80963ddb67f1a5e",
|
| 5 |
+
"policy_normalization.json": "f829a6f6f72be41196820a1591fb8e7047d9ab674f77a0bec1ba53713ac0c1dc",
|
| 6 |
+
"policy_inference_recipe.json": "85e5f52d50a3c89b6ff3adc594189bde3e1d345fbecc7bda082561308b3ee905"
|
| 7 |
+
},
|
| 8 |
+
"policy_state_dataset": "libero",
|
| 9 |
+
"normalization_scope": "libero_spatial",
|
| 10 |
+
"objective": "Flow",
|
| 11 |
+
"render_dataset_name": "libero",
|
| 12 |
+
"robot_type": "libero",
|
| 13 |
+
"control_mode": "ee",
|
| 14 |
+
"image_size": [
|
| 15 |
+
256,
|
| 16 |
+
256
|
| 17 |
+
],
|
| 18 |
+
"camera_order": [
|
| 19 |
+
"image",
|
| 20 |
+
"wrist_image"
|
| 21 |
+
],
|
| 22 |
+
"camera_views": [
|
| 23 |
+
"primary",
|
| 24 |
+
"wrist"
|
| 25 |
+
],
|
| 26 |
+
"n_action_steps": 8,
|
| 27 |
+
"num_inference_steps": 10,
|
| 28 |
+
"num_flow_samples": 1,
|
| 29 |
+
"flow_seed_base": 20260826,
|
| 30 |
+
"clip_action_pose": true,
|
| 31 |
+
"gripper_binary_to_signed": false,
|
| 32 |
+
"num_settle_steps": 40,
|
| 33 |
+
"settle_gripper": -1.0,
|
| 34 |
+
"normalize_task_text": true,
|
| 35 |
+
"joint_signs": null,
|
| 36 |
+
"joint_offsets": null,
|
| 37 |
+
"normalization_profile_id": null,
|
| 38 |
+
"normalization_profile_scope": null,
|
| 39 |
+
"normalization_validation_status": null,
|
| 40 |
+
"adapter_validation_status": "reviewed_offline",
|
| 41 |
+
"provenance": {
|
| 42 |
+
"checkpoint": "PerceptronAI/Isaac-0.5",
|
| 43 |
+
"purpose": "LIBERO Spatial Flow reference deployment profile",
|
| 44 |
+
"profile_source": "LeRobot tested LIBERO deployment profile",
|
| 45 |
+
"selected_by": "user"
|
| 46 |
+
}
|
| 47 |
+
}
|
isaac_stats.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"action": {
|
| 3 |
+
"q01": [
|
| 4 |
+
-0.7454732060432434,
|
| 5 |
+
-0.6616071462631226,
|
| 6 |
+
-0.9375,
|
| 7 |
+
-0.1071428582072258,
|
| 8 |
+
-0.20678570866584778,
|
| 9 |
+
-0.1842857152223587,
|
| 10 |
+
-1.0
|
| 11 |
+
],
|
| 12 |
+
"q99": [
|
| 13 |
+
0.9375,
|
| 14 |
+
0.8758928775787354,
|
| 15 |
+
0.9321428537368774,
|
| 16 |
+
0.1039285734295845,
|
| 17 |
+
0.17678570747375488,
|
| 18 |
+
0.14571428298950195,
|
| 19 |
+
1.0
|
| 20 |
+
]
|
| 21 |
+
},
|
| 22 |
+
"action_dim": 7,
|
| 23 |
+
"action_horizon": 50,
|
| 24 |
+
"action_normalization_eps": 1e-06,
|
| 25 |
+
"action_representation": "absolute",
|
| 26 |
+
"clip_normalized_actions": true,
|
| 27 |
+
"clip_normalized_max": 10.0,
|
| 28 |
+
"profile_id": null,
|
| 29 |
+
"profile_scope": null,
|
| 30 |
+
"proprio": {
|
| 31 |
+
"q01": [
|
| 32 |
+
-0.27276572585105896,
|
| 33 |
+
-0.237214133143425,
|
| 34 |
+
0.916006326675415,
|
| 35 |
+
2.779496669769287,
|
| 36 |
+
-1.3187512159347534,
|
| 37 |
+
-0.4198998212814331,
|
| 38 |
+
0.001503719249740243,
|
| 39 |
+
-0.03989770635962486
|
| 40 |
+
],
|
| 41 |
+
"q99": [
|
| 42 |
+
0.1352936029434204,
|
| 43 |
+
0.362916499376297,
|
| 44 |
+
1.286232590675354,
|
| 45 |
+
3.2829697132110596,
|
| 46 |
+
0.9332759976387024,
|
| 47 |
+
0.6325722336769104,
|
| 48 |
+
0.03993396461009979,
|
| 49 |
+
-0.0016719202976673841
|
| 50 |
+
]
|
| 51 |
+
},
|
| 52 |
+
"proprio_dim": 8,
|
| 53 |
+
"proprio_normalization_eps": 1e-06,
|
| 54 |
+
"relative_exclude_joints": [],
|
| 55 |
+
"schema": "flow_matching_stats_v1",
|
| 56 |
+
"state_action_schema": "gripper_7",
|
| 57 |
+
"stats_sha256": "b2676fdb56b148f49f21fb7633769a2d2e152a7c4cd63e05884232274748ead0",
|
| 58 |
+
"target_fps": 20.0,
|
| 59 |
+
"validation_status": null
|
| 60 |
+
}
|
lerobot_policy/config.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"type": "perceptron_isaac",
|
| 3 |
+
"n_obs_steps": 3,
|
| 4 |
+
"input_features": {},
|
| 5 |
+
"output_features": {},
|
| 6 |
+
"device": "cuda",
|
| 7 |
+
"use_amp": false,
|
| 8 |
+
"use_peft": false,
|
| 9 |
+
"push_to_hub": true,
|
| 10 |
+
"repo_id": null,
|
| 11 |
+
"private": null,
|
| 12 |
+
"tags": null,
|
| 13 |
+
"license": null,
|
| 14 |
+
"pretrained_path": null,
|
| 15 |
+
"pretrained_revision": null,
|
| 16 |
+
"chunk_size": 50,
|
| 17 |
+
"n_action_steps": 8,
|
| 18 |
+
"action_dim": 7,
|
| 19 |
+
"max_action_dim": 64,
|
| 20 |
+
"max_action_horizon": 64,
|
| 21 |
+
"proprio_dim": 8,
|
| 22 |
+
"max_state_dim": 128,
|
| 23 |
+
"inference_backend": "native_mharmony",
|
| 24 |
+
"action_expert_type": "molmoact",
|
| 25 |
+
"num_inference_steps": 10,
|
| 26 |
+
"num_flow_samples": 1,
|
| 27 |
+
"flow_seed_base": 20260826,
|
| 28 |
+
"clip_normalized_max": 10.0,
|
| 29 |
+
"fast_clip_normalized_max": 1.0,
|
| 30 |
+
"clip_action_pose": true,
|
| 31 |
+
"num_settle_steps": 40,
|
| 32 |
+
"settle_gripper": -1.0,
|
| 33 |
+
"rtc_prefix_length": 0,
|
| 34 |
+
"image_size": [
|
| 35 |
+
256,
|
| 36 |
+
256
|
| 37 |
+
],
|
| 38 |
+
"image_preprocessing": "stretch",
|
| 39 |
+
"camera_order": [
|
| 40 |
+
"image",
|
| 41 |
+
"wrist_image"
|
| 42 |
+
],
|
| 43 |
+
"serving_camera_roles": null,
|
| 44 |
+
"allow_image_key_fallback": false,
|
| 45 |
+
"normalize_gripper": true,
|
| 46 |
+
"gripper_binary_to_signed": false,
|
| 47 |
+
"joint_signs": null,
|
| 48 |
+
"joint_offsets": null,
|
| 49 |
+
"training_action_frame_contract_version": 2,
|
| 50 |
+
"hf_model_path": "..",
|
| 51 |
+
"artifact_kind": "trained_policy",
|
| 52 |
+
"apply_offset_norm": false,
|
| 53 |
+
"config_toml_path": null,
|
| 54 |
+
"stats_path": null,
|
| 55 |
+
"per_suite_stats_dir": null,
|
| 56 |
+
"include_scene_description": false,
|
| 57 |
+
"vector_max_states": 128,
|
| 58 |
+
"normalize_task_text": true,
|
| 59 |
+
"action_conditioning": false,
|
| 60 |
+
"action_conditioning_role": "user",
|
| 61 |
+
"mistake_conditioning": false,
|
| 62 |
+
"render_processor_enabled": false,
|
| 63 |
+
"render_patch_size": 16,
|
| 64 |
+
"render_pixel_shuffle_scale": 2,
|
| 65 |
+
"render_temporal_patch_size": 2,
|
| 66 |
+
"render_max_num_patches": 576,
|
| 67 |
+
"render_min_num_patches": null,
|
| 68 |
+
"dataset_name": "libero",
|
| 69 |
+
"policy_state_dataset": "libero",
|
| 70 |
+
"robot_type": "libero",
|
| 71 |
+
"control_mode": "ee",
|
| 72 |
+
"target_fps": 20.0,
|
| 73 |
+
"action_feature_names": null,
|
| 74 |
+
"state_feature_names": null,
|
| 75 |
+
"strict_hardware_feature_contract": false,
|
| 76 |
+
"strict_environment_feature_contract": true,
|
| 77 |
+
"normalization_profile_id": null,
|
| 78 |
+
"normalization_profile_scope": null,
|
| 79 |
+
"normalization_validation_status": null,
|
| 80 |
+
"deployment_adapter_sha256": "da15a0d08fd70c5a10de150d341e2890e87325aa542e36929179c9f7527f16df",
|
| 81 |
+
"native_render_metadata_path": null,
|
| 82 |
+
"native_stats_path": "isaac_stats.json",
|
| 83 |
+
"suite_stats_path": null,
|
| 84 |
+
"suite_by_task_index_path": null,
|
| 85 |
+
"fast_processor_path": "../fast_processor_pinned",
|
| 86 |
+
"fast_processor_tree_sha256": "127eb029e5acb8242c7bc2c8efcea6c5dd6ffb565353b5c689b8c8ac55f33a8a",
|
| 87 |
+
"mharmony_version": "0.1.0",
|
| 88 |
+
"native_require_processor_stream": true,
|
| 89 |
+
"objective": "mixed",
|
| 90 |
+
"loss_plan": "text_ntp_fast_flow_action",
|
| 91 |
+
"train_expert_only": false,
|
| 92 |
+
"flow_matching_detach_vlm_activations": false,
|
| 93 |
+
"exclude_non_agent_roles": true,
|
| 94 |
+
"train_samples_per_chunk": 8,
|
| 95 |
+
"train_clip_normalized_actions": true,
|
| 96 |
+
"train_skip_outlier_threshold": 20.0,
|
| 97 |
+
"train_max_sequence_length": 4096,
|
| 98 |
+
"flow_rtc_max_delay_steps": 0,
|
| 99 |
+
"flow_rtc_delay_sampling": "uniform",
|
| 100 |
+
"flow_dual_timestep_ratio": 0.0,
|
| 101 |
+
"flow_mask_padded_action_rows": true,
|
| 102 |
+
"softmax_auxiliary_loss_scale": 0.0001,
|
| 103 |
+
"freeze_input_embeddings": true,
|
| 104 |
+
"dtype": "bfloat16",
|
| 105 |
+
"train_storage_fp32": true,
|
| 106 |
+
"normalization_mapping": {
|
| 107 |
+
"VISUAL": "IDENTITY",
|
| 108 |
+
"STATE": "IDENTITY",
|
| 109 |
+
"ACTION": "IDENTITY"
|
| 110 |
+
},
|
| 111 |
+
"optimizer_lr": 1e-05,
|
| 112 |
+
"optimizer_vit_lr": 5e-06,
|
| 113 |
+
"optimizer_action_expert_lr": 5e-05,
|
| 114 |
+
"optimizer_betas": [
|
| 115 |
+
0.9,
|
| 116 |
+
0.95
|
| 117 |
+
],
|
| 118 |
+
"optimizer_eps": 1e-06,
|
| 119 |
+
"optimizer_weight_decay": 0.0,
|
| 120 |
+
"optimizer_grad_clip_norm": 1.0,
|
| 121 |
+
"optimizer_warmup_steps": 200,
|
| 122 |
+
"max_train_steps": 30000
|
| 123 |
+
}
|
lerobot_policy/isaac_deployment_adapter.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "perceptron_isaac_deployment_adapter_v1",
|
| 3 |
+
"contract_sha256": {
|
| 4 |
+
"policy_state_contracts.json": "8f83eb9eff2defdef07a2e297b401de475668063e27c3eb5d80963ddb67f1a5e",
|
| 5 |
+
"policy_normalization.json": "f829a6f6f72be41196820a1591fb8e7047d9ab674f77a0bec1ba53713ac0c1dc",
|
| 6 |
+
"policy_inference_recipe.json": "85e5f52d50a3c89b6ff3adc594189bde3e1d345fbecc7bda082561308b3ee905"
|
| 7 |
+
},
|
| 8 |
+
"policy_state_dataset": "libero",
|
| 9 |
+
"normalization_scope": "libero_spatial",
|
| 10 |
+
"objective": "Flow",
|
| 11 |
+
"render_dataset_name": "libero",
|
| 12 |
+
"robot_type": "libero",
|
| 13 |
+
"control_mode": "ee",
|
| 14 |
+
"image_size": [
|
| 15 |
+
256,
|
| 16 |
+
256
|
| 17 |
+
],
|
| 18 |
+
"camera_order": [
|
| 19 |
+
"image",
|
| 20 |
+
"wrist_image"
|
| 21 |
+
],
|
| 22 |
+
"camera_views": [
|
| 23 |
+
"primary",
|
| 24 |
+
"wrist"
|
| 25 |
+
],
|
| 26 |
+
"n_action_steps": 8,
|
| 27 |
+
"num_inference_steps": 10,
|
| 28 |
+
"num_flow_samples": 1,
|
| 29 |
+
"flow_seed_base": 20260826,
|
| 30 |
+
"clip_action_pose": true,
|
| 31 |
+
"gripper_binary_to_signed": false,
|
| 32 |
+
"num_settle_steps": 40,
|
| 33 |
+
"settle_gripper": -1.0,
|
| 34 |
+
"normalize_task_text": true,
|
| 35 |
+
"joint_signs": null,
|
| 36 |
+
"joint_offsets": null,
|
| 37 |
+
"normalization_profile_id": null,
|
| 38 |
+
"normalization_profile_scope": null,
|
| 39 |
+
"normalization_validation_status": null,
|
| 40 |
+
"adapter_validation_status": "reviewed_offline",
|
| 41 |
+
"provenance": {
|
| 42 |
+
"checkpoint": "PerceptronAI/Isaac-0.5",
|
| 43 |
+
"purpose": "LIBERO Spatial Flow reference deployment profile",
|
| 44 |
+
"profile_source": "LeRobot tested LIBERO deployment profile",
|
| 45 |
+
"selected_by": "user"
|
| 46 |
+
}
|
| 47 |
+
}
|
lerobot_policy/isaac_stats.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"action": {
|
| 3 |
+
"q01": [
|
| 4 |
+
-0.7454732060432434,
|
| 5 |
+
-0.6616071462631226,
|
| 6 |
+
-0.9375,
|
| 7 |
+
-0.1071428582072258,
|
| 8 |
+
-0.20678570866584778,
|
| 9 |
+
-0.1842857152223587,
|
| 10 |
+
-1.0
|
| 11 |
+
],
|
| 12 |
+
"q99": [
|
| 13 |
+
0.9375,
|
| 14 |
+
0.8758928775787354,
|
| 15 |
+
0.9321428537368774,
|
| 16 |
+
0.1039285734295845,
|
| 17 |
+
0.17678570747375488,
|
| 18 |
+
0.14571428298950195,
|
| 19 |
+
1.0
|
| 20 |
+
]
|
| 21 |
+
},
|
| 22 |
+
"action_dim": 7,
|
| 23 |
+
"action_horizon": 50,
|
| 24 |
+
"action_normalization_eps": 1e-06,
|
| 25 |
+
"action_representation": "absolute",
|
| 26 |
+
"clip_normalized_actions": true,
|
| 27 |
+
"clip_normalized_max": 10.0,
|
| 28 |
+
"profile_id": null,
|
| 29 |
+
"profile_scope": null,
|
| 30 |
+
"proprio": {
|
| 31 |
+
"q01": [
|
| 32 |
+
-0.27276572585105896,
|
| 33 |
+
-0.237214133143425,
|
| 34 |
+
0.916006326675415,
|
| 35 |
+
2.779496669769287,
|
| 36 |
+
-1.3187512159347534,
|
| 37 |
+
-0.4198998212814331,
|
| 38 |
+
0.001503719249740243,
|
| 39 |
+
-0.03989770635962486
|
| 40 |
+
],
|
| 41 |
+
"q99": [
|
| 42 |
+
0.1352936029434204,
|
| 43 |
+
0.362916499376297,
|
| 44 |
+
1.286232590675354,
|
| 45 |
+
3.2829697132110596,
|
| 46 |
+
0.9332759976387024,
|
| 47 |
+
0.6325722336769104,
|
| 48 |
+
0.03993396461009979,
|
| 49 |
+
-0.0016719202976673841
|
| 50 |
+
]
|
| 51 |
+
},
|
| 52 |
+
"proprio_dim": 8,
|
| 53 |
+
"proprio_normalization_eps": 1e-06,
|
| 54 |
+
"relative_exclude_joints": [],
|
| 55 |
+
"schema": "flow_matching_stats_v1",
|
| 56 |
+
"state_action_schema": "gripper_7",
|
| 57 |
+
"stats_sha256": "b2676fdb56b148f49f21fb7633769a2d2e152a7c4cd63e05884232274748ead0",
|
| 58 |
+
"target_fps": 20.0,
|
| 59 |
+
"validation_status": null
|
| 60 |
+
}
|
lerobot_policy/policy_postprocessor.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "policy_postprocessor",
|
| 3 |
+
"steps": [
|
| 4 |
+
{
|
| 5 |
+
"registry_name": "perceptron_isaac_action_unnormalize",
|
| 6 |
+
"config": {
|
| 7 |
+
"enabled": true,
|
| 8 |
+
"stats_path": null,
|
| 9 |
+
"clip_normalized_max": 10.0,
|
| 10 |
+
"clip_action_pose": true,
|
| 11 |
+
"gripper_binary_to_signed": false,
|
| 12 |
+
"normalization_profile_id": null,
|
| 13 |
+
"normalization_profile_scope": null,
|
| 14 |
+
"normalization_validation_status": null,
|
| 15 |
+
"normalize_gripper": true,
|
| 16 |
+
"action_feature_names": null,
|
| 17 |
+
"state_feature_names": null
|
| 18 |
+
},
|
| 19 |
+
"state_file": "policy_postprocessor_step_0_perceptron_isaac_action_unnormalize.safetensors"
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"registry_name": "perceptron_isaac_action_frame_transform",
|
| 23 |
+
"config": {
|
| 24 |
+
"joint_signs": null,
|
| 25 |
+
"joint_offsets": null
|
| 26 |
+
}
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"registry_name": "device_processor",
|
| 30 |
+
"config": {
|
| 31 |
+
"device": "cpu",
|
| 32 |
+
"float_dtype": null
|
| 33 |
+
}
|
| 34 |
+
}
|
| 35 |
+
]
|
| 36 |
+
}
|
lerobot_policy/policy_postprocessor_step_0_perceptron_isaac_action_unnormalize.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be4a256dbc65a14c295bbf9aa39ed28028b39b8a220e737a176912621b60c86c
|
| 3 |
+
size 726
|
lerobot_policy/policy_preprocessor.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "policy_preprocessor",
|
| 3 |
+
"steps": [
|
| 4 |
+
{
|
| 5 |
+
"registry_name": "rename_observations_processor",
|
| 6 |
+
"config": {
|
| 7 |
+
"rename_map": {
|
| 8 |
+
"observation.images.image2": "observation.images.wrist_image"
|
| 9 |
+
}
|
| 10 |
+
}
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"registry_name": "to_batch_processor",
|
| 14 |
+
"config": {}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"registry_name": "perceptron_isaac_state_frame_transform",
|
| 18 |
+
"config": {
|
| 19 |
+
"joint_signs": null,
|
| 20 |
+
"joint_offsets": null
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"registry_name": "perceptron_isaac_training_action_frame_transform",
|
| 25 |
+
"config": {
|
| 26 |
+
"joint_signs": null,
|
| 27 |
+
"joint_offsets": null
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"registry_name": "perceptron_isaac_mharmony_pack",
|
| 32 |
+
"config": {
|
| 33 |
+
"enabled": true,
|
| 34 |
+
"inference_backend": "native_mharmony",
|
| 35 |
+
"config_toml_path": null,
|
| 36 |
+
"stats_path": null,
|
| 37 |
+
"camera_order": [
|
| 38 |
+
"image",
|
| 39 |
+
"wrist_image"
|
| 40 |
+
],
|
| 41 |
+
"image_size": [
|
| 42 |
+
256,
|
| 43 |
+
256
|
| 44 |
+
],
|
| 45 |
+
"image_preprocessing": "stretch",
|
| 46 |
+
"image_keys": [
|
| 47 |
+
"observation.images.image",
|
| 48 |
+
"observation.images.wrist_image"
|
| 49 |
+
],
|
| 50 |
+
"allow_image_key_fallback": false,
|
| 51 |
+
"normalize_language": true,
|
| 52 |
+
"n_obs_steps": 3,
|
| 53 |
+
"chunk_size": 50,
|
| 54 |
+
"objective": "mixed",
|
| 55 |
+
"patch_size": 16,
|
| 56 |
+
"max_num_patches": 576,
|
| 57 |
+
"min_num_patches": null,
|
| 58 |
+
"pixel_shuffle_scale": 2,
|
| 59 |
+
"temporal_patch_size": 2,
|
| 60 |
+
"device": "cuda",
|
| 61 |
+
"dtype": "bfloat16",
|
| 62 |
+
"stream_key": "perceptron_isaac_stream",
|
| 63 |
+
"metadata_key": "perceptron_isaac_render_meta",
|
| 64 |
+
"target_fps": 20.0,
|
| 65 |
+
"normalization_profile_id": null,
|
| 66 |
+
"normalization_profile_scope": null,
|
| 67 |
+
"normalization_validation_status": null,
|
| 68 |
+
"suite_stats_path": null,
|
| 69 |
+
"suite_by_task_index_path": null,
|
| 70 |
+
"native_render_metadata_path": null,
|
| 71 |
+
"native_stats_path": null,
|
| 72 |
+
"fast_processor_path": "../fast_processor_pinned",
|
| 73 |
+
"fast_processor_tree_sha256": "127eb029e5acb8242c7bc2c8efcea6c5dd6ffb565353b5c689b8c8ac55f33a8a",
|
| 74 |
+
"mharmony_version": "0.1.0",
|
| 75 |
+
"action_dim": 7,
|
| 76 |
+
"proprio_dim": 8,
|
| 77 |
+
"vector_max_states": 128,
|
| 78 |
+
"dataset_name": "libero",
|
| 79 |
+
"robot_type": "libero",
|
| 80 |
+
"action_conditioning": false,
|
| 81 |
+
"action_conditioning_role": "user",
|
| 82 |
+
"mistake_conditioning": false,
|
| 83 |
+
"render_metadata": null,
|
| 84 |
+
"train_clip_normalized_actions": true,
|
| 85 |
+
"clip_normalized_max": 10.0,
|
| 86 |
+
"fast_clip_normalized_max": 1.0,
|
| 87 |
+
"train_skip_outlier_threshold": 20.0,
|
| 88 |
+
"train_max_sequence_length": 4096,
|
| 89 |
+
"normalize_gripper": true,
|
| 90 |
+
"action_feature_names": null,
|
| 91 |
+
"state_feature_names": null
|
| 92 |
+
},
|
| 93 |
+
"state_file": "policy_preprocessor_step_4_perceptron_isaac_mharmony_pack.safetensors"
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"registry_name": "device_processor",
|
| 97 |
+
"config": {
|
| 98 |
+
"device": "cuda",
|
| 99 |
+
"float_dtype": null
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
]
|
| 103 |
+
}
|
lerobot_policy/policy_preprocessor_step_4_perceptron_isaac_mharmony_pack.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be4a256dbc65a14c295bbf9aa39ed28028b39b8a220e737a176912621b60c86c
|
| 3 |
+
size 726
|
model-00001-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71548e066c99a1c63a5307e7d506824429a6b297788f8e1faf80391a6c696c6c
|
| 3 |
+
size 4416265552
|
model-00002-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70b95d3b872486e3cc85b03e20d6efb30cc6d0f4510a9cf14b4d908f813bc731
|
| 3 |
+
size 3308063024
|
model-00003-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6db7db8779542ebf8392f2a26cb8aeada24b5691d09e6bafa058aaf5c9f2c514
|
| 3 |
+
size 3370814568
|
model-00004-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72a6cf2afdc5bb8bff40436da2c2882a9df3a6d86d6b694dc4df2c75ca6dc5b9
|
| 3 |
+
size 3370814584
|
model-00005-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9bdda50a48758cb84e949abaa0d5100d5e304408d0ca9c9ac8bac420eca0105
|
| 3 |
+
size 3235939552
|
model-00006-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3ec16af11ecbd1b76b4afef37fa97129b6172892fb615eebc62ad90845bd5ac
|
| 3 |
+
size 3479869320
|
model-00007-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6fdb07421e4b8ed3f02b9d0c80f23eb05db8f477f32a63ad59f943df8609a3d
|
| 3 |
+
size 3370814592
|
model-00008-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc401c60fb6652be8305fb4f76cb8557bb1baf69f3e5e813afae0473d3651be1
|
| 3 |
+
size 3370814592
|
model-00009-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4078a95d5c1167fb8235eae76d898b3876af2e3760460601a814c603685f1f73
|
| 3 |
+
size 3235939552
|
model-00010-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e2e329b533cd98e6453ac5dc7b8359590a2a30ae5bab9ea314ad7eb9506fa1c
|
| 3 |
+
size 3479869320
|
model-00011-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0125ce1d57b0312de64a3921e901c6a46b6f712bbac365fcfd0a91a133da2240
|
| 3 |
+
size 3370814592
|
model-00012-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:674225ed2bfa7af034b36442659e5e29dc0ed3f7c7c892125857cc74c84d184a
|
| 3 |
+
size 3370814592
|
model-00013-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75702cda92f90725e206ef45a4b0ab5b2e97155e5b207d3c463de3a46838da15
|
| 3 |
+
size 3235939552
|
model-00014-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be75df9f9b4386ee8bfe477a569612fa9dfb5fff52f68140045b526d5caffa97
|
| 3 |
+
size 3479869304
|
model-00015-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2407f893f730efea4bac097894f87b2f685db86b2db0dba2a74bf47dee0a4f3a
|
| 3 |
+
size 3370814584
|
model-00016-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d98445ad557f0a3c360cab0c6d6ac9bbba8e39f4f6c7db7064ff41d967f83bd
|
| 3 |
+
size 3370814592
|
model-00017-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb18753df67ec7c857cbe38561c2a720d195011a7e0bc112da465b129a12daee
|
| 3 |
+
size 3370814592
|
model-00018-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50329180cf5d0807eb144bf0a98f9cd9c4d88f3d8355cc46db662fbede0307ba
|
| 3 |
+
size 3235939552
|
model-00019-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:848a86b200296b0f3730c065461486596c0b93209a87967c5cefdac4bc375a5a
|
| 3 |
+
size 3479869320
|
model-00020-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:669c3d350570c8581b30f0753184f65522966ea8bc3abb37e258e3b222af2bf7
|
| 3 |
+
size 3370814592
|
model-00021-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06aced85fd27a61af9e83331a778b747ee2e33738ee31484f5f65dd531d9978f
|
| 3 |
+
size 3370814592
|
model-00022-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8b3f39b64e04e624ed58d72cad1f59c754c5b3bb858a24b5252b5302657c561
|
| 3 |
+
size 3235939552
|
model-00023-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1469fa1c66accef373c64371c6b1c35f487bf1d08f75d48781af02a434f8a489
|
| 3 |
+
size 3479869320
|
model-00024-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c09825c3dd19364ff70a91d30dd181b533d500a75067d59949dabb23f86c7781
|
| 3 |
+
size 3370814592
|
model-00025-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba12b1f13f318163c13a1fe632a370626961e27ab01102dae6e4288426313409
|
| 3 |
+
size 3235939552
|
model-00026-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3dd5247014f129ebe23a849c381101794a119576723aa4eef098f9460cc07c63
|
| 3 |
+
size 3479869304
|
model-00027-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78e42c7ffa62b84d4cee9d55da8f8c8c2350cd36c6dcc5bd65482053a8e38e02
|
| 3 |
+
size 3235939552
|
model-00028-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:827fff97afce3730dfb86b463cc0055c9b7b1147fe3e66151bc3d97b14c7cc96
|
| 3 |
+
size 3479869320
|
model-00029-of-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14308b38442f97722d8b842c10066a84b7578a2040477c147aedd60b664dd30c
|
| 3 |
+
size 3370814592
|