diff options
author | Nicolas Patry <patry.nicolas@protonmail.com> | 2023-07-26 18:06:31 +0200 |
---|---|---|
committer | Nicolas Patry <patry.nicolas@protonmail.com> | 2023-07-26 18:06:31 +0200 |
commit | 834e1b197b4959aa3c011b9a5d5af1ace3e98c42 (patch) | |
tree | 1c3165642ef2ce207689dcc0a0e3b9dd61c5c0b5 /candle-book | |
parent | 1235aa25360081607ccb2795a934a675868ce9ba (diff) | |
download | candle-834e1b197b4959aa3c011b9a5d5af1ace3e98c42.tar.gz candle-834e1b197b4959aa3c011b9a5d5af1ace3e98c42.tar.bz2 candle-834e1b197b4959aa3c011b9a5d5af1ace3e98c42.zip |
Adding a documentation book.
Diffstat (limited to 'candle-book')
-rw-r--r-- | candle-book/.gitignore | 1 | ||||
-rw-r--r-- | candle-book/book.toml | 6 | ||||
-rw-r--r-- | candle-book/src/README.md | 1 | ||||
-rw-r--r-- | candle-book/src/SUMMARY.md | 26 | ||||
-rw-r--r-- | candle-book/src/apps/README.md | 1 | ||||
-rw-r--r-- | candle-book/src/apps/dekstop.md | 1 | ||||
-rw-r--r-- | candle-book/src/apps/rest.md | 1 | ||||
-rw-r--r-- | candle-book/src/apps/wasm.md | 1 | ||||
-rw-r--r-- | candle-book/src/chapter_1.md | 1 | ||||
-rw-r--r-- | candle-book/src/error_manage.md | 1 | ||||
-rw-r--r-- | candle-book/src/guide/hello_world.md | 1 | ||||
-rw-r--r-- | candle-book/src/guide/installation.md | 1 | ||||
-rw-r--r-- | candle-book/src/inference/README.md | 1 | ||||
-rw-r--r-- | candle-book/src/inference/cuda/README.md | 1 | ||||
-rw-r--r-- | candle-book/src/inference/cuda/porting.md | 1 | ||||
-rw-r--r-- | candle-book/src/inference/cuda/writing.md | 1 | ||||
-rw-r--r-- | candle-book/src/inference/hub.md | 1 | ||||
-rw-r--r-- | candle-book/src/inference/serialization.md | 1 | ||||
-rw-r--r-- | candle-book/src/training/README.md | 1 | ||||
-rw-r--r-- | candle-book/src/training/finetuning.md | 1 | ||||
-rw-r--r-- | candle-book/src/training/mnist.md | 1 |
21 files changed, 51 insertions, 0 deletions
diff --git a/candle-book/.gitignore b/candle-book/.gitignore new file mode 100644 index 00000000..7585238e --- /dev/null +++ b/candle-book/.gitignore @@ -0,0 +1 @@ +book diff --git a/candle-book/book.toml b/candle-book/book.toml new file mode 100644 index 00000000..f3b680bc --- /dev/null +++ b/candle-book/book.toml @@ -0,0 +1,6 @@ +[book] +authors = ["Nicolas Patry"] +language = "en" +multilingual = false +src = "src" +title = "Candle Documentation" diff --git a/candle-book/src/README.md b/candle-book/src/README.md new file mode 100644 index 00000000..e10b99d0 --- /dev/null +++ b/candle-book/src/README.md @@ -0,0 +1 @@ +# Introduction diff --git a/candle-book/src/SUMMARY.md b/candle-book/src/SUMMARY.md new file mode 100644 index 00000000..24e2b25a --- /dev/null +++ b/candle-book/src/SUMMARY.md @@ -0,0 +1,26 @@ +# Summary + +[Introduction](README.md) + +# User Guide + +- [Installation](guide/installation.md) +- [Hello World - MNIST](guide/hello_world.md) +- [PyTorch cheatsheet](guide/hello_world.md) + +# Reference Guide + +- [Running a model](inference/README.md) + - [Serialization](inference/serialization.md) + - [Using the hub](inference/hub.md) + - [Advanced Cuda usage](inference/cuda/README.md) + - [Writing a custom kernel](inference/cuda/writing.md) + - [Porting a custom kernel](inference/cuda/porting.md) +- [Error management](error_manage.md) +- [Creating apps](apps/README.md) + - [Creating a WASM app](apps/wasm.md) + - [Creating a REST api webserver](apps/rest.md) + - [Creating a desktop Tauri app](apps/dekstop.md) +- [Training](training/README.md) + - [MNIST](training/mnist.md) + - [Fine-tuning](training/finetuning.md) diff --git a/candle-book/src/apps/README.md b/candle-book/src/apps/README.md new file mode 100644 index 00000000..e321eafa --- /dev/null +++ b/candle-book/src/apps/README.md @@ -0,0 +1 @@ +# Creating apps diff --git a/candle-book/src/apps/dekstop.md b/candle-book/src/apps/dekstop.md new file mode 100644 index 00000000..32cc4441 --- /dev/null +++ b/candle-book/src/apps/dekstop.md @@ -0,0 +1 @@ +# Creating a desktop Tauri app diff --git a/candle-book/src/apps/rest.md b/candle-book/src/apps/rest.md new file mode 100644 index 00000000..c99e04dc --- /dev/null +++ b/candle-book/src/apps/rest.md @@ -0,0 +1 @@ +# Creating a REST api webserver diff --git a/candle-book/src/apps/wasm.md b/candle-book/src/apps/wasm.md new file mode 100644 index 00000000..d56cd148 --- /dev/null +++ b/candle-book/src/apps/wasm.md @@ -0,0 +1 @@ +# Creating a WASM app diff --git a/candle-book/src/chapter_1.md b/candle-book/src/chapter_1.md new file mode 100644 index 00000000..b743fda3 --- /dev/null +++ b/candle-book/src/chapter_1.md @@ -0,0 +1 @@ +# Chapter 1 diff --git a/candle-book/src/error_manage.md b/candle-book/src/error_manage.md new file mode 100644 index 00000000..042e191f --- /dev/null +++ b/candle-book/src/error_manage.md @@ -0,0 +1 @@ +# Error management diff --git a/candle-book/src/guide/hello_world.md b/candle-book/src/guide/hello_world.md new file mode 100644 index 00000000..c370cdd3 --- /dev/null +++ b/candle-book/src/guide/hello_world.md @@ -0,0 +1 @@ +# PyTorch cheatsheet diff --git a/candle-book/src/guide/installation.md b/candle-book/src/guide/installation.md new file mode 100644 index 00000000..25267fe2 --- /dev/null +++ b/candle-book/src/guide/installation.md @@ -0,0 +1 @@ +# Installation diff --git a/candle-book/src/inference/README.md b/candle-book/src/inference/README.md new file mode 100644 index 00000000..c82f85e1 --- /dev/null +++ b/candle-book/src/inference/README.md @@ -0,0 +1 @@ +# Running a model diff --git a/candle-book/src/inference/cuda/README.md b/candle-book/src/inference/cuda/README.md new file mode 100644 index 00000000..68434cbf --- /dev/null +++ b/candle-book/src/inference/cuda/README.md @@ -0,0 +1 @@ +# Advanced Cuda usage diff --git a/candle-book/src/inference/cuda/porting.md b/candle-book/src/inference/cuda/porting.md new file mode 100644 index 00000000..e332146d --- /dev/null +++ b/candle-book/src/inference/cuda/porting.md @@ -0,0 +1 @@ +# Porting a custom kernel diff --git a/candle-book/src/inference/cuda/writing.md b/candle-book/src/inference/cuda/writing.md new file mode 100644 index 00000000..0fe1f3dc --- /dev/null +++ b/candle-book/src/inference/cuda/writing.md @@ -0,0 +1 @@ +# Writing a custom kernel diff --git a/candle-book/src/inference/hub.md b/candle-book/src/inference/hub.md new file mode 100644 index 00000000..6242c070 --- /dev/null +++ b/candle-book/src/inference/hub.md @@ -0,0 +1 @@ +# Using the hub diff --git a/candle-book/src/inference/serialization.md b/candle-book/src/inference/serialization.md new file mode 100644 index 00000000..0dfc62d3 --- /dev/null +++ b/candle-book/src/inference/serialization.md @@ -0,0 +1 @@ +# Serialization diff --git a/candle-book/src/training/README.md b/candle-book/src/training/README.md new file mode 100644 index 00000000..8977de34 --- /dev/null +++ b/candle-book/src/training/README.md @@ -0,0 +1 @@ +# Training diff --git a/candle-book/src/training/finetuning.md b/candle-book/src/training/finetuning.md new file mode 100644 index 00000000..f0af33f9 --- /dev/null +++ b/candle-book/src/training/finetuning.md @@ -0,0 +1 @@ +# Fine-tuning diff --git a/candle-book/src/training/mnist.md b/candle-book/src/training/mnist.md new file mode 100644 index 00000000..642960a4 --- /dev/null +++ b/candle-book/src/training/mnist.md @@ -0,0 +1 @@ +# MNIST |