<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsuhiro-me</author_name>
  <author_url>https://blog.hatena.ne.jp/atsuhiro-me/</author_url>
  <blog_title>みーのぺーじ</blog_title>
  <blog_url>https://pc.atsuhiro-me.net/</blog_url>
  <categories>
    <anon>CUDA</anon>
    <anon>PyTorch</anon>
    <anon>Python</anon>
  </categories>
  <description>PyTorch の学習に時間がかかるとイライラするので，利用可能な計算資源をなるべく効率的に使用するための工夫をまとめました． 以下は インテル Core i5 12400 と GeForce RTX 4080 を搭載したパソコンに Ubuntu をインストールした環境で検証しています． GPU を使用していることを確認する まず，nvidia-smi コマンドが正常に実行できるか確認します．これで GPU 使用率が取得できない場合は，環境がうまく構築できていません． PyTorch を実行中に GPU 使用率を確認します． 0% ならば，torch.cuda.is_available() が…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2023%2F12%2F18%2F003358&quot; title=&quot;PyTorch の学習速度をなるべく速くする - みーのぺーじ&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-12-18 00:33:58</published>
  <title>PyTorch の学習速度をなるべく速くする</title>
  <type>rich</type>
  <url>https://pc.atsuhiro-me.net/entry/2023/12/18/003358</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
