Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DPOT model architecture (modified from AFNO) #304

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

HaoZhongkai
Copy link

It is a draft PR that adds the DPOT model architecture from [1]. It is modified and improved from AFNO [2]. It adds two files in layers folder, i.e., afno_block.py and cno_block.py. The DPOT model is updated in models/dpot.py.

** PR changes**

  1. add layers/afno_block.py, layers/cno_block.py, models/dpot.py
  2. add a line in models/__init__.py

References

  1. DPOT: Auto-Regressive Denoising Operator Transformer for Large-Scale PDE Pre-Training (https://arxiv.org/abs/2403.03542)
  2. Adaptive Fourier Neural Operators: Efficient Token Mixers for Transformers (https://arxiv.org/abs/2111.13587)

$ git push origin main
To github.com:HaoZhongkai/neuraloperator.git
 ! [rejected]        main -> main (fetch first)
error: failed to push some refs to 'github.com:HaoZhongkai/neuraloperator.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant