-
Notifications
You must be signed in to change notification settings - Fork 11
/
env_building.yml
45 lines (43 loc) · 1.33 KB
/
env_building.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Install or update environment
# conda env update --file env_building.yml --prune
#
# Remove environment
# conda remove --name sustaingym_building --all
#
# Notes
# - Ray 2.8:
# - officially only supports up to Python 3.10 (see https://docs.ray.io/en/latest/ray-overview/installation.html)
# - only supports gymnasium 0.28.1 (see https://github.com/ray-project/ray/blob/ray-2.8.0/python/setup.py#L305)
# - officially seems to only supports pettingzoo 1.23.1 (see https://github.com/ray-project/ray/blob/ray-2.7.1/python/requirements/ml/rllib-test-requirements.txt),
# but empirically seems to work with pettingzoo 1.24.*
#
# last updated: December 7, 2023
name: sustaingym_building
channels:
- pytorch
- nvidia
- conda-forge
dependencies:
- python=3.10.*
- cvxpy=1.4.* # for MPC controller
- flake8 # Optional, for code linting
- ipympl # Optional, for Jupyter / VSCode notebooks
- ipykernel # Optional, for Jupyter / VSCode notebooks
- matplotlib
- mypy # Optional, for type checking
- numpy
- pandas
- pip
- pvlib
- pytorch=2.1.*
- scikit-learn
- scipy
- seaborn
- tqdm # Optional, for progress bars
# for GPU. comment out for CPU-only.
- pytorch-cuda=11.8 # for PyTorch 2
- pip:
- gymnasium==0.28.1
- pettingzoo==1.24.*
- ray[rllib]==2.8.*
- stable_baselines3>=2