Skip to content
/ numPDE Public

A parallel version of 2-D multigrid method based on Pytorch

Notifications You must be signed in to change notification settings

CS123n/numPDE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiGrid Method

Hi, everyone! This repo provides a parallel version of 2-D multigrid method based on Pytorch.

Install necessary python packages:

pip install -r requirements.txt

Run single node version:

python main.py -n 64 -p 1

Run multi-node version:

torchrun --nproc_per_node 4 main.py -n 64 -p 2

About

A parallel version of 2-D multigrid method based on Pytorch

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages