From 25cd2bfa1a1305a4f99c5fa36bdec9f93efa421a Mon Sep 17 00:00:00 2001 From: Maanav Dalal Date: Mon, 4 Mar 2024 14:51:38 -0800 Subject: [PATCH] Fixed youtube cookies (#19765) ### Description Simple change, should allow removal of all the errors associated with GDPR (not Adobe, but Adobe isn't seeming to error) ## Note Will need to change consent banner to using [this](https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/wcp/privacy/wcp-cookie-consent-api#cookie-consent-library---javascript) library in accordance with errors. Is known and will be worked on hopefully before EOW. --------- Co-authored-by: MaanavD --- docs/tutorials/csharp/stable-diffusion-csharp.md | 2 +- src/routes/+page.svelte | 6 +++--- src/routes/events/+page.svelte | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/tutorials/csharp/stable-diffusion-csharp.md b/docs/tutorials/csharp/stable-diffusion-csharp.md index 5313fe7d43692..588fb18e70436 100644 --- a/docs/tutorials/csharp/stable-diffusion-csharp.md +++ b/docs/tutorials/csharp/stable-diffusion-csharp.md @@ -197,7 +197,7 @@ tensor([[49406, 1078, 320, 1674, 539, 1901, 2677, 593, 4023, 1630, ## Text embedding with the CLIP text encoder model -The tokens are sent to the text encoder model and converted into a tensor of shape (1, 77, 768) where the first dimension is the batch size, the second dimension is the number of tokens and the third dimension is the embedding size. The text encoder is a [OpenAI CLIP](https://openai.com/blog/clip/) model that connects text to images. +The tokens are sent to the text encoder model and converted into a tensor of shape (1, 77, 768) where the first dimension is the batch size, the second dimension is the number of tokens and the third dimension is the embedding size. The text encoder is a [OpenAI CLIP](https://openai.com/research/clip) model that connects text to images. The text encoder creates the text embedding which is trained to encode the text prompt into a vector that is used to guide the image generation. The text embedding is then concatenated with the uncond embedding to create the text embeddings that is sent to the unet model for inferencing. diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index b84f7fc769a22..0a3982882a51c 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -19,15 +19,15 @@ let videos = [ { title: 'What is ONNX Runtime (ORT)?', - link: 'https://www.youtube.com/embed/M4o4YRVba4o?si=LHc-2AhKt3TrY60g' + link: 'https://www.youtube-nocookie.com/embed/M4o4YRVba4o?si=LHc-2AhKt3TrY60g' }, { title: 'Converting Models to ONNX Format', - link: 'https://www.youtube.com/embed/lRBsmnBE9ZA?si=l5i0Q2P7VtSJyGK1' + link: 'https://www.youtube-nocookie.com/embed/lRBsmnBE9ZA?si=l5i0Q2P7VtSJyGK1' }, { title: 'Optimize Training and Inference with ONNX Runtime (ORT/ACPT/DeepSpeed)', - link: 'https://www.youtube.com/embed/lC7d_7waHLM?si=U4252VEd1t5ioZUN' + link: 'https://www.youtube-nocookie.com/embed/lC7d_7waHLM?si=U4252VEd1t5ioZUN' } ]; diff --git a/src/routes/events/+page.svelte b/src/routes/events/+page.svelte index 62090a831cf4b..58c1e56c60225 100644 --- a/src/routes/events/+page.svelte +++ b/src/routes/events/+page.svelte @@ -28,7 +28,7 @@ let videos = [ { title: 'Workshop: LLMs Fine Tuning and Inferencing Using ONNXRuntime', - link: 'https://www.youtube.com/embed/lOp8WK0fa94?si=rHn8fxAii3Ksr8Ey' + link: 'https://www.youtube-nocookie.com/embed/lOp8WK0fa94?si=rHn8fxAii3Ksr8Ey' } ];