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

Dolci/paper notebook #38

Merged
merged 22 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/joss-pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on: [push]

jobs:
paper:
runs-on: ubuntu-latest
name: Paper Draft
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build draft PDF
uses: openjournals/openjournals-draft-action@master
with:
journal: joss
# This should be the path to the paper within your repo.
paper-path: docs/paper/paper.md
- name: Upload
uses: actions/upload-artifact@v1
with:
name: paper
# This is the output path where Pandoc will write the compiled
# PDF. Note, this should be the same directory as the input
# paper.md
path: docs/paper/paper.pdf
2 changes: 1 addition & 1 deletion checkpoint_schedules/basic_schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _iterator(self):
while True:
while self._r < self._max_n:
n1 = self._max_n - self._r
n0 = ((n1 - 1) // sys.maxsize) * sys.maxsize
n0 = n1 - 1

self._n = n0
if self._move_data:
Expand Down
2 changes: 1 addition & 1 deletion checkpoint_schedules/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"EndForward",
"EndReverse",
"CheckpointSchedule",
"StorageType"
"StorageType",
]


Expand Down
645 changes: 645 additions & 0 deletions docs/notebooks/tutorial.ipynb

Large diffs are not rendered by default.

917 changes: 0 additions & 917 deletions docs/notebooks/user_guide.ipynb

This file was deleted.

Loading
Loading