Skip to content

Commit

Permalink
Notebook ci (#1398)
Browse files Browse the repository at this point in the history
Signed-off-by: Fotis Nikolaidis <[email protected]>
  • Loading branch information
fnikolai authored Nov 24, 2023
1 parent 85f6c8e commit 23c21b3
Show file tree
Hide file tree
Showing 15 changed files with 3,519 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- main
paths:
- 'examples/official-notebooks/**'
- 'examples/**'
# Nightly is needed to ensure that code and notebooks are interopeable
schedule:
- cron: "30 1 * * *"
Expand Down Expand Up @@ -56,4 +56,4 @@ jobs:
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
make test_notebooks NOTEBOOKS=./examples/official-notebooks
make test_notebooks NOTEBOOKS=./examples
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "examples"]
path = examples
[submodule "contrib"]
path = contrib
url = https://github.com/SuperDuperDB/superduper-community-apps
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ devkit: ## Add essential development tools
# Download tools for code quality testing
pip install .[quality]

# Set git to continuously update submodules
git config --global submodule.recurse true

##@ CI Doc Functions

Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,58 +254,58 @@ Also find use-cases and apps built by the community in the [superduper-community
<table>
<tr>
<td width="30%">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/multimodal_image_search_clip.ipynb">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/multimodal_image_search_clip.ipynb">
<img src="https://raw.githubusercontent.com/SuperDuperDB/superduperdb/main/docs/hr/static/icons/featured-examples/image-search.svg" />
</a>
</td>
<td width="30%">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/video_search.ipynb">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/video_search.ipynb">
<img src="https://raw.githubusercontent.com/SuperDuperDB/superduperdb/main/docs/hr/static/icons/featured-examples/video-search.svg" />
</a>
</td>
<td width="30%">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/question_the_docs.ipynb">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/question_the_docs.ipynb">
<img src="https://raw.githubusercontent.com/SuperDuperDB/superduperdb/main/docs/hr/static/icons/featured-examples/semantic-search.svg" />
</a>
</td>
</tr>
<tr>
<th>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/multimodal_image_search_clip.ipynb">Text-To-Image Search</a>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/multimodal_image_search_clip.ipynb">Text-To-Image Search</a>
</th>
<th>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/video_search.ipynb">Text-To-Video Search</a>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/video_search.ipynb">Text-To-Video Search</a>
</th>
<th>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/question_the_docs.ipynb">Question the Docs</a>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/question_the_docs.ipynb">Question the Docs</a>
</th>
</tr>
<tr>
<td width="30%">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/vector_search.ipynb">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/vector_search.ipynb">
<img src="https://raw.githubusercontent.com/SuperDuperDB/superduperdb/main/docs/hr/static/icons/featured-examples/document-search.svg" />
</a>
</td>
<td width="30%">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/mnist_torch.ipynb">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/mnist_torch.ipynb">
<img src="https://raw.githubusercontent.com/SuperDuperDB/superduperdb/main/docs/hr/static/icons/featured-examples/machine-learning.svg" />
</a>
</td>
<td width="30%">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/transfer_learning.ipynb">
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/transfer_learning.ipynb">
<img src="https://raw.githubusercontent.com/SuperDuperDB/superduperdb/main/docs/hr/static/icons/featured-examples/transfer-learning.svg" />
</a>
</td>
</tr>
<tr>
<th>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/vector_search.ipynb">Semantic Search Engine</a>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/vector_search.ipynb">Semantic Search Engine</a>
</th>
<th>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/mnist_torch.ipynb">Classical Machine Learning</a>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/mnist_torch.ipynb">Classical Machine Learning</a>
</th>
<th>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/official-notebooks/transfer_learning.ipynb">Cross-Framework Transfer Learning</a>
<a href="https://demo.superduperdb.com/user-redirect/lab/tree/examples/transfer_learning.ipynb">Cross-Framework Transfer Learning</a>
</th>
</tr>
</table>
Expand Down
1 change: 1 addition & 0 deletions contrib
Submodule contrib added at 84f6c0
1 change: 0 additions & 1 deletion examples
Submodule examples deleted from a908a7
6 changes: 6 additions & 0 deletions examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ignore everything
*
*/

# Except for notebook files
!*.ipynb
Loading

0 comments on commit 23c21b3

Please sign in to comment.