supermimic-pytorch 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
File without changes
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import torch
|
|
4
|
+
from torch.nn import Module
|
|
5
|
+
import torch.nn.functional as F
|
|
6
|
+
|
|
7
|
+
# ein equations
|
|
8
|
+
|
|
9
|
+
from einops import rearrange
|
|
10
|
+
from torch_einops_utils.shape import size, shape
|
|
11
|
+
|
|
12
|
+
# mlps
|
|
13
|
+
|
|
14
|
+
from x_mlps_pytorch import MLP, create_mlp
|
|
15
|
+
|
|
16
|
+
# functions
|
|
17
|
+
|
|
18
|
+
def exists(v):
|
|
19
|
+
return v is not None
|
|
20
|
+
|
|
21
|
+
def default(v, d):
|
|
22
|
+
return v if exists(v) else d
|
|
23
|
+
|
|
24
|
+
# components
|
|
25
|
+
|
|
26
|
+
class WorldModel(Module):
|
|
27
|
+
def __init__(self):
|
|
28
|
+
super().__init__()
|
|
29
|
+
|
|
30
|
+
def forward(
|
|
31
|
+
self,
|
|
32
|
+
state
|
|
33
|
+
):
|
|
34
|
+
raise NotImplementedError
|
|
35
|
+
|
|
36
|
+
# main class
|
|
37
|
+
|
|
38
|
+
class SuperMimic(Module):
|
|
39
|
+
def __init__(
|
|
40
|
+
self
|
|
41
|
+
):
|
|
42
|
+
super().__init__()
|
|
43
|
+
|
|
44
|
+
def forward(
|
|
45
|
+
self
|
|
46
|
+
):
|
|
47
|
+
raise NotImplementedError
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: supermimic-pytorch
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Unofficial implementation of Supermimic, Scaling Humanoid Whole-Body Control with One Differentiable World Model
|
|
5
|
+
Project-URL: Homepage, https://pypi.org/project/supermimic-pytorch/
|
|
6
|
+
Project-URL: Repository, https://github.com/lucidrains/supermimic-pytorch
|
|
7
|
+
Author-email: Phil Wang <lucidrains@gmail.com>
|
|
8
|
+
License: MIT License
|
|
9
|
+
|
|
10
|
+
Copyright (c) 2026 Phil Wang
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
SOFTWARE.
|
|
29
|
+
License-File: LICENSE
|
|
30
|
+
Keywords: artificial intelligence,deep learning,robotics,world model
|
|
31
|
+
Classifier: Development Status :: 4 - Beta
|
|
32
|
+
Classifier: Intended Audience :: Developers
|
|
33
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
34
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
35
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
36
|
+
Requires-Python: >=3.10
|
|
37
|
+
Requires-Dist: einops>=0.8.1
|
|
38
|
+
Requires-Dist: einx>=0.4.0
|
|
39
|
+
Requires-Dist: torch-einops-utils>=0.0.29
|
|
40
|
+
Requires-Dist: torch>=2.5
|
|
41
|
+
Requires-Dist: x-mlps-pytorch>=0.6.11
|
|
42
|
+
Provides-Extra: examples
|
|
43
|
+
Provides-Extra: test
|
|
44
|
+
Requires-Dist: pytest; extra == 'test'
|
|
45
|
+
Description-Content-Type: text/markdown
|
|
46
|
+
|
|
47
|
+
<img src="./fig2.png" width="400px"></img>
|
|
48
|
+
|
|
49
|
+
## Supermimic - Pytorch (wip)
|
|
50
|
+
|
|
51
|
+
Unofficial implementation of [Supermimic, Scaling Humanoid Whole-Body Control with One Differentiable World Model](https://supermimic.github.io/), from Qiayuan Liao et al. of Berkeley
|
|
52
|
+
|
|
53
|
+
## Citations
|
|
54
|
+
|
|
55
|
+
```bibtex
|
|
56
|
+
@misc{liao2026supermimicscalinghumanoidwholebody,
|
|
57
|
+
title = {SuperMimic: Scaling Humanoid Whole-Body Control with One Differentiable World Model},
|
|
58
|
+
author = {Qiayuan Liao and Yiyang Shao and Junfeng Long and Kevin Zakka and Roberto Horowitz and Pieter Abbeel and Koushil Sreenath},
|
|
59
|
+
year = {2026},
|
|
60
|
+
eprint = {2610.28480},
|
|
61
|
+
archivePrefix = {arXiv},
|
|
62
|
+
primaryClass = {cs.RO},
|
|
63
|
+
url = {https://arxiv.org/abs/2610.28480},
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
```bibtex
|
|
68
|
+
@misc{georgiev2025pwmpolicylearningmultitask,
|
|
69
|
+
title = {PWM: Policy Learning with Multi-Task World Models},
|
|
70
|
+
author = {Ignat Georgiev and Varun Giridhar and Nicklas Hansen and Animesh Garg},
|
|
71
|
+
year = {2025},
|
|
72
|
+
eprint = {2407.02466},
|
|
73
|
+
archivePrefix = {arXiv},
|
|
74
|
+
primaryClass = {cs.LG},
|
|
75
|
+
url = {https://arxiv.org/abs/2407.02466},
|
|
76
|
+
}
|
|
77
|
+
```
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
supermimic_pytorch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
supermimic_pytorch/supermimic.py,sha256=P6Einu2VD65m73r-9agf267PBaEE6I9AbX0XJ-0HZcE,721
|
|
3
|
+
supermimic_pytorch-0.0.1.dist-info/METADATA,sha256=HIKxi4rcGeC9BxjVHYis_a5txu3hfO7Pr-yWc-BfXWE,3392
|
|
4
|
+
supermimic_pytorch-0.0.1.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
5
|
+
supermimic_pytorch-0.0.1.dist-info/licenses/LICENSE,sha256=e6AOF7Z8EFdK3IdcL0x0fLw4cY7Q0d0kNR0o0TmBewM,1066
|
|
6
|
+
supermimic_pytorch-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Phil Wang
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|