Skip to content

Commit

Permalink
Deploying to gh-pages from @ 84355fa 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
junsukha committed Jan 31, 2024
1 parent d4dc087 commit 3b16e42
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion assets/jupyter/blog.ipynb.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/2021/diagrams/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion blog/2024/learning/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
<span class="c1">// invoking a static member function</span>
<span class="c1">// GfG::printMsg();</span>
<span class="p">}</span>
</code></pre></div></div> <h1 id="pytorch">Pytorch</h1> <h2 id="torch-includes-cuda-toolkit">torch includes cuda toolkit</h2> <p>pytorch binary includes cuda toolkit. But it’s not a bad idea to match local cuda toolkit and torch cuda toolkit.</p> <p>keywords: pytorch binary, build from source</p> <hr> <h2 id="cuda-related-issue-while-running-a-model">CUDA related issue while running a model</h2> <p>First thing to try is different versions; different python, pytorch, cuda versions.</p> <hr> <h2 id="torch-20x-has-issue-with-cuda">torch 2.0.x has issue with cuda</h2> <p>Don’t use torch 2.0.x versions.</p> <hr> <h1 id="etc">ETC</h1> </div> </article> <br> <hr> <br> <ul class="list-disc pl-8"></ul> <h2 class="text-3xl font-semibold mb-4 mt-12">Enjoy Reading This Article?</h2> <p class="mb-2">Here are some more articles you might like to read next:</p> <li class="my-2"> <a class="text-pink-700 underline font-semibold hover:text-pink-800" href="/blog/2023/MLops/">MLops</a> </li> <li class="my-2"> <a class="text-pink-700 underline font-semibold hover:text-pink-800" href="/blog/2023/ssh/">access ssh localhost</a> </li> <li class="my-2"> <a class="text-pink-700 underline font-semibold hover:text-pink-800" href="/blog/2024/c++/">c++</a> </li> <li class="my-2"> <a class="text-pink-700 underline font-semibold hover:text-pink-800" href="/blog/2023/etc/">miscellaneous</a> </li> <li class="my-2"> <a class="text-pink-700 underline font-semibold hover:text-pink-800" href="/blog/2021/distill/">a distill-style blog post</a> </li> </div> </div> <footer class="fixed-bottom"> <div class="container mt-0"> © Copyright 2024 Jun Suk Ha . Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. Photos from <a href="https://unsplash.com" target="_blank" rel="external nofollow noopener">Unsplash</a>. Last updated: January 31, 2024. </div> </footer> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> <script src="/assets/js/bootstrap.bundle.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/js/mdb.min.js" integrity="sha256-NdbiivsvWt7VYCt6hYNT3h/th9vSTL4EDWeGs5SN3DA=" crossorigin="anonymous"></script> <script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/masonry.pkgd.min.js" integrity="sha256-Nn1q/fx0H7SNLZMQ5Hw5JLaTRZp0yILA/FRexe19VdI=" crossorigin="anonymous"></script> <script defer src="https://cdn.jsdelivr.net/npm/imagesloaded@4/imagesloaded.pkgd.min.js"></script> <script defer src="/assets/js/masonry.js" type="text/javascript"></script> <script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/medium-zoom.min.js" integrity="sha256-7PhEpEWEW0XXQ0k6kQrPKwuoIomz8R8IYyuU1Qew4P8=" crossorigin="anonymous"></script> <script defer src="/assets/js/zoom.js?7b30caa5023af4af8408a472dc4e1ebb"></script> <script defer src="https://unpkg.com/[email protected]/dist/bootstrap-table.min.js"></script> <script src="/assets/js/no_defer.js?d633890033921b33e0ceb13d22340a9c"></script> <script defer src="/assets/js/common.js?acdb9690d7641b2f8d40529018c71a01"></script> <script defer src="/assets/js/copy_code.js?07b8786bab9b4abe90d10e61f7d12ff7" type="text/javascript"></script> <script async src="https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js"></script> <script async src="https://badge.dimensions.ai/badge.js"></script> <script type="text/javascript">window.MathJax={tex:{tags:"ams"}};</script> <script defer type="text/javascript" id="MathJax-script" src="https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.js"></script> <script defer src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> <script type="text/javascript">function progressBarSetup(){"max"in document.createElement("progress")?(initializeProgressElement(),$(document).on("scroll",function(){progressBar.attr({value:getCurrentScrollPosition()})}),$(window).on("resize",initializeProgressElement)):(resizeProgressBar(),$(document).on("scroll",resizeProgressBar),$(window).on("resize",resizeProgressBar))}function getCurrentScrollPosition(){return $(window).scrollTop()}function initializeProgressElement(){let e=$("#navbar").outerHeight(!0);$("body").css({"padding-top":e}),$("progress-container").css({"padding-top":e}),progressBar.css({top:e}),progressBar.attr({max:getDistanceToScroll(),value:getCurrentScrollPosition()})}function getDistanceToScroll(){return $(document).height()-$(window).height()}function resizeProgressBar(){progressBar.css({width:getWidthPercentage()+"%"})}function getWidthPercentage(){return getCurrentScrollPosition()/getDistanceToScroll()*100}const progressBar=$("#progress");window.onload=function(){setTimeout(progressBarSetup,50)};</script> </body> </html>
</code></pre></div></div> <h1 id="pytorch">Pytorch</h1> <h2 id="torch-includes-cuda-toolkit">torch includes cuda toolkit</h2> <p>pytorch binary includes cuda toolkit. But it’s not a bad idea to match local cuda toolkit and torch cuda toolkit.</p> <p>keywords: pytorch binary, build from source</p> <hr> <h2 id="cuda-related-issue-while-running-a-model">CUDA related issue while running a model</h2> <p>First thing to try is different versions; different python, pytorch, cuda versions.</p> <hr> <h2 id="torch-20x-has-issue-with-cuda">torch 2.0.x has issue with cuda</h2> <p>Don’t use torch 2.0.x versions.</p> <hr> <h1 id="etc">ETC</h1> <hr> </div> </article> <br> <hr> <br> <ul class="list-disc pl-8"></ul> <h2 class="text-3xl font-semibold mb-4 mt-12">Enjoy Reading This Article?</h2> <p class="mb-2">Here are some more articles you might like to read next:</p> <li class="my-2"> <a class="text-pink-700 underline font-semibold hover:text-pink-800" href="/blog/2023/MLops/">MLops</a> </li> <li class="my-2"> <a class="text-pink-700 underline font-semibold hover:text-pink-800" href="/blog/2023/ssh/">access ssh localhost</a> </li> <li class="my-2"> <a class="text-pink-700 underline font-semibold hover:text-pink-800" href="/blog/2024/c++/">c++</a> </li> <li class="my-2"> <a class="text-pink-700 underline font-semibold hover:text-pink-800" href="/blog/2023/etc/">miscellaneous</a> </li> <li class="my-2"> <a class="text-pink-700 underline font-semibold hover:text-pink-800" href="/blog/2021/distill/">a distill-style blog post</a> </li> </div> </div> <footer class="fixed-bottom"> <div class="container mt-0"> © Copyright 2024 Jun Suk Ha . Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. Photos from <a href="https://unsplash.com" target="_blank" rel="external nofollow noopener">Unsplash</a>. Last updated: January 31, 2024. </div> </footer> <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> <script src="/assets/js/bootstrap.bundle.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/js/mdb.min.js" integrity="sha256-NdbiivsvWt7VYCt6hYNT3h/th9vSTL4EDWeGs5SN3DA=" crossorigin="anonymous"></script> <script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/masonry.pkgd.min.js" integrity="sha256-Nn1q/fx0H7SNLZMQ5Hw5JLaTRZp0yILA/FRexe19VdI=" crossorigin="anonymous"></script> <script defer src="https://cdn.jsdelivr.net/npm/imagesloaded@4/imagesloaded.pkgd.min.js"></script> <script defer src="/assets/js/masonry.js" type="text/javascript"></script> <script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/medium-zoom.min.js" integrity="sha256-7PhEpEWEW0XXQ0k6kQrPKwuoIomz8R8IYyuU1Qew4P8=" crossorigin="anonymous"></script> <script defer src="/assets/js/zoom.js?7b30caa5023af4af8408a472dc4e1ebb"></script> <script defer src="https://unpkg.com/[email protected]/dist/bootstrap-table.min.js"></script> <script src="/assets/js/no_defer.js?d633890033921b33e0ceb13d22340a9c"></script> <script defer src="/assets/js/common.js?acdb9690d7641b2f8d40529018c71a01"></script> <script defer src="/assets/js/copy_code.js?07b8786bab9b4abe90d10e61f7d12ff7" type="text/javascript"></script> <script async src="https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js"></script> <script async src="https://badge.dimensions.ai/badge.js"></script> <script type="text/javascript">window.MathJax={tex:{tags:"ams"}};</script> <script defer type="text/javascript" id="MathJax-script" src="https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.js"></script> <script defer src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> <script type="text/javascript">function progressBarSetup(){"max"in document.createElement("progress")?(initializeProgressElement(),$(document).on("scroll",function(){progressBar.attr({value:getCurrentScrollPosition()})}),$(window).on("resize",initializeProgressElement)):(resizeProgressBar(),$(document).on("scroll",resizeProgressBar),$(window).on("resize",resizeProgressBar))}function getCurrentScrollPosition(){return $(window).scrollTop()}function initializeProgressElement(){let e=$("#navbar").outerHeight(!0);$("body").css({"padding-top":e}),$("progress-container").css({"padding-top":e}),progressBar.css({top:e}),progressBar.attr({max:getDistanceToScroll(),value:getCurrentScrollPosition()})}function getDistanceToScroll(){return $(document).height()-$(window).height()}function resizeProgressBar(){progressBar.css({width:getWidthPercentage()+"%"})}function getWidthPercentage(){return getCurrentScrollPosition()/getDistanceToScroll()*100}const progressBar=$("#progress");window.onload=function(){setTimeout(progressBarSetup,50)};</script> </body> </html>
4 changes: 2 additions & 2 deletions feed.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="https://junsukha.github.io/feed.xml" rel="self" type="application/atom+xml"/><link href="https://junsukha.github.io/" rel="alternate" type="text/html" hreflang="en"/><updated>2024-01-31T21:06:38+00:00</updated><id>https://junsukha.github.io/feed.xml</id><title type="html">blank</title><subtitle>A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design. </subtitle><entry><title type="html">c++</title><link href="https://junsukha.github.io/blog/2024/c++/" rel="alternate" type="text/html" title="c++"/><published>2024-01-19T16:00:00+00:00</published><updated>2024-01-19T16:00:00+00:00</updated><id>https://junsukha.github.io/blog/2024/c++</id><content type="html" xml:base="https://junsukha.github.io/blog/2024/c++/"><![CDATA[<div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">#include</span> <span class="cpf">&lt;iostream&gt;</span><span class="cp">
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="https://junsukha.github.io/feed.xml" rel="self" type="application/atom+xml"/><link href="https://junsukha.github.io/" rel="alternate" type="text/html" hreflang="en"/><updated>2024-01-31T22:45:15+00:00</updated><id>https://junsukha.github.io/feed.xml</id><title type="html">blank</title><subtitle>A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design. </subtitle><entry><title type="html">c++</title><link href="https://junsukha.github.io/blog/2024/c++/" rel="alternate" type="text/html" title="c++"/><published>2024-01-19T16:00:00+00:00</published><updated>2024-01-19T16:00:00+00:00</updated><id>https://junsukha.github.io/blog/2024/c++</id><content type="html" xml:base="https://junsukha.github.io/blog/2024/c++/"><![CDATA[<div class="language-c++ highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="cp">#include</span> <span class="cpf">&lt;iostream&gt;</span><span class="cp">
</span><span class="k">using</span> <span class="k">namespace</span> <span class="n">std</span><span class="p">;</span>

