Test command
$ testspeed ~/projects/Hobot/hobot/environments/mj_models/go1/scene.xml 100000 20
Where 20
means using 20 (asynchronous) threads.
# CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz | |
# | |
# Python 3.9 on NixOS - Time elapsed = 14.530219 seconds | |
# Python 3.10 on NixOS - Time elapsed = 10.266909 seconds | |
# Python 3.11 on NixOS - Time elapsed = 5.466192 seconds | |
import random | |
import time | |
import torch | |
import time | |
num_envs = 40 | |
buffer_length = 1_000_000 | |
buffer = torch.zeros([num_envs, buffer_length]).cpu() | |
B = 5120 | |
T = 100 |
# Check https://github.com/airalab/airapkgs/blob/nixos-unstable/pkgs/development/ros-modules/catkin/default.nix | |
{ lib, pkgs, stdenv, fetchFromGitHub, callPackage, | |
python2Packages, ... }: | |
let | |
pname = "catkin"; | |
version = "0.7.18"; | |
subversion = "1"; | |
rosdistro = "kinetic"; |
I hereby claim:
To claim this, I am signing this object:
{ config, lib, pkgs, ... }: | |
{ | |
networking.firewall.allowedTCPPorts = [ 80 443 8885 ]; | |
services.nginx = { | |
enable = true; | |
recommendedProxySettings = true; | |
statusPage = true; |
pages: | |
home: | |
title: 首页 | |
searchPlaceholder: 搜索功能尚未开放 | |
armor: | |
title: 防具 | |
armorSet: 套装 | |
produce: 生产 | |
weapon: | |
title: 武器 |