Skip to content

Commit 8c6b7d4

Browse files
committed
블로그 메뉴 변경
1 parent 2953bf6 commit 8c6b7d4

11 files changed

+24
-12
lines changed

404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 저런! 잘못 오셨습니다!
2+
title: 저런! 잘못 오셨습니다! | PyTorchKR
33
id: 404
44
permalink: /404.html
55
layout: general

_layouts/blog.html

+7-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<h1 class="blog-index-title">
2121
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
2222
</h1>
23-
<p class="featured-blog-preview">{{ post.excerpt | strip_html | truncate: 150 }}</p>
23+
<p class="featured-blog-preview">{{ post.excerpt | strip_html | escape | truncate: 150 }}</p>
2424

2525
<a href="{{ site.baseurl }}{{ post.url }}" class="btn btn-lg with-right-arrow">
2626
더 읽기
@@ -35,14 +35,18 @@ <h1 class="blog-index-title">
3535
<div class="row blog-vertical">
3636

3737
{% for post in posts %}
38+
{% if forloop.first %}
39+
{% continue %}
40+
{% endif %}
3841
<div class="vertical-blog-container">
3942
<div class="col-md-4">
4043
<p class="blog-date">{{ post.date | date: '%B %d, %Y' }}</p>
4144
<h4>
4245
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
4346
</h4>
44-
<p>{{ post.excerpt | remove: '<p>' | remove: '</p>' | truncate: 500}}</p>
45-
<img src="{{ post.image }}" class="img-fluid">
47+
<!-- <p>{{ post.excerpt | remove: '<h1>' | remove: '</h1>' | remove: '<img>' | remove: '<p>' | remove: '</p>' | truncate: 500}}</p> -->
48+
<p>{{ post.excerpt | strip_html | strip | truncate: 250 | escape }}</p>
49+
<!-- <img src="{{ post.image }}" class="img-fluid"> -->
4650
</div>
4751
<a href="{{ site.baseurl }}{{ post.url }}" class="btn btn-lg with-right-arrow">
4852
더 읽기

_layouts/blog_detail.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ <h4 class="blog-subtitle">{{ page.org_title }}</h4>
4646
{% endif %}
4747
{{ content }}
4848
<hr noshade />
49-
<p class="translation-description">
50-
궁금하시거나 나누고 싶은 이야기가 있으신가요? <a href="{{ site.external_urls.site_community }}">한국어 커뮤니티에 참여</a>해보세요!
49+
<p class="translation-description ad-discuss">
50+
{% if page.discuss_id %}이 주제와 관련하여 {% endif %} 더 궁금하시거나 나누고 싶은 이야기가 있으신가요? <a href="{{ site.external_urls.site_community }}{% if page.discuss_id %}{{ page.discuss_id | prepend: '/t/' }}{% endif %}">파이토치 한국어 커뮤니티에 참여</a>해주세요!
5151
</p>
5252
</article>
5353
</div>

_posts/2023-04-14-accelerated-generative-diffusion-models.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ org_title: Accelerated Generative Diffusion Models with PyTorch 2
55
author: Grigory Sizov, Michael Gschwind, Hamid Shojanazeri, Driss Guessous, Daniel Haziza, Christian Puhrsch
66
category: ["pytorch.org", "translation"]
77
org_link: https://pytorch.org/blog/accelerated-generative-diffusion-models/
8+
discuss_id: 1401
89
---
910

1011
**요약**: PyTorch 2.0 nightly 버전은 새로운 `torch.compile()` 컴파일러를 사용하여 생성적 디퓨전 모델의 성능을 즉시 개선하고 PyTorch 2와 통합된 멀티헤드 어텐션의 최적화된 구현을 제공합니다.

_posts/2023-04-19-accelerating-large-language-models.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ org_title: Accelerating Large Language Models with Accelerated Transformers
55
author: Lucas Pasqualin, Driss Guessous, Christian Puhrsch, Bertrand Maher, Michael Gschwind
66
category: ["pytorch.org", "translation"]
77
org_link: https://pytorch.org/blog/announcing-docathon/
8+
discuss_id: 1417
89
---
910

1011
**요약**: 안드레이 카파시(Andrej Karpathy)가 GPT 모델을 컴팩트한 오픈소스로 구현한 [nanoGPT](https://github.com/karpathy/nanoGPT)를 예제로, 가속화된 파이토치 2.0 트랜스포머와 새로 도입된 `torch.compile()` 메서드를 사용하여 대규모 언어 모델을 가속하는 방법을 보여줍니다. 가속화된 PT2 트랜스포머와 함께 도입된 새로운 [스케일드 닷 프로덕트 어텐션 연산자(scaled dot product attention operator)](https://pytorch.org/docs/master/generated/torch.nn.functional.scaled_dot_product_attention.html)를 사용하여 플래시-어텐션(flash_attention) 커스텀 커널을 선택하고 배치당 훈련 시간을 ~143ms/배치 기준에서 ~113ms/배치로 단축(Nvidia A100 GPU로 측정)했습니다. 또한 SDPA 연산자를 사용한 향상된 구현으로 수치 안정성이 향상되었습니다. 마지막으로, 플래시 주의와 결합된 패딩 입력을 사용하여 추가 최적화를 달성하면 배치당 ~87ms로 개선됩니다.

_sass/blog.scss

+6
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@
250250
}
251251

252252
p.featured-blog-preview {
253+
width: 65%;
254+
min-width: 640px;
255+
max-width: 1280px;
253256
margin-bottom: rem(12px);
254257
}
255258

@@ -338,6 +341,9 @@
338341
font-style: italic;
339342
font-size: rem(16px);
340343
}
344+
.ad-discuss {
345+
font-size: 1.3rem;
346+
}
341347
ul {
342348
padding-left: 1.25rem;
343349
li {

about.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default
3-
title: 소개
3+
title: 파이토치 한국 사용자 모임 소개 | PyTorchKR
44
permalink: about/
55
background-class: about-background
66
body-class: features

assets/vendor/jquery.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

blog.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: blog
3-
title: 블로그
3+
title: 블로그 글 목록 | PyTorchKR
44
permalink: blog/
55
body-class: blog
66
redirect_from: "/blog/categories/"

contributors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default
3-
title: 기여자 소개
3+
title: 기여하신 분들 소개 | PyTorchKR
44
permalink: contributors/
55
background-class: coc-background
66
body-class: features

resources.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default
3-
title: Resources
3+
title: 리소스(Resources) | PyTorchKR
44
permalink: resources/
55
body-class: resources
66
redirect_from: /support/

0 commit comments

Comments
 (0)