<span class="k">class</span> <span class="nc">GfG</span> <span class="p">{</span>
Expand Down Expand Up @@ -56,7 +56,7 @@ docker rm "CONTAINER ID"
<span class="c1">// invoking a static member function</span>
<span class="c1">// GfG::printMsg();</span>
<span class="p">}</span>
</code></pre></div></div> <h1 id="pytorch">Pytorch</h1> <h2 id="torch-includes-cuda-toolkit">torch includes cuda toolkit</h2> <p>pytorch binary includes cuda toolkit. But it’s not a bad idea to match local cuda toolkit and torch cuda toolkit.</p> <p>keywords: pytorch binary, build from source</p> <hr/> <h2 id="cuda-related-issue-while-running-a-model">CUDA related issue while running a model</h2> <p>First thing to try is different versions; different python, pytorch, cuda versions.</p> <hr/> <h2 id="torch-20x-has-issue-with-cuda">torch 2.0.x has issue with cuda</h2> <p>Don’t use torch 2.0.x versions.</p> <hr/> <h1 id="etc">ETC</h1>]]></content><author><name></name></author><category term="learning"/><summary type="html"><![CDATA[what I learned from debugging]]></summary></entry><entry><title type="html">Ppo</title><link href="https://junsukha.github.io/blog/2024/ppo/" rel="alternate" type="text/html" title="Ppo"/><published>2024-01-15T00:00:00+00:00</published><updated>2024-01-15T00:00:00+00:00</updated><id>https://junsukha.github.io/blog/2024/ppo</id><content type="html" xml:base="https://junsukha.github.io/blog/2024/ppo/"><![CDATA[]]></content><author><name></name></author><summary type="html"><![CDATA[]]></summary></entry><entry><title type="html">miscellaneous</title><link href="https://junsukha.github.io/blog/2023/etc/" rel="alternate" type="text/html" title="miscellaneous"/><published>2023-12-22T21:30:00+00:00</published><updated>2023-12-22T21:30:00+00:00</updated><id>https://junsukha.github.io/blog/2023/etc</id><content type="html" xml:base="https://junsukha.github.io/blog/2023/etc/"><![CDATA[<h2 id="setting-zsh-as-default-terminal-in-ssh-remote-linux-vscode-terminal">Setting zsh as default terminal in SSH remote linux vscode terminal</h2> <p><a href="https://stackoverflow.com/questions/55978281/how-do-i-configure-a-different-shell-for-a-vs-code-ssh-remote">link</a></p> <p>Add</p> <div class="language-zsh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="o">{</span>
</code></pre></div></div> <h1 id="pytorch">Pytorch</h1> <h2 id="torch-includes-cuda-toolkit">torch includes cuda toolkit</h2> <p>pytorch binary includes cuda toolkit. But it’s not a bad idea to match local cuda toolkit and torch cuda toolkit.</p> <p>keywords: pytorch binary, build from source</p> <hr/> <h2 id="cuda-related-issue-while-running-a-model">CUDA related issue while running a model</h2> <p>First thing to try is different versions; different python, pytorch, cuda versions.</p> <hr/> <h2 id="torch-20x-has-issue-with-cuda">torch 2.0.x has issue with cuda</h2> <p>Don’t use torch 2.0.x versions.</p> <hr/> <h1 id="etc">ETC</h1> <hr/>]]></content><author><name></name></author><category term="learning"/><summary type="html"><![CDATA[what I learned from debugging]]></summary></entry><entry><title type="html">Ppo</title><link href="https://junsukha.github.io/blog/2024/ppo/" rel="alternate" type="text/html" title="Ppo"/><published>2024-01-15T00:00:00+00:00</published><updated>2024-01-15T00:00:00+00:00</updated><id>https://junsukha.github.io/blog/2024/ppo</id><content type="html" xml:base="https://junsukha.github.io/blog/2024/ppo/"><![CDATA[]]></content><author><name></name></author><summary type="html"><![CDATA[]]></summary></entry><entry><title type="html">miscellaneous</title><link href="https://junsukha.github.io/blog/2023/etc/" rel="alternate" type="text/html" title="miscellaneous"/><published>2023-12-22T21:30:00+00:00</published><updated>2023-12-22T21:30:00+00:00</updated><id>https://junsukha.github.io/blog/2023/etc</id><content type="html" xml:base="https://junsukha.github.io/blog/2023/etc/"><![CDATA[<h2 id="setting-zsh-as-default-terminal-in-ssh-remote-linux-vscode-terminal">Setting zsh as default terminal in SSH remote linux vscode terminal</h2> <p><a href="https://stackoverflow.com/questions/55978281/how-do-i-configure-a-different-shell-for-a-vs-code-ssh-remote">link</a></p> <p>Add</p> <div class="language-zsh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="o">{</span>
<span class="s2">"terminal.integrated.defaultProfile.linux"</span>: <span class="s2">"zsh"</span>,
<span class="o">}</span>
</code></pre></div></div> <p>to <code class="language-plaintext highlighter-rouge">Preferences: Open Remote Settings (SSH: hotcake)</code> using <code class="language-plaintext highlighter-rouge">cmd + shift + p</code></p> <p>If vscode doesn’t recognize <code class="language-plaintext highlighter-rouge">zsh</code>, install it first.</p> <hr/> <h2 id="git-branch-output-issue">git branch output issue</h2> <p><a href="https://stackoverflow.com/questions/68413744/my-integrated-vscode-terminal-zsh-opens-git-cli-when-i-type-in-git-branch">link</a></p> <p><code class="language-plaintext highlighter-rouge">git config --global pager.branch false</code></p> <hr/> <h2 id="jupyter-notebook-permission-denied-docker">jupyter notebook, permission denied, docker</h2> <p><a href="https://github.com/jupyter/docker-stacks/issues/1187">link</a></p> <hr/> <h2 id="clone-a-repo-from-someone-elses-github-and-push-it-to-a-repo-on-my-github">Clone a repo from someone else’s Github and push it to a repo on my Github</h2> <p><a href="https://stackoverflow.com/questions/18200248/cloning-a-repo-from-someone-elses-github-and-pushing-it-to-a-repo-on-my-github/44076938#44076938">link1</a></p> <p><a href="https://www.studytonight.com/git-guide/git-origin-master">link2</a></p> <ul> <li> <p><code class="language-plaintext highlighter-rouge">git remote add origin &lt;remote repo address&gt;</code> : origin이란 이름의 <code class="language-plaintext highlighter-rouge">&lt;remote repo address&gt;</code> 나타내는 remote을 새로 만듬<br/> <code class="language-plaintext highlighter-rouge">error: remote origin already exists</code> : git clone 하면 remote이름이 default로 origin이라서 이미 있는듯</p> </li> <li> <p><code class="language-plaintext highlighter-rouge">git remote -v</code><br/> <code class="language-plaintext highlighter-rouge">origin &lt;...&gt; (fetch)</code><br/> <code class="language-plaintext highlighter-rouge">origin &lt;...&gt; (push)</code></p> </li> <li><code class="language-plaintext highlighter-rouge">git remote rename origin upstream</code> : 기존의 origin을 upstream으로 이름 바꿈</li> <li><code class="language-plaintext highlighter-rouge">git remote add origin &lt;repo on github&gt;</code> : 여기의 origin은 github에서 새로만든 repo를 나타냄 <code class="language-plaintext highlighter-rouge">&lt;repo on github&gt;</code> 은 내 github에서 new repo 만든거</li> </ul> <p>(위 두 단계 기존의 origin을 upstream 으로 바꾸고 다시 새로운 origin을 내 new repo on my Github으로 바꾸는 거임.<br/> 이 방법 대신에 <br/> <code class="language-plaintext highlighter-rouge">git remote set-url orign &lt;repo on my Github&gt;</code> 을 써서 upstream을 만드는 대신에 origin이 가리키고 있는 remote repo 주소를 바꿈)</p> <div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>git remote
Expand Down
Loading

0 comments on commit 3b16e42

Please sign in to comment.