Skip to content

Commit

Permalink
Add a deploydocs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Apr 6, 2024
1 parent 80e3475 commit d95c3c2
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/DeployDocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy GitHub Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["gh-pages"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: "gh-pages"
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

1 comment on commit d95c3c2

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark Results

Benchmark suite Current: d95c3c2 Previous: 80e3475 Ratio
Dense(2 => 2)/cpu/reverse/ReverseDiff (compiled)/(2, 128) 3268.5625 ns 3267.375 ns 1.00
Dense(2 => 2)/cpu/reverse/Zygote/(2, 128) 9162 ns 9518 ns 0.96
Dense(2 => 2)/cpu/reverse/Tracker/(2, 128) 15679 ns 16922 ns 0.93
Dense(2 => 2)/cpu/reverse/ReverseDiff/(2, 128) 4670.785714285714 ns 4762.5 ns 0.98
Dense(2 => 2)/cpu/reverse/Flux/(2, 128) 6859.700000000001 ns 7057.2 ns 0.97
Dense(2 => 2)/cpu/reverse/SimpleChains/(2, 128) 1555.9 ns 1712.7 ns 0.91
Dense(2 => 2)/cpu/forward/NamedTuple/(2, 128) 2005.2 ns 1091 ns 1.84
Dense(2 => 2)/cpu/forward/ComponentArray/(2, 128) 733.5105633802817 ns 701.922077922078 ns 1.05
Dense(2 => 2)/cpu/forward/Flux/(2, 128) 1821.1090909090908 ns 1308.4 ns 1.39
Dense(2 => 2)/cpu/forward/SimpleChains/(2, 128) 179.0541069100391 ns 179.44851904090268 ns 1.00
Dense(20 => 20)/cpu/reverse/ReverseDiff (compiled)/(20, 128) 19341.5 ns 17643 ns 1.10
Dense(20 => 20)/cpu/reverse/Zygote/(20, 128) 27806.5 ns 25061.5 ns 1.11
Dense(20 => 20)/cpu/reverse/Tracker/(20, 128) 41507 ns 37245 ns 1.11
Dense(20 => 20)/cpu/reverse/ReverseDiff/(20, 128) 25833 ns 23073 ns 1.12
Dense(20 => 20)/cpu/reverse/Flux/(20, 128) 21400 ns 21485 ns 1.00
Dense(20 => 20)/cpu/reverse/SimpleChains/(20, 128) 14612 ns 13360 ns 1.09
Dense(20 => 20)/cpu/forward/NamedTuple/(20, 128) 5028.571428571429 ns 5101.714285714286 ns 0.99
Dense(20 => 20)/cpu/forward/ComponentArray/(20, 128) 4958.5 ns 5107.428571428572 ns 0.97
Dense(20 => 20)/cpu/forward/Flux/(20, 128) 5024.285714285714 ns 5200.428571428571 ns 0.97
Dense(20 => 20)/cpu/forward/SimpleChains/(20, 128) 1668.1 ns 1682.65 ns 0.99
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 3, 128) 38179956.5 ns 39284500.5 ns 0.97
Conv((3, 3), 3 => 3)/cpu/reverse/Zygote/(64, 64, 3, 128) 89430081 ns 91429963.5 ns 0.98
Conv((3, 3), 3 => 3)/cpu/reverse/Tracker/(64, 64, 3, 128) 90888270.5 ns 92389439.5 ns 0.98
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff/(64, 64, 3, 128) 39238669 ns 39691452 ns 0.99
Conv((3, 3), 3 => 3)/cpu/reverse/Flux/(64, 64, 3, 128) 88713557.5 ns 89786916.5 ns 0.99
Conv((3, 3), 3 => 3)/cpu/reverse/SimpleChains/(64, 64, 3, 128) 11908460 ns 12259593 ns 0.97
Conv((3, 3), 3 => 3)/cpu/forward/NamedTuple/(64, 64, 3, 128) 10134443.5 ns 10225995 ns 0.99
Conv((3, 3), 3 => 3)/cpu/forward/ComponentArray/(64, 64, 3, 128) 10138838 ns 10142638 ns 1.00
Conv((3, 3), 3 => 3)/cpu/forward/Flux/(64, 64, 3, 128) 10136702.5 ns 10137133.5 ns 1.00
Conv((3, 3), 3 => 3)/cpu/forward/SimpleChains/(64, 64, 3, 128) 6378500.5 ns 6423977 ns 0.99
vgg16/cpu/reverse/Zygote/(32, 32, 3, 1) 3889000731 ns 4365894701 ns 0.89
vgg16/cpu/reverse/Zygote/(32, 32, 3, 16) 11395646423 ns 5118048782 ns 2.23
vgg16/cpu/reverse/Zygote/(32, 32, 3, 64) 14444344178 ns 15719820981 ns 0.92
vgg16/cpu/reverse/Tracker/(32, 32, 3, 1) 1319342553 ns 1394532184 ns 0.95
vgg16/cpu/reverse/Tracker/(32, 32, 3, 16) 2546305778 ns 2737271241 ns 0.93
vgg16/cpu/reverse/Tracker/(32, 32, 3, 64) 5095503782 ns 5392134495 ns 0.94
vgg16/cpu/reverse/Flux/(32, 32, 3, 1) 86578805 ns 86035309 ns 1.01
vgg16/cpu/reverse/Flux/(32, 32, 3, 16) 750939038 ns 750690104 ns 1.00
vgg16/cpu/reverse/Flux/(32, 32, 3, 64) 3071010714 ns 3106551216 ns 0.99
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 1) 23160300.5 ns 23365059.5 ns 0.99
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 16) 245239837 ns 248196871 ns 0.99
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 64) 1007072276 ns 1003838362 ns 1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 1) 22808532 ns 23649034 ns 0.96
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 16) 250193614 ns 248954800 ns 1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 64) 992461922 ns 1074000658 ns 0.92
vgg16/cpu/forward/Flux/(32, 32, 3, 1) 21518998 ns 22160375 ns 0.97
vgg16/cpu/forward/Flux/(32, 32, 3, 16) 226942597 ns 247762136 ns 0.92
vgg16/cpu/forward/Flux/(32, 32, 3, 64) 905430868 ns 895437036 ns 1.01
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 64, 128) 1050037361 ns 1052351659 ns 1.00
Conv((3, 3), 64 => 64)/cpu/reverse/Zygote/(64, 64, 64, 128) 2294923901 ns 2300391794 ns 1.00
Conv((3, 3), 64 => 64)/cpu/reverse/Tracker/(64, 64, 64, 128) 2711648088 ns 2730677981 ns 0.99
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff/(64, 64, 64, 128) 1376715391 ns 1401783862 ns 0.98
Conv((3, 3), 64 => 64)/cpu/reverse/Flux/(64, 64, 64, 128) 2284142846 ns 2328019747 ns 0.98
Conv((3, 3), 64 => 64)/cpu/forward/NamedTuple/(64, 64, 64, 128) 373009296 ns 375448343 ns 0.99
Conv((3, 3), 64 => 64)/cpu/forward/ComponentArray/(64, 64, 64, 128) 373277495 ns 374614390 ns 1.00
Conv((3, 3), 64 => 64)/cpu/forward/Flux/(64, 64, 64, 128) 374725980 ns 375734589 ns 1.00
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 1, 128) 13795006.5 ns 13597474 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/Zygote/(64, 64, 1, 128) 30504090 ns 30506392 ns 1.00
Conv((3, 3), 1 => 1)/cpu/reverse/Tracker/(64, 64, 1, 128) 31196065 ns 31258806 ns 1.00
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff/(64, 64, 1, 128) 13880386 ns 13877995 ns 1.00
Conv((3, 3), 1 => 1)/cpu/reverse/Flux/(64, 64, 1, 128) 30371317 ns 30495395 ns 1.00
Conv((3, 3), 1 => 1)/cpu/reverse/SimpleChains/(64, 64, 1, 128) 1151402.5 ns 1149994 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/NamedTuple/(64, 64, 1, 128) 3889828 ns 3880661 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/ComponentArray/(64, 64, 1, 128) 3891843 ns 3880529 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/Flux/(64, 64, 1, 128) 3888351.5 ns 3876882 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/SimpleChains/(64, 64, 1, 128) 196369 ns 195006 ns 1.01
Dense(200 => 200)/cpu/reverse/ReverseDiff (compiled)/(200, 128) 298699.5 ns 297678 ns 1.00
Dense(200 => 200)/cpu/reverse/Zygote/(200, 128) 307225 ns 315185.5 ns 0.97
Dense(200 => 200)/cpu/reverse/Tracker/(200, 128) 380596.5 ns 397685 ns 0.96
Dense(200 => 200)/cpu/reverse/ReverseDiff/(200, 128) 336965.5 ns 344595.5 ns 0.98
Dense(200 => 200)/cpu/reverse/Flux/(200, 128) 274174 ns 471604 ns 0.58
Dense(200 => 200)/cpu/reverse/SimpleChains/(200, 128) 399782 ns 395982 ns 1.01
Dense(200 => 200)/cpu/forward/NamedTuple/(200, 128) 87548 ns 91626.5 ns 0.96
Dense(200 => 200)/cpu/forward/ComponentArray/(200, 128) 87923.5 ns 95404 ns 0.92
Dense(200 => 200)/cpu/forward/Flux/(200, 128) 86140 ns 87344 ns 0.99
Dense(200 => 200)/cpu/forward/SimpleChains/(200, 128) 104484 ns 104776.5 ns 1.00
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 16, 128) 191036799 ns 191759064 ns 1.00
Conv((3, 3), 16 => 16)/cpu/reverse/Zygote/(64, 64, 16, 128) 493413269 ns 511408215 ns 0.96
Conv((3, 3), 16 => 16)/cpu/reverse/Tracker/(64, 64, 16, 128) 489003899 ns 523965339 ns 0.93
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff/(64, 64, 16, 128) 211324170 ns 212766749 ns 0.99
Conv((3, 3), 16 => 16)/cpu/reverse/Flux/(64, 64, 16, 128) 496762204 ns 486845887 ns 1.02
Conv((3, 3), 16 => 16)/cpu/reverse/SimpleChains/(64, 64, 16, 128) 321029156 ns 320740323 ns 1.00
Conv((3, 3), 16 => 16)/cpu/forward/NamedTuple/(64, 64, 16, 128) 64080968 ns 64118671 ns 1.00
Conv((3, 3), 16 => 16)/cpu/forward/ComponentArray/(64, 64, 16, 128) 64337804 ns 64797793 ns 0.99
Conv((3, 3), 16 => 16)/cpu/forward/Flux/(64, 64, 16, 128) 63632970 ns 64228406 ns 0.99
Conv((3, 3), 16 => 16)/cpu/forward/SimpleChains/(64, 64, 16, 128) 28560436.5 ns 29516170.5 ns 0.97
Dense(2000 => 2000)/cpu/reverse/ReverseDiff (compiled)/(2000, 128) 21422844.5 ns 19828112 ns 1.08
Dense(2000 => 2000)/cpu/reverse/Zygote/(2000, 128) 24663525.5 ns 25262569 ns 0.98
Dense(2000 => 2000)/cpu/reverse/Tracker/(2000, 128) 33010303 ns 34145184 ns 0.97
Dense(2000 => 2000)/cpu/reverse/ReverseDiff/(2000, 128) 23149563.5 ns 22848976.5 ns 1.01
Dense(2000 => 2000)/cpu/reverse/Flux/(2000, 128) 19552062 ns 19974956 ns 0.98
Dense(2000 => 2000)/cpu/forward/NamedTuple/(2000, 128) 6561783 ns 6640955 ns 0.99
Dense(2000 => 2000)/cpu/forward/ComponentArray/(2000, 128) 6521774.5 ns 6637819 ns 0.98
Dense(2000 => 2000)/cpu/forward/Flux/(2000, 128) 6527806 ns 6568209 ns 0.99

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.