Skip to content

Commit

Permalink
adding without photo right now, will see how social media reacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaanavD committed Feb 26, 2024
1 parent 351a0d0 commit ed29277
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
16 changes: 13 additions & 3 deletions src/routes/blogs/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import HFImage from '../../images/blogs/hugging-face-blog-img.png';
import LlamaImage from '../../images/blogs/accelerating-llama-2/Figure1-LLaMA-2-7B-E2E-Throughput.png';
import SDXLTurboImage from '../../images/blogs/sdxl_blog_thumbnail.png';
import Phi2Image from '../../routes/blogs/accelerating-phi-2/Phi2_Int4_TokenGenerationTP.png';
import { createEventDispatcher } from 'svelte';
import WebTrainingImage from '../../images/blogs/webtraining_blog_thumbnail.png';
onMount(() => {
Expand Down Expand Up @@ -38,6 +39,15 @@
dispatch('switchTab', tab);
}
let featuredblog = [
{
title: 'Accelerating Phi-2, CodeLlama, Gemma and other Gen AI models with ONNX Runtime',
date: 'February 26th, 2024',
blurb:
'Improvements with ONNX Runtime for inferencing popular Gen AI models.',
link: 'blogs/accelerating-phi-2',
image: Phi2Image,
imgalt: 'Phi2 float16 token generation throughput comparison'
},
{
title: 'On-Device Training: Training a model in browser',
date: 'February 6th, 2024',
Expand All @@ -56,16 +66,16 @@
image: SDXLTurboImage,
imgalt: 'SD Turbo and SDXL Turbo models with ONNX Runtime and Olive'
},
];
let blogs = [
{
title: 'Accelerating LLaMA-2 Inference with ONNX Runtime',
date: 'November 14th, 2023',
blurb: 'Learn how ONNX Runtime can speed up LLaMA-2 inference by up to 4.5X',
link: 'blogs/accelerating-llama-2',
image: LlamaImage,
imgalt: 'LLaMA-2 e2e throughput'
}
];
let blogs = [
},
{
title: 'Run PyTorch models on the edge',
date: 'October 12th, 2023',
Expand Down
2 changes: 1 addition & 1 deletion src/routes/blogs/accelerating-phi-2/+page.svx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ authorsLink:
'https://www.linkedin.com/in/ashwini-khade-0266541a/',
'http://linkedin.com/in/ye-wang-0ab35812a'
]
image: 'accelerating-phi-2/SDXL'
image: 'accelerating-phi-2/Phi2_Int4_TokenGenerationTP.png'
url: 'https://onnxruntime.ai/blogs/accelerating-phi-2'
---

Expand Down
16 changes: 4 additions & 12 deletions src/routes/blogs/post.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@
/**
* @type {any}
*/
let imgSrc;
async function loadImage() {
const { default: img } = await import(`./${image}.png`);
imgSrc = img;
}
loadImage();
</script>

Expand All @@ -63,16 +55,16 @@
<meta name="keywords" content={keywords} />
<meta name="author" content={authors.join(', ')} />
<meta name="date" content={date} />
<meta name="image" content={imgSrc ? imgSrc : image} />
<meta name="og:title" content={title} />
<meta name="og:description" content={description} />
<meta name="og:type" content="article" />
<meta name="og:url" content={url} />
<meta name="og:image" content={imgSrc ? imgSrc : image} />
<meta name="twitter:title" content={title} />
<meta name="twitter:description" content={description} />
<meta name="twitter:card" content={imgSrc ? imgSrc : image} />
<meta name="twitter:image" content={imgSrc ? imgSrc : image} />
<!-- <meta name="image" content={image} />
<meta name="og:image" content={image} />
<meta name="twitter:card" content={image} />
<meta name="twitter:image" content={image} /> -->

<meta name="robots" content={robots} />
</svelte:head>
Expand Down

0 comments on commit ed29277

Please sign in to comment.