Plug-and-Play Benchmarking of Reinforcement Learning Algorithms for Large-Scale Flow Control
Project description
Installation
📦 Installation from PyPi
- Ensure the correct PyTorch version is installed (compatible with CUDA 12.8):
pip install torch --index-url https://download.pytorch.org/whl/cu128
- Install
pip install fluidgym
🐳 Using Docker (coming soon)
Instead of installing FluidGym you can use one of our Docker containers:
🧱 Build from Source (GitHub)
- Create a new conda environment and activate it:
conda create -n fluidgym python=3.10
conda activate fluidgym
- Install gcc:
conda install pip "gcc_linux-64>=6.0,<=11.5" "gxx_linux-64>=6.0,<=11.5"
- Install the latest Pytorch for CUDA 12.8 via pip:
pip install torch --index-url https://download.pytorch.org/whl/cu128
- Install the matching cuda toolkit via conda:
conda install cuda-toolkit=12.8 -c nvidia/label/cuda-12.8.1
- Clone the repository and enter the directory, then compile the custom CUDA kernels and install the package (this might take several minutes):
make install
Getting Started
For an easy start refer to our documentation and the examples directory.
FluidGym provides a gymnasium-like interface that can be used as follows:
import fluidgym
env = fluidgym.make(
"JetCylinder2D-easy-v0",
)
obs, info = env.reset(seed=42)
for _ in range(50):
action = env.sample_action()
obs, reward, term, trunc, info = env.step(action)
env.render()
if term or trunc:
break
License & Citation
This repository is published under the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fluidgym-0.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: fluidgym-0.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 16.6 MB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7d02b5c6a8f662086c5c0aa79919fb71149d9a937d6d996faabab38f7ae54b7
|
|
| MD5 |
b7f1c15bcc387e35fed630ca533a6d93
|
|
| BLAKE2b-256 |
1dbce1ff54080c5c498328295a0f0aa2e69574b3f911b2de45794e68619bc12f
|
File details
Details for the file fluidgym-0.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: fluidgym-0.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 16.6 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6b94c3bc76ddf56f18cbb6e5ab67e7e10bcadb72d75fbe027602098c8037b07
|
|
| MD5 |
7accacfddbd587ed43673a93303aa591
|
|
| BLAKE2b-256 |
2727d04543a4754eac05add4d7cecddf1180a8f31eb4d2f39f7c66b4a0223cff
|
File details
Details for the file fluidgym-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: fluidgym-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 16.5 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c11b82ad6090772402574bff5c8fd57d92a59b82d6ca6bda42955d1b1335cc23
|
|
| MD5 |
d82278993d80cc40bbbd30550ef532fe
|
|
| BLAKE2b-256 |
10e00d96efd595fe3506d4798ab501aaeaea9fed1616355b6bc90cf5ab5a6c96
|
File details
Details for the file fluidgym-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: fluidgym-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 16.5 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b52b59c015d13799b0d26957a6504667c2cc953f7d734655c991d63e838954e7
|
|
| MD5 |
ecf9dbd20cdf7fc69d05807b7c42c79b
|
|
| BLAKE2b-256 |
03c72ed234941ce9cc29f60321e00d14af8af6dabc8886ae0e5e82e4a399a04d
|