On every machine in the cluster install conda and mlx-lm:
conda install openmpi
pip install -U mlx-lmNext download the pipeline parallel run script. Download it to the same path on every machine:
On every machine in the cluster install conda and mlx-lm:
conda install openmpi
pip install -U mlx-lmNext download the pipeline parallel run script. Download it to the same path on every machine:
| # -*- coding: utf-8 -*- | |
| # /// script | |
| # dependencies = ["yattag", "urdfpy", "scipy"] | |
| # /// | |
| # Usage: | |
| # pipx run urdf_to_ravexml.py --urdf path/to/urdffile.urdf --robotxmldir $(pwd)/robots/ --meshprefix robots/meshes/ | |
| from scipy.spatial.transform import Rotation as R | |
| from urdfpy import URDF |
I hereby claim:
To claim this, I am signing this object:
| curl https://gist.githubusercontent.com/ompugao/d98780de08f3e71caffbfc0cd8522e6e/raw/fcf708f6ef9d98ed924c4a4c8485c84c12aae7b3/setup.sh | /bin/bash |
| # settings for when connected to a power source | |
| [charger] | |
| # see available governors by running: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors | |
| # preferred governor. | |
| governor = performance | |
| # minimum cpu frequency (in kHz) | |
| # example: for 800 MHz = 800000 kHz --> scaling_min_freq = 800000 | |
| # see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.html | |
| # to use this feature, uncomment the following line and set the value accordingly |
| from casadi import * | |
| import math | |
| import numpy as np | |
| class MPC: | |
| def __init__(self): | |
| # 問題設定 | |
| T = 1.0 # ホライゾン長さ (MPCなので短め) | |
| N = 20 # ホライゾン離散化グリッド数 (MPCなので荒め) |
| 15c15,18 | |
| < allowed_users=console | |
| --- | |
| > | |
| > # allowed_users=console | |
| > allowed_users=anybody | |
| > needs_root_rights=yes# from | |
| diff --git a/.gitignore b/.gitignore | |
| index d6136dbab..956bb7caf 100644 | |
| --- a/.gitignore | |
| +++ b/.gitignore | |
| @@ -8,3 +8,4 @@ msvc_soqt/ | |
| src/models/ | |
| myrelpath.pyc | |
| +build | |
| diff --git a/CMakeLists.txt b/CMakeLists.txt |