Skip to main content

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"

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:

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

neuflow-0.1.1.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neuflow-0.1.1-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

Details for the file neuflow-0.1.1.tar.gz.

File metadata

  • Download URL: neuflow-0.1.1.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for neuflow-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3329171a6e84421b55e2c4c77066c0d61343f898c23e8202564cd325b518adc8
MD5 03371d773d8557cf3f80ab3895092f34
BLAKE2b-256 a9bad037879f92d01cdb31e00bb15d2a57ae2fb5297a2557492880a472cce481

See more details on using hashes here.

File details

Details for the file neuflow-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: neuflow-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 32.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for neuflow-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7baee4b9074a0a816be26859be022aca38beb4e7beffb4aa1ca81ddc746402f0
MD5 1b825090222d3413108419ce52137f82
BLAKE2b-256 147ef1e55dbf8b7947bff2500f334890c6fd7febe8dd0d4aa33f62b4b5da9083

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page