Skip to content

Commit

Permalink
fix redirection issue
Browse files Browse the repository at this point in the history
  • Loading branch information
snyhlxde1 committed Mar 14, 2024
1 parent 1e0345c commit 0cac4fe
Show file tree
Hide file tree
Showing 5 changed files with 278 additions and 18 deletions.
1 change: 1 addition & 0 deletions content/home.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: ""
layout: "home"
type: "home"
url: "/home/"
summary: "home page for Hao Lab @ UCSD"
cover:
Expand Down
43 changes: 43 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{{ define "main" }}

{{ range .Pages }}
{{ if eq .Type "home" }} <!-- This checks if the page is of type "home" -->
<article class="post-single">
<header class="post-header">
{{ partial "breadcrumbs.html" . }}
<h1 class="post-title entry-hint-parent">
{{ .Title }}
{{- if .Draft }}
<span class="entry-hint" title="Draft">
<svg xmlns="http://www.w3.org/2000/svg" height="35" viewBox="0 -960 960 960" fill="currentColor">
<path
d="M160-410v-60h300v60H160Zm0-165v-60h470v60H160Zm0-165v-60h470v60H160Zm360 580v-123l221-220q9-9 20-13t22-4q12 0 23 4.5t20 13.5l37 37q9 9 13 20t4 22q0 11-4.5 22.5T862.09-380L643-160H520Zm300-263-37-37 37 37ZM580-220h38l121-122-18-19-19-18-122 121v38Zm141-141-19-18 37 37-18-19Z" />
</svg>
</span>
{{- end }}
</h1>
{{- if .Description }}
<div class="post-description">
{{ .Description }}
</div>
{{- end }}
{{- if not (.Param "hideMeta") }}
<div class="post-meta">
{{- partial "post_meta.html" . -}}
{{- partial "translation_list.html" . -}}
{{- partial "edit_post.html" . -}}
{{- partial "post_canonical.html" . -}}
</div>
{{- end }}
</header>
{{- $isHidden := false }}
{{- partial "cover.html" (dict "cxt" . "IsSingle" true "isHidden" $isHidden) }}
<h1>{{ .Title }}</h1>
<div class="post-content">
{{ .Content }}
</div>
</article>
{{ end }}
{{ end }}

{{ end }}
241 changes: 224 additions & 17 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,23 +155,230 @@
</ul>
</nav>
</header>
<main class="main"><div class="posts-list"><article class="post-preview">
<div class="post-image">
<img src="//localhost:1313/img/objective_illustration_global.jpg" alt="">
</div><div class="post-details">
<h2><a href="//localhost:1313/posts/cllm/">Consistency Large Language Models: A Family of Efficient Parallel Decoders</a></h2>
<time datetime="2024-02-21 12:00:00 -0800 PST">February 21, 2024</time>
<p class="post-author"> Siqi Kou*, Lanxiang Hu*, Zhezhi He, Zhijie Deng, Hao Zhang</p>
<p style="text-align: justify;">TL;DR: In this blog, we introduce consistency large language models (CLLMs), a new family of models developed with our proposed techniques to reduce inference latency by efficiently decoding $n$ tokens in parallel. This decoding method is called Jacobi decoding, which improves inference efficiency by breaking the sequential nature of conventional auto-regressive (AR) decoding. CLLMs are trained with the objective of performing efficient Jacobi decoding by mapping any randomly initialized $n$-token sequence to a correctly predicted sequence in as few steps as possible.</p></div>
</article><article class="post-preview">
<div class="post-image">
<img src="//localhost:1313/img/slider/lookahead_decoding.jpg" alt="">
</div><div class="post-details">
<h2><a href="//localhost:1313/posts/lookahead_decoding/">Break the Sequential Dependency of LLM Inference Using Lookahead Decoding</a></h2>
<time datetime="2023-11-21 12:00:00 -0800 PST">November 21, 2023</time>
<p class="post-author"> Yichao Fu, Peter Bailis, Ion Stoica, Hao Zhang</p>
<p style="text-align: justify;">TL;DR: We introduce lookahead decoding, a new, exact, and parallel decoding algorithm to accelerate LLM inference. Lookahead decoding breaks the sequential dependency in autoregressive decoding by concurrently extracting and verifying n-grams directly with the LLM, utilizing the Jacobi iteration method. Lookahead decoding functions without the need for a draft model or a data store. It linearly decreases the number of decoding steps directly correlating with the log(FLOPs) used per decoding step.</p></div>
</article></div>
<main class="main">









<article class="post-single">
<header class="post-header">

<h1 class="post-title entry-hint-parent">

</h1>
<div class="post-meta">

