{"id":202,"date":"2023-01-26T06:49:53","date_gmt":"2023-01-26T06:49:53","guid":{"rendered":"https:\/\/todaysainews.com\/index.php\/2023\/01\/26\/open-sourcing-mujoco\/"},"modified":"2025-04-27T07:35:55","modified_gmt":"2025-04-27T07:35:55","slug":"open-sourcing-mujoco","status":"publish","type":"post","link":"https:\/\/todaysainews.com\/index.php\/2023\/01\/26\/open-sourcing-mujoco\/","title":{"rendered":"Open-sourcing MuJoCo"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div>\n<p>In October 2021, we announced that we acquired the <a href=\"https:\/\/www.deepmind.com\/blog\/opening-up-a-physics-simulator-for-robotics\">MuJoCo physics simulator<\/a>, and made it freely available for everyone to support research everywhere. We also committed to developing and maintaining MuJoCo as a free, open-source, community-driven project with best-in-class capabilities. Today, we\u2019re thrilled to report that open sourcing is complete and the entire codebase is <a href=\"https:\/\/github.com\/deepmind\/mujoco\">on GitHub<\/a>!\u00a0<\/p>\n<p>Here, we explain why MuJoCo is a great platform for open-source collaboration and share a preview of our roadmap going forward.<\/p>\n<h4>A platform for collaboration<\/h4>\n<p>Physics simulators are critical tools in modern robotics research and often fall into these two categories:\u00a0<\/p>\n<ol role=\"list\">\n<li>Closed-source, commercial software.<\/li>\n<li>Open-source software, often created in academia.\u00a0<\/li>\n<\/ol>\n<p>The first category is opaque to the user, and although sometimes free to use, cannot be modified and is hard to understand. The second category often has a smaller user base and suffers when its developers and maintainers graduate.<\/p>\n<p>MuJoCo is one of the few full-featured simulators backed by an established company, which is truly open source. As a research-driven organisation, we view MuJoCo as a platform for collaboration, where roboticists and engineers can join us to develop one of the world\u2019s best robot simulators.<\/p>\n<p>Features that make MuJoCo particularly attractive for collaboration are:<\/p>\n<ul role=\"list\">\n<li>Full-featured simulator that can <a href=\"https:\/\/www.youtube.com\/watch?v=mfAst_GB8Sk\">model<\/a> <a href=\"https:\/\/www.youtube.com\/watch?v=4J4tO8bb70I\">complex<\/a> <a href=\"https:\/\/www.youtube.com\/watch?v=LZ7vkzZF4xk\">mechanisms<\/a>.\u00a0<\/li>\n<li>Readable, performant, portable code.<\/li>\n<li>Easily extensible codebase.<\/li>\n<li>Detailed documentation: both user-facing and code comments.<\/li>\n<\/ul>\n<p>We hope that colleagues across academia and the OSS community benefit from this platform and contribute to the codebase, improving research for everyone.<\/p>\n<h4>Performance<\/h4>\n<p>As a C library with no dynamic memory allocation, MuJoCo is very fast. Unfortunately, raw physics speed has historically been hindered by Python wrappers, which made batched, multi-threaded operations non-performant due to the presence of the Global Interpreter Lock (GIL) and non-compiled code. In our roadmap below, we address this issue going forward.\u00a0<\/p>\n<p>For now, we\u2019d like to share some benchmarking results for two common models. The results were obtained on a standard AMD Ryzen 9 5950X machine, running Windows 10.<\/p>\n<figure class=\"w-richtext-align-center w-richtext-figure-type-image\">\n<div><img decoding=\"async\" src=\"https:\/\/assets-global.website-files.com\/621e749a546b7592125f38ed\/628b971675cb60d74f5fa189_2A54E864-FE90-49E4-8E58-FE40298303E2.jpeg\" loading=\"lazy\" alt=\"\"\/><\/div><figcaption>These values were obtained from our<a href=\"https:\/\/github.com\/deepmind\/mujoco\/blob\/main\/sample\/testspeed.cc\"> testspeed sample code<\/a>. Notably, control noise is injected into the actuators preventing the system from settling into a fixed state, and are therefore representative of real-world performance.<\/figcaption><\/figure>\n<h4>Roadmap<\/h4>\n<p>Here\u2019s our near-term roadmap for MuJoCo:<\/p>\n<ul role=\"list\">\n<li>Unlock MuJoCo\u2019s speed potential with batched, multi-threaded simulation.<\/li>\n<li>Support larger scenes with improvements to internal memory management.<\/li>\n<li>New incremental compiler with better model composability.<\/li>\n<li>Support for better rendering via Unity integration.<\/li>\n<li>Native support for physics derivatives, both analytical and finite-differenced.<\/li>\n<\/ul>\n<h4>Learn more<\/h4>\n<p>Helpful resources about MuJoCo:<\/p>\n<p>We look forward to receiving your contributions!<\/p>\n<\/div>\n<p>[ad_2]<br \/>\n<br \/><a href=\"https:\/\/www.deepmind.com\/blog\/open-sourcing-mujoco\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] In October 2021, we announced that we acquired the MuJoCo physics simulator, and made it freely available<\/p>\n","protected":false},"author":2,"featured_media":203,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-202","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-deepmind-ai"],"_links":{"self":[{"href":"https:\/\/todaysainews.com\/index.php\/wp-json\/wp\/v2\/posts\/202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/todaysainews.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/todaysainews.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/todaysainews.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/todaysainews.com\/index.php\/wp-json\/wp\/v2\/comments?post=202"}],"version-history":[{"count":1,"href":"https:\/\/todaysainews.com\/index.php\/wp-json\/wp\/v2\/posts\/202\/revisions"}],"predecessor-version":[{"id":2965,"href":"https:\/\/todaysainews.com\/index.php\/wp-json\/wp\/v2\/posts\/202\/revisions\/2965"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/todaysainews.com\/index.php\/wp-json\/wp\/v2\/media\/203"}],"wp:attachment":[{"href":"https:\/\/todaysainews.com\/index.php\/wp-json\/wp\/v2\/media?parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/todaysainews.com\/index.php\/wp-json\/wp\/v2\/categories?post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/todaysainews.com\/index.php\/wp-json\/wp\/v2\/tags?post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}