Import upstream snapshot c19f713c415a699a79d71cd96aa13c3104a05047
nightly / Test against latest dependencies (py3.10) (push) Has been cancelled
nightly / Test against latest dependencies (py3.13) (push) Has been cancelled
tests / tests (3.13, locked) (push) Has been cancelled
tests / tests (3.13, unlocked) (push) Has been cancelled
tests / pyright (3.10) (push) Has been cancelled
tests / lint-format (push) Has been cancelled
tests / tests (3.10, locked) (push) Has been cancelled
tests / tests (3.11, locked) (push) Has been cancelled
tests / tests (3.12, locked) (push) Has been cancelled
tests / pyright (3.11) (push) Has been cancelled
tests / pyright (3.12) (push) Has been cancelled
tests / pyright (3.13) (push) Has been cancelled
tests / ty-check (3.10) (push) Has been cancelled
tests / ty-check (3.11) (push) Has been cancelled
tests / ty-check (3.12) (push) Has been cancelled
tests / ty-check (3.13) (push) Has been cancelled
tests / stubs (push) Has been cancelled
tests / smoke-test (push) Has been cancelled
Docker / check_paths (push) Has been cancelled
Docker / build (push) Has been cancelled
docs / build (push) Has been cancelled
nightly / Test against latest dependencies (py3.10) (push) Has been cancelled
nightly / Test against latest dependencies (py3.13) (push) Has been cancelled
tests / tests (3.13, locked) (push) Has been cancelled
tests / tests (3.13, unlocked) (push) Has been cancelled
tests / pyright (3.10) (push) Has been cancelled
tests / lint-format (push) Has been cancelled
tests / tests (3.10, locked) (push) Has been cancelled
tests / tests (3.11, locked) (push) Has been cancelled
tests / tests (3.12, locked) (push) Has been cancelled
tests / pyright (3.11) (push) Has been cancelled
tests / pyright (3.12) (push) Has been cancelled
tests / pyright (3.13) (push) Has been cancelled
tests / ty-check (3.10) (push) Has been cancelled
tests / ty-check (3.11) (push) Has been cancelled
tests / ty-check (3.12) (push) Has been cancelled
tests / ty-check (3.13) (push) Has been cancelled
tests / stubs (push) Has been cancelled
tests / smoke-test (push) Has been cancelled
Docker / check_paths (push) Has been cancelled
Docker / build (push) Has been cancelled
docs / build (push) Has been cancelled
Upstream: https://github.com/michaelgillett/mjlab Upstream-Commit: c19f713c415a699a79d71cd96aa13c3104a05047 Upstream-Branch: main
This commit is contained in:
+172
@@ -0,0 +1,172 @@
|
||||
[build-system]
|
||||
requires = ["uv_build>=0.12.1,<0.13.0"]
|
||||
build-backend = "uv_build"
|
||||
|
||||
[project]
|
||||
name = "mjlab"
|
||||
version = "1.6.0"
|
||||
license = "Apache-2.0"
|
||||
license-files = ["LICENSE"]
|
||||
readme = { file = "README.md", content-type = "text/markdown" }
|
||||
authors = [
|
||||
{name = "The MjLab Developers"},
|
||||
]
|
||||
keywords = ["mujoco", "mujoco-warp", "simulation", "reinforcement-learning", "robotics"]
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"Intended Audience :: Science/Research",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Typing :: Typed",
|
||||
"Environment :: GPU :: NVIDIA CUDA",
|
||||
"Topic :: Scientific/Engineering",
|
||||
"Natural Language :: English",
|
||||
]
|
||||
description = "Isaac Lab API, powered by MuJoCo-Warp, for RL and robotics research."
|
||||
requires-python = ">=3.10,<3.14"
|
||||
dependencies = [
|
||||
"prettytable",
|
||||
"tqdm",
|
||||
"tyro>=1.0.1",
|
||||
"torch>=2.7.0",
|
||||
"torchrunx>=0.3.4",
|
||||
"warp-lang>=1.14.0",
|
||||
"mujoco-warp~=3.11.0",
|
||||
"mujoco~=3.11.0",
|
||||
"trimesh>=4.8.3",
|
||||
"scipy>=1.15",
|
||||
"viser>=1.0.27",
|
||||
"mjviser>=0.0.14",
|
||||
"mediapy>=1.2.7",
|
||||
"numpy",
|
||||
"imageio-ffmpeg",
|
||||
"tensordict",
|
||||
"rsl-rl-lib==5.5.0",
|
||||
"tensorboard>=2.20.0",
|
||||
"onnxscript>=0.5.4",
|
||||
"wandb>=0.22.3",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
"Bug Reports" = "https://github.com/mujocolab/mjlab/issues"
|
||||
"Source" = "https://github.com/mujocolab/mjlab"
|
||||
|
||||
[project.scripts]
|
||||
train = "mjlab.scripts.train:main"
|
||||
play = "mjlab.scripts.play:main"
|
||||
demo = "mjlab.scripts.demo:main"
|
||||
list-envs = "mjlab.scripts.list_envs:main"
|
||||
viz-nan = "mjlab.scripts.nan_viz:main"
|
||||
export-scene = "mjlab.scripts.export_scene:main"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"ipdb>=0.13.13",
|
||||
"pre-commit>=4.3.0",
|
||||
"pyright>=1.1.408",
|
||||
"onnxruntime>=1.19.0; python_version >= '3.11'",
|
||||
"pytest>=v9.0.3",
|
||||
"ruff>=0.16.1",
|
||||
"ty>=v0.0.14",
|
||||
]
|
||||
docs = [
|
||||
"myst-parser>=4.0.1",
|
||||
"sphinx>=8.1.3",
|
||||
"sphinx-autodoc-typehints>=3.0.1",
|
||||
"sphinx-autobuild>=2024.10.3",
|
||||
"sphinx-book-theme>=1.1.4",
|
||||
"sphinx-copybutton>=0.5.2",
|
||||
"sphinx-design>=0.6.1",
|
||||
"autodocsumm",
|
||||
"sphinxemoji",
|
||||
"sphinxcontrib.bibtex",
|
||||
"sphinx-icon",
|
||||
"sphinx-tabs",
|
||||
"sphinx_multiversion",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
cu128 = ["torch>=2.7.0"]
|
||||
cpu = ["torch>=2.7.0"]
|
||||
|
||||
[tool.uv]
|
||||
conflicts = [
|
||||
[{extra = "cu128"}, {extra = "cpu"}],
|
||||
]
|
||||
constraint-dependencies = [
|
||||
"GitPython>=3.1.57",
|
||||
"lxml>=6.1.0",
|
||||
]
|
||||
required-environments = [
|
||||
"sys_platform == 'darwin' and platform_machine == 'arm64'",
|
||||
"sys_platform == 'linux' and platform_machine == 'x86_64'",
|
||||
]
|
||||
|
||||
[[tool.uv.index]]
|
||||
url = "https://pypi.org/simple"
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "nvidia"
|
||||
url = "https://pypi.nvidia.com/"
|
||||
explicit = true
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "pytorch-cu128"
|
||||
url = "https://download.pytorch.org/whl/cu128"
|
||||
explicit = true
|
||||
|
||||
[[tool.uv.index]]
|
||||
name = "pytorch-cpu"
|
||||
url = "https://download.pytorch.org/whl/cpu"
|
||||
explicit = true
|
||||
|
||||
[tool.uv.sources]
|
||||
warp-lang = { index = "nvidia", marker = "sys_platform != 'darwin'" }
|
||||
torch = [
|
||||
{ index = "pytorch-cu128", extra = "cu128", marker = "sys_platform != 'darwin'" },
|
||||
{ index = "pytorch-cpu", extra = "cpu", marker = "sys_platform != 'darwin'" },
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
src = ["src"] # Helpful for recognizing first-party imports.
|
||||
indent-width = 2
|
||||
exclude = [
|
||||
"src/mjlab/utils/lab_api",
|
||||
"typings",
|
||||
]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E4", "E7", "E9", "F", "I", "B"]
|
||||
ignore = ["B011"]
|
||||
|
||||
[tool.pyright]
|
||||
pythonVersion = "3.10"
|
||||
venvPath = "."
|
||||
venv = ".venv"
|
||||
ignore = ["./typings", "./src/mjlab/utils/lab_api", "./docs"]
|
||||
stubPath = "typings"
|
||||
|
||||
[tool.ty.environment]
|
||||
extra-paths = ["typings"]
|
||||
|
||||
[tool.ty.src]
|
||||
include = ["src", "tests"]
|
||||
exclude = ["src/mjlab/utils/lab_api", "typings"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
markers = [
|
||||
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
|
||||
]
|
||||
addopts = "--strict-markers"
|
||||
filterwarnings = [
|
||||
# MuJoCo Warp warns that MULTICCD (enabled by default) generates at most one
|
||||
# contact for CCD pairs it lacks multicontact support for (e.g. cylinder-box,
|
||||
# hfield-capsule). Test fixtures aren't validating contact fidelity for these
|
||||
# pairs, so silence the expected noise.
|
||||
"ignore:MULTICCD is enabled, but the scene contains CCD pairs:UserWarning",
|
||||
]
|
||||
Reference in New Issue
Block a user