The pytorch implementation of the paper 'EPINF: Efficient Physics Informed Fluid Flow Reconstruction With Spatial and Temporal Priors'
Project description
EPINF-NeuFlow
The pytorch implementation of the paper "EPINF: Efficient Physics Informed Fluid Flow Reconstruction With Spatial and Temporal Priors"
This repo is also a pypi package NeuFlow that can be installed via pip:
python -m pip install neuflow
Environment Setup
System Requirements
- System
- Windows 11 + MSVC 2022 (Fully Tested)
- Ubuntu 24.04.2 (Fully Tested)
- Python: 3.13
- PyTorch: 2.7.1 + CUDA 12.8
Pip Packages
python -m pip install --upgrade pip setuptools wheel
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cu128
python -m pip install lightning lightning[extra] dearpygui tyro matplotlib av huggingface_hub opencv-python phiflow
Fully Fused-NNs - tiny-cuda-nn
set TCNN_CUDA_ARCHITECTURES=86
python -m pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
For Windows deployment, open X64 Native Tools Command Prompt for VS 2022 then activate your python venv if any, and set TCNN_CUDA_ARCHITECTURES to your GPU architecture.
| GPU | CUDA arch |
|---|---|
| H100 | 90 |
| 40X0 | 89 |
| 30X0 | 86 |
| A100 | 80 |
| 20X0 | 75 |
| TITAN V / V100 | 70 |
| 10X0 / TITAN Xp | 61 |
| 9X0 | 52 |
| K80 | 37 |
Native CUDA Extensions
freqencoder, gridencoder, raymarching, shencoder
python -m pip install ./cuda_extensions/freqencoder ./cuda_extensions/gridencoder ./cuda_extensions/raymarching ./cuda_extensions/shencoder
Optional Packages
triton-windows - Activate torch.compile for Windows
python -m pip install -U "triton-windows<3.3"
Datasets
We provide two datasets for training and testing the model:
- the NeRF-Synthetic is available at Hugging Face - nerf_synthetic.
- The PI-Neuflow dataset is available at Hugging Face - PI-NeuFlow.
ALL datasets are downloaded AUTOMATICALLY when running the training script.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 neuflow-0.1.2.tar.gz.
File metadata
- Download URL: neuflow-0.1.2.tar.gz
- Upload date:
- Size: 35.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02030dae6865813480c50764f9b098531a08cdfbbb000ce8484dbd65ca6c9914
|
|
| MD5 |
582d1e8b08501d884b87a06b628b76cc
|
|
| BLAKE2b-256 |
746d45a2d3a960c560ba8ecb5d97e0acfb6bb469775f6852c18f3e5388e95dfa
|
File details
Details for the file neuflow-0.1.2-py3-none-any.whl.
File metadata
- Download URL: neuflow-0.1.2-py3-none-any.whl
- Upload date:
- Size: 46.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c7970ae46476c49fdb84a26a13b9129c5e6d61bfff8554627d121c1e6fe9fbf
|
|
| MD5 |
ae2f8eab09cd811354097e17915dde90
|
|
| BLAKE2b-256 |
ec4a5e6e266d75ea1850762fcc7562d4fd3f164c06f11e8daa75a21f07369328
|