Git Product home page Git Product logo

mujoco-mjx-pixi-example's Introduction

mujoco-mjx-pixi-example

Example of running the official Mujoco MJX Jupyter Notebook example without Colab with pixi.

Requirements

Linux system with Nvidia GPU with CUDA support, with at least 4 GB of VRAM (tested on GeForce RTX 3050 Ti).

Run

If you do not have it, install pixi (in a nutshell: curl -fsSL https://pixi.sh/install.sh | bash), then:

git clone https://github.com/traversaro/mujoco-mjx-pixi-example
cd mujoco-mjx-pixi-example
pixi run notebook_tutorial

and then follow the notebook.

If you are running the notebook on a remote machine to which you are connecting via ssh, make sure to setup an SSH tunnel for the port of the notebook, i.e. :

ssh -L 8888:localhost:8888 <REMOTE_USER>@<REMOTE_HOST>
cd mujoco-mjx-pixi-example
pixi run notebook_tutorial --no-browser --port=8888

Details

The notebook is based on https://github.com/google-deepmind/mujoco/blob/3.1.3/mjx/tutorial.ipynb, with some modifications to permit to run the notebook outside Google Colab.

mujoco-mjx-pixi-example's People

Contributors

traversaro avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mujoco-mjx-pixi-example's Issues

Failure with pixi 0.12.0

traversaro@IITBMP014LW012:~/mujoco-mjx-pixi-example$ pixi run notebook_tutorial
  × failed to parse pixi.toml from /home/traversaro/mujoco-mjx-pixi-example
  ╰─▶ failed to parse project manifest
    ╭─[pixi.toml:9:1]
  9 │ [system-requirements]
 10 │ unix = true
    · ──┬─
    ·   ╰── unknown field `unix`, expected one of `macos`, `linux`, `cuda`, `libc`, `archspec`
 11 │ cuda = "11.8"
    ╰────

traversaro@IITBMP014LW012:~/mujoco-mjx-pixi-example$ pixi --version
pixi 0.12.0

Decrease minimum required VRAM documented in README?

It seems that updating the tutorial in #2 also affected the minimum required VRAM. With that change, now the training starts fine (even on WSL) on my laptop with 4GB NVIDIA GeForce GTX 1650 Ti. The training does not end as my laptop shut dows (probably due to thermal dissipanation problem, but it does not fail with out of memory errors as it happened before to me and @ruben-arts .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.