knox / SkyPilot-3.yaml
0 likes
0 forks
1 files
Last active
1 | resources: |
2 | accelerators: A100:8 # 8x NVIDIA A100 GPU |
3 | |
4 | num_nodes: 1 # Number of VMs to launch |
5 | |
6 | # Working directory (optional) containing the project codebase. |
7 | # Its contents are synced to ~/sky_workdir/ on the cluster. |
8 | workdir: ~/torch_examples |
9 | |
10 | # Commands to be run before executing the job. |
knox / SkyPilot-2.sh
0 likes
0 forks
1 files
Last active
1 | # Choose your clouds: |
2 | pip install "skypilot-nightly[kubernetes,aws,gcp,azure,oci,lambda,runpod,fluidstack,paperspace,cudo,ibm,scp]" |
knox / SkyPilot-1.sh
0 likes
0 forks
1 files
Last active
1 | # Choose your clouds: |
2 | pip install -U "skypilot[kubernetes,aws,gcp,azure,oci,lambda,runpod,fluidstack,paperspace,cudo,ibm,scp]" |
knox / Rustlings-4.sh
0 likes
0 forks
1 files
Last active
1 | cargo uninstall rustlings |
knox / Rustlings-3.sh
0 likes
0 forks
1 files
Last active
1 | cd rustlings/ |
2 | rustlings |
knox / Rustlings-2.sh
0 likes
0 forks
1 files
Last active
1 | rustlings init |
knox / Rustlings-1.sh
0 likes
0 forks
1 files
Last active
1 | cargo install rustlings |
knox / Plate-1.md
0 likes
0 forks
1 files
Last active
Option | NextJS | Plate | Plugins | AI & Backend |
---|---|---|---|---|
Notion clone template | ✅ | ✅ | ✅ | ✅ |
Plate playground template | ✅ | ✅ | ✅ | |
Plate minimal template | ✅ | ✅ | ||
NextJS template | ✅ |
knox / Chroma-2.py
0 likes
0 forks
1 files
Last active
1 | import chromadb |
2 | # setup Chroma in-memory, for easy prototyping. Can add persistence easily! |
3 | client = chromadb.Client() |
4 | |
5 | # Create collection. get_collection, get_or_create_collection, delete_collection also available! |
6 | collection = client.create_collection("all-my-documents") |
7 | |
8 | # Add docs to the collection. Can also update and delete. Row-based API coming soon! |
9 | collection.add( |
10 | documents=["This is document1", "This is document2"], # we handle tokenization, embedding, and indexing automatically. You can skip that and add your own embeddings as well |
knox / Chroma-1.sh
0 likes
0 forks
1 files
Last active
1 | pip install chromadb # python client |
2 | # for javascript, npm install chromadb! |
3 | # for client-server mode, chroma run --path /chroma_db_path |