-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added documentation --------- Co-authored-by: turquoisedragon2926 <[email protected]>
- Loading branch information
1 parent
4ec7e39
commit f475855
Showing
31 changed files
with
810 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Doc Preview Cleanup | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
|
||
# Ensure that only one "Doc Preview Cleanup" workflow is force pushing at a time | ||
concurrency: | ||
group: doc-preview-cleanup | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
doc-preview-cleanup: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout gh-pages branch | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: gh-pages | ||
- name: Delete preview and history + push changes | ||
run: | | ||
if [ -d "${preview_dir}" ]; then | ||
git config user.name "Documenter.jl" | ||
git config user.email "[email protected]" | ||
git rm -rf "${preview_dir}" | ||
git commit -m "delete preview" | ||
git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree}) | ||
git push --force origin gh-pages-new:gh-pages | ||
fi | ||
env: | ||
preview_dir: previews/PR${{ github.event.number }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Documenter | ||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: '*' | ||
pull_request: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@latest | ||
with: | ||
version: '1.9.4' | ||
- name: Install dependencies | ||
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' | ||
- name: Build and deploy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} | ||
run: julia --project=docs/ docs/make.jl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ examples/.ipynb_checkpoints | |
*.svg | ||
*.png | ||
*.dot | ||
!logo.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,7 @@ | ||
name = "ParametricOperators" | ||
uuid = "db9e0614-c73c-4112-a40c-114e5b366d0d" | ||
authors = ["Richard Rex <[email protected]>", "Thomas Grady <[email protected]>"] | ||
version = "1.1.2" | ||
|
||
[compat] | ||
julia = "1.9.4" | ||
CUDA = "5.2.0" | ||
ChainRulesCore = "1.23.0" | ||
Combinatorics = "1.0.2" | ||
DataStructures = "0.18.18" | ||
FFTW = "1.8.0" | ||
Flux = "0.14.15" | ||
GraphViz = "0.2.0" | ||
JSON = "0.21.4" | ||
LRUCache = "1.6.1" | ||
LaTeXStrings = "1.3.1" | ||
MPI = "0.20.19" | ||
Match = "2.0.0" | ||
OMEinsum = "0.8.1" | ||
version = "1.1.3" | ||
|
||
[deps] | ||
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" | ||
|
@@ -35,3 +19,19 @@ Match = "7eb4fadd-790c-5f42-8a69-bfa0b872bfbf" | |
OMEinsum = "ebe7aa44-baf0-506c-a96f-8464559b3922" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" | ||
|
||
[compat] | ||
CUDA = "5.2.0" | ||
ChainRulesCore = "1.23.0" | ||
Combinatorics = "1.0.2" | ||
DataStructures = "0.18.18" | ||
FFTW = "1.8.0" | ||
Flux = "0.14.15" | ||
GraphViz = "0.2.0" | ||
JSON = "0.21.4" | ||
LRUCache = "1.6.1" | ||
LaTeXStrings = "1.3.1" | ||
MPI = "0.20.19" | ||
Match = "2.0.0" | ||
OMEinsum = "0.8.1" | ||
julia = "1.9.4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build/ | ||
site/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[deps] | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
ParametricOperators = "db9e0614-c73c-4112-a40c-114e5b366d0d" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using Documenter | ||
using ParametricOperators | ||
|
||
makedocs( | ||
sitename = "ParametricOperators.jl", | ||
format = Documenter.HTML(), | ||
# modules = [ParametricOperators], | ||
pages=[ | ||
"Introduction" => "index.md", | ||
"Quick Start" => "quickstart.md", | ||
"Distribution" => "distribution.md", | ||
"Examples" => [ | ||
"3D FFT" => "examples/3D_FFT.md", | ||
"Distributed 3D FFT" => "examples/3D_DFFT.md", | ||
"3D Conv" => "examples/3D_Conv.md", | ||
"Distributed 3D Conv" => "examples/3D_DConv.md", | ||
], | ||
"API" => "api.md", | ||
"Future Work" => "future.md", | ||
"Citation" => "citation.md" | ||
] | ||
) | ||
|
||
# Automatically deploy documentation to gh-pages. | ||
deploydocs( | ||
repo = "github.com/slimgroup/ParametricOperators.jl.git", | ||
push_preview=true, | ||
devurl = "dev", | ||
devbranch = "main", | ||
versions = ["dev" => "dev", "stable" => "v^"], | ||
) |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
### API usage for different operators | ||
|
||
Coming soon... |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### Citation | ||
|
||
If you use `ParametricOperators.jl`, please cite the following: | ||
``` | ||
@presentation {rex2023ML4SEISMIClsp, | ||
title = {Large-scale parametric PDE approximations with model-parallel Fourier neural operators}, | ||
year = {2023}, | ||
month = {11}, | ||
url = {https://slim.gatech.edu/Publications/Public/Conferences/ML4SEISMIC/2023/rex2023ML4SEISMIClsp}, | ||
author = {Richard Rex and Thomas J. Grady II and Rishi Khan and Ziyi Yin and Felix J. Herrmann} | ||
} | ||
``` |
Oops, something went wrong.