-
-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1980 from lfenzo/docs/gpu-common-workflows
Added Common GPU Workflows in Docs
- Loading branch information
Showing
2 changed files
with
123 additions
and
36 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 |
---|---|---|
@@ -1,39 +1,50 @@ | ||
using Documenter, Flux, NNlib, Functors, MLUtils, BSON | ||
|
||
|
||
DocMeta.setdocmeta!(Flux, :DocTestSetup, :(using Flux); recursive = true) | ||
makedocs(modules = [Flux, NNlib, Functors, MLUtils, BSON], | ||
doctest = false, | ||
sitename = "Flux", | ||
pages = ["Home" => "index.md", | ||
"Building Models" => | ||
["Overview" => "models/overview.md", | ||
"Basics" => "models/basics.md", | ||
"Recurrence" => "models/recurrence.md", | ||
"Model Reference" => "models/layers.md", | ||
"Loss Functions" => "models/losses.md", | ||
"Regularisation" => "models/regularisation.md", | ||
"Advanced Model Building" => "models/advanced.md", | ||
"NNlib" => "models/nnlib.md", | ||
"Functors" => "models/functors.md"], | ||
"Handling Data" => | ||
["One-Hot Encoding" => "data/onehot.md", | ||
"MLUtils" => "data/mlutils.md"], | ||
"Training Models" => | ||
["Optimisers" => "training/optimisers.md", | ||
"Training" => "training/training.md"], | ||
"GPU Support" => "gpu.md", | ||
"Saving & Loading" => "saving.md", | ||
"The Julia Ecosystem" => "ecosystem.md", | ||
"Utility Functions" => "utilities.md", | ||
"Performance Tips" => "performance.md", | ||
"Datasets" => "datasets.md", | ||
"Community" => "community.md"], | ||
format = Documenter.HTML( | ||
analytics = "UA-36890222-9", | ||
assets = ["assets/flux.css"], | ||
prettyurls = get(ENV, "CI", nothing) == "true"), | ||
) | ||
|
||
deploydocs(repo = "github.com/FluxML/Flux.jl.git", | ||
target = "build", | ||
push_preview = true) | ||
makedocs( | ||
modules = [Flux, NNlib, Functors, MLUtils, BSON], | ||
doctest = false, | ||
sitename = "Flux", | ||
pages = [ | ||
"Home" => "index.md", | ||
"Building Models" => [ | ||
"Overview" => "models/overview.md", | ||
"Basics" => "models/basics.md", | ||
"Recurrence" => "models/recurrence.md", | ||
"Model Reference" => "models/layers.md", | ||
"Loss Functions" => "models/losses.md", | ||
"Regularisation" => "models/regularisation.md", | ||
"Advanced Model Building" => "models/advanced.md", | ||
"NNlib" => "models/nnlib.md", | ||
"Functors" => "models/functors.md" | ||
], | ||
"Handling Data" => [ | ||
"One-Hot Encoding" => "data/onehot.md", | ||
"MLUtils" => "data/mlutils.md" | ||
], | ||
"Training Models" => [ | ||
"Optimisers" => "training/optimisers.md", | ||
"Training" => "training/training.md" | ||
], | ||
"GPU Support" => "gpu.md", | ||
"Saving & Loading" => "saving.md", | ||
"The Julia Ecosystem" => "ecosystem.md", | ||
"Utility Functions" => "utilities.md", | ||
"Performance Tips" => "performance.md", | ||
"Datasets" => "datasets.md", | ||
"Community" => "community.md" | ||
], | ||
format = Documenter.HTML( | ||
analytics = "UA-36890222-9", | ||
assets = ["assets/flux.css"], | ||
prettyurls = get(ENV, "CI", nothing) == "true" | ||
), | ||
) | ||
|
||
deploydocs( | ||
repo = "github.com/FluxML/Flux.jl.git", | ||
target = "build", | ||
push_preview = true | ||
) |
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