From 371f3e20e9e49f11d8bc75d88dd946beb60cbd9c Mon Sep 17 00:00:00 2001 From: chainzero Date: Thu, 28 Mar 2024 09:22:04 -0400 Subject: [PATCH] feat: adding gpu with ram example to sdl docs --- .../stack-definition-language/index.md | 43 ++++++++++++++++--- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/src/content/Docs/getting-started/stack-definition-language/index.md b/src/content/Docs/getting-started/stack-definition-language/index.md index 7fc5f30e..80a3d182 100644 --- a/src/content/Docs/getting-started/stack-definition-language/index.md +++ b/src/content/Docs/getting-started/stack-definition-language/index.md @@ -253,13 +253,27 @@ The declaration of a GPU model is optional in the SDL. If your deployment does n If your deployment is optimized to run on multiple GPU models, include the appropriate list of models as seen in the following example. In this usage, any Akash provider that has a model in the list will bid on the deployment. ``` - gpu: - units: 1 - attributes: - vendor: - nvidia: - - model: 4090 - - model: t4 +gpu: + units: 1 + attributes: + vendor: + nvidia: + - model: 4090 + - model: t4 +``` + +#### GPU RAM Specification + +Optionally the SDL may include a GPU RAM/VRAM requirement such as the example below. + +``` +gpu: + units: 1 + attributes: + vendor: + nvidia: + - model: a100 + ram: 80Gi ``` #### GPU Interface Specification @@ -278,6 +292,21 @@ gpu: interface: sxm ``` +#### GPU with RAM and Interface Specification + +Example of specifying both RAM and interface in the SDL GPU section. + +``` +gpu: + units: 1 + attributes: + vendor: + nvidia: + - model: a100 + interface: pcie + ram: 80Gi +``` + ## Stable Payment Use of Stable Payments is supported in the Akash SDL and is declared in the placement section of the SDL as shown in the example below.