</div>
</header>
<figure class="entry-cover"><img loading="eager" src="//localhost:1313/img/ucsd-geisel.jpg" alt="Hao AI Lab @ UCSD">
<p>Hao AI Lab @ UCSD</p>
</figure>
<h1></h1>
<div class="post-content">
<h3 id="mission-statement">Mission Statement</h3>
<div style="text-align: justify;">
Welcome to the UCSD Hao Lab website! We are passionate about designing strong, efficient, and secure machine learning models and algorithms, and in building scalable, practical distributed systems that can support real-world machine learning workloads. We also develop open-sourced models and systems to democratize the access of Large Language Models (LLMs). We are affiliated with the UCSD ML System Group.
</div>



<p></p>
<h3 id="news">News</h3>
<div style="text-align: justify;">
<strong>09/23</strong>   Hao officially joined UCSD!
</div>



<p></p>
<h3 id="highlights">Highlights</h3>
<!-- raw HTML omitted -->









<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">




<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" crossorigin="anonymous"></script>



<style>
#slide-window {
position: relative;
width: 700px;
height: 300px;
overflow: hidden;
top: 0px;
left: 0px;
}

#slides-list {
width: 700px;
height: 300px;
position: absolute;
margin: 0px;
padding: 0px;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
transition: all 0.66s ease;
-webkit-transition: all 0.66s ease;
}

.slide {
list-style: none;
position: relative;
float: left;
margin: 0;
padding: 0;
width: 700px;
height: 300px;
background: #ccc;
text-align: center;
line-height: 100%;
background-size: cover;
background-position: 50% 50%;
color: #fff;
-webkit-transform: translate3d(0px, 0px, 0px);
-webkit-transform-style: preserve-3d;
}

.nav {
position: relative;
z-index: 9;
top: 45%;
cursor: pointer;
color: #fff;
opacity: 0.7;
transition: all 0.66s ease;
-webkit-transition: all 0.66s ease;
}

.nav:hover {
opacity: 1.0;
}

#left {
left: 3%;
float: left;
}

#right {
right: 3%;
float: right;
}
</style>


<div id="slide-window">
<ol id="slides-list">
<li class="slide" style="background-image:url(//localhost:1313/img/slider/objective_illustration_global_vertical.jpg);"></li>
</ol>
<span class="nav fa fa-chevron-left fa-3x" id="left"></span>
<span class="nav fa fa-chevron-right fa-3x" id="right"></span>
</div>

<script>
sliderJQuery = jQuery.noConflict();
sliderJQuery(function( $ ) {
$.global = new Object();
$.global.total = 0;

$(document).ready(function () {
var slideWindowWidth = $('#slide-window').width();
var slideCount = $('#slides-list li').length;
var totalSlidesWidth = slideCount * slideWindowWidth;

$.global.item = 0;
$.global.total = slideCount;

$('.slide').css('width', slideWindowWidth + 'px');
$('#slides-list').css('width', totalSlidesWidth + 'px');

$('#left').click(function () {
resetAutoSlide();
performSlide('back');
});

$('#right').click(function () {
resetAutoSlide();
performSlide('forward');
});

});

function performSlide(direction) {
if (direction == 'back') {
var nextSlideId = $.global.item - 1;
}
if (direction == 'forward') {
var nextSlideId = $.global.item + 1;
}

if (nextSlideId == -1) {

moveCss($.global.total - 1);
} else if (nextSlideId == $.global.total) {

moveCss(0);
} else {

moveCss(nextSlideId);
}
}

function moveCss(nextSlideId) {
var slideWindowWidth = $('#slide-window').width();
var margin = slideWindowWidth * nextSlideId;

$('#slides-list').css('transform', 'translate3d(-' + margin + 'px,0px,0px)');

$.global.item = nextSlideId;
}


var autoSlide = parseInt("6000", 10);
var autoSlideInterval;
function resetAutoSlide(){
if(autoSlide) {
if(autoSlideInterval) {
clearInterval(autoSlideInterval);
}
autoSlideInterval = setInterval(function(){
performSlide('forward');
}, autoSlide)
}
}
resetAutoSlide();
});
</script>


</div>
</article>










</main>

<footer class="footer">
Expand Down
9 changes: 9 additions & 0 deletions public/legacy/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<html>
<head>
<meta http-equiv="refresh" content="0; URL='/http://hao-ai-lab.github.io/home/'" />
<title>Redirecting...</title>
</head>
<body>
<p>If you are not directed to the home page, <a href="/home/">click here</a> to continue.</p>
</body>
</html>
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<meta http-equiv="refresh" content="0; URL='/home/'" />
<meta http-equiv="refresh" content="0; URL='/http://hao-ai-lab.github.io/home/'" />
<title>Redirecting...</title>
</head>
<body>
Expand Down

0 comments on commit 0cac4fe

Please sign in to comment.