<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iwiwi</author_name>
  <author_url>https://blog.hatena.ne.jp/iwiwi/</author_url>
  <blog_title>iwiwi 備忘録</blog_title>
  <blog_url>https://iwiwi.hatenadiary.jp/</blog_url>
  <categories>
    <anon>LLM</anon>
  </categories>
  <description>arxiv.org host memoryやNVMeを使ったout-of-coreの実装を真面目にクソ頑張ることで、より大きなtransformerを高い実行効率を維持しながら学習できるようにする話。 手法 基本的には各種データ（param, optimizer stats, activationなど）のアクセスパターンを考える。次に、それに応じて要求される読み込みbandwidthを計算する。実行効率を維持したいので、「計算とoverlapさせられるかどうか」で要求bandwidthが決まる。あとは、それに応じてデータの配置をする。 これを気合を入れて実装する。 感想 何かびっくりするような…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiwiwi.hatenadiary.jp%2Fentry%2F2023%2F03%2F25%2F000000&quot; title=&quot;ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learning - iwiwi 備忘録&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-25 00:00:00</published>
  <title>ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learning</title>
  <type>rich</type>
  <url>https://iwiwi.hatenadiary.jp/entry/2023/03/25/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
