From 700a205ebb96e02d9c21f2d1053132d4f7d890be Mon Sep 17 00:00:00 2001 From: MaanavD Date: Tue, 14 Jan 2025 14:33:06 -0800 Subject: [PATCH 1/3] Added genai table. Modified homescreen toasts. --- src/routes/components/hero.svelte | 22 +- src/routes/getting-started/genai-table.svelte | 249 ++ .../getting-started/inference-table.svelte | 1353 +++++++++++ src/routes/getting-started/table.svelte | 2059 +---------------- 4 files changed, 1618 insertions(+), 2065 deletions(-) create mode 100644 src/routes/getting-started/genai-table.svelte create mode 100644 src/routes/getting-started/inference-table.svelte diff --git a/src/routes/components/hero.svelte b/src/routes/components/hero.svelte index b9b40990b5fc3..ec94a7f607408 100644 --- a/src/routes/components/hero.svelte +++ b/src/routes/components/hero.svelte @@ -6,6 +6,7 @@ import { Highlight } from 'svelte-highlight'; import { bash } from 'svelte-highlight/languages'; import FaRegClipboard from 'svelte-icons/fa/FaRegClipboard.svelte'; + import FaClipboardCheck from 'svelte-icons/fa/FaClipboardCheck.svelte' import OnnxLight from '../../images/ONNX-Light.svelte'; import OnnxDark from '../../images/ONNX-Dark.svelte'; import { fade } from 'svelte/transition'; @@ -55,24 +56,9 @@ {#if copied} diff --git a/src/routes/getting-started/genai-table.svelte b/src/routes/getting-started/genai-table.svelte new file mode 100644 index 0000000000000..81660b6b28ce4 --- /dev/null +++ b/src/routes/getting-started/genai-table.svelte @@ -0,0 +1,249 @@ + + +
+{#if copied} + +{/if} +
+

Platform

+
+
+
+ {#each platforms as platform} + + {/each} +
+
+ +
+

API

+
+
+
+ {#each languages as language} + + {/each} +
+
+ +
+

Hardware Acceleration

+
+
+
+ {#each hardwareAccelerations as hardwareAcceleration} + + {/each} +
+
+ +
+

Build

+
+
+
+ {#each builds as build} + + {/each} +
+
+ +
+

Installation Instructions

+
+
+
+
+ {@html installationInstructions} +
+ {#if installationInstructions.includes('

+                    {" "}Copy code 
+                    
+                
+            {/if}
+        
+
+
\ No newline at end of file diff --git a/src/routes/getting-started/inference-table.svelte b/src/routes/getting-started/inference-table.svelte new file mode 100644 index 0000000000000..fff8fc0583daa --- /dev/null +++ b/src/routes/getting-started/inference-table.svelte @@ -0,0 +1,1353 @@ + + +
+
+
+
+

Platform

+

Platform list contains six items

+
+
+
+
+ {#each platforms as platform, i} + {platform} + {/each} +
+
+ +
+
+

API

+

API list contains eight items

+
+
+
+
+ {#each apis as api, i} + {api} + {/each} +
+
+
+
+

Architecture

+

Architecture list contains five items

+
+
+
+
+ {#each architectures as architecture, i} + {architecture} + {/each} +
+
+
+
+

Hardware Acceleration

+

+ Hardware Acceleration list contains seventeen items +

+
+
+
+
+ {#each hardwareAccelerations as hardware, i} + {hardware} + {/each} +
+
+
+

Installation Instructions

+
+
+
+ Please select a combination of resources +
+
+
+
\ No newline at end of file diff --git a/src/routes/getting-started/table.svelte b/src/routes/getting-started/table.svelte index 8f19be53fd165..061b24be055d3 100644 --- a/src/routes/getting-started/table.svelte +++ b/src/routes/getting-started/table.svelte @@ -1,1796 +1,11 @@
@@ -1833,266 +48,16 @@ {/each} +
-
-
-
-

Platform

-

Platform list contains six items

-
-
-
-
- {#each platforms as platform, i} - {platform} - {/each} -
-
- -
-
-

API

-

API list contains eight items

-
-
-
-
- {#each apis as api, i} - {api} - {/each} -
-
-
-
-

Architecture

-

Architecture list contains five items

-
-
-
-
- {#each architectures as architecture, i} - {architecture} - {/each} -
-
-
-
-

Hardware Acceleration

-

- Hardware Acceleration list contains seventeen items -

-
-
-
-
- {#each hardwareAccelerations as hardware, i} - {hardware} - {/each} -
-
-
-

Installation Instructions

-
-
-
- Please select a combination of resources -
-
-
-
- - + + +
+ +
From 135fee6b9da575162bbbf6891055feaa7c9d976d Mon Sep 17 00:00:00 2001 From: MaanavD Date: Tue, 14 Jan 2025 16:28:15 -0800 Subject: [PATCH 2/3] Removed build options. --- src/routes/getting-started/genai-table.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/routes/getting-started/genai-table.svelte b/src/routes/getting-started/genai-table.svelte index 81660b6b28ce4..4f8872834f9b2 100644 --- a/src/routes/getting-started/genai-table.svelte +++ b/src/routes/getting-started/genai-table.svelte @@ -4,7 +4,7 @@ let platforms = ['Windows', 'Linux', 'MacOS']; let languages = ['Python', 'C#']; let hardwareAccelerations = ['CPU', 'DirectML', 'CUDA']; - let builds = ['Stable', 'Preview (Nightly)']; + // let builds = ['Stable', 'Preview (Nightly)']; /** * @type {string | null} @@ -18,6 +18,7 @@ * @type {string | null} */ let selectedHardwareAcceleration = null; + // For eventual nightly builds /** * @type {string | null} */ @@ -214,7 +215,8 @@ -
+ +

Installation Instructions

From 8b3b72ce7a3d6829968abed54fdbc71ea652f465 Mon Sep 17 00:00:00 2001 From: MaanavD Date: Thu, 16 Jan 2025 14:01:08 -0800 Subject: [PATCH 3/3] Added C/C++ install instructions. --- src/routes/getting-started/genai-table.svelte | 214 ++++++++++-------- 1 file changed, 119 insertions(+), 95 deletions(-) diff --git a/src/routes/getting-started/genai-table.svelte b/src/routes/getting-started/genai-table.svelte index 4f8872834f9b2..9a3e8ccbe0bb7 100644 --- a/src/routes/getting-started/genai-table.svelte +++ b/src/routes/getting-started/genai-table.svelte @@ -1,9 +1,9 @@