<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>봄다온의 블로그</title>
    <link>https://spring0691.tistory.com/</link>
    <description>봄다온의 블로그 입니다.</description>
    <language>ko</language>
    <pubDate>Tue, 12 May 2026 04:39:51 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>봄다온</managingEditor>
    <item>
      <title>nvidia-container-toolkit, gpu 수동할당</title>
      <link>https://spring0691.tistory.com/127</link>
      <description>&lt;pre&gt;&lt;code&gt;# 0번 gpu
--gpus=&amp;#39;&amp;quot;device=0&amp;quot;&amp;#39;

# 1번 gpu
--gpus=&amp;#39;&amp;quot;device=1&amp;quot;&amp;#39;&lt;/code&gt;&lt;/pre&gt;</description>
      <category>Backend/도커</category>
      <category>gpu할당</category>
      <author>봄다온</author>
      <guid isPermaLink="true">https://spring0691.tistory.com/127</guid>
      <comments>https://spring0691.tistory.com/127#entry127comment</comments>
      <pubDate>Mon, 7 Jul 2025 16:32:22 +0900</pubDate>
    </item>
    <item>
      <title>cp대신 rsync로 파일이동</title>
      <link>https://spring0691.tistory.com/126</link>
      <description>&lt;pre&gt;&lt;code&gt;# cp명령어로 이동할경우
cp /source/path /destination/path

# rsync로 이동(프로그래스바 제공)
rsync -ah --progress /source/path/ /destination/path/&lt;/code&gt;&lt;/pre&gt;</description>
      <category>잡다한것들</category>
      <category>rsync</category>
      <author>봄다온</author>
      <guid isPermaLink="true">https://spring0691.tistory.com/126</guid>
      <comments>https://spring0691.tistory.com/126#entry126comment</comments>
      <pubDate>Fri, 4 Jul 2025 14:09:16 +0900</pubDate>
    </item>
    <item>
      <title>특정 파일 필터링 후 이동</title>
      <link>https://spring0691.tistory.com/125</link>
      <description>&lt;pre id=&quot;code_1750819063970&quot; class=&quot;bash&quot; data-ke-language=&quot;bash&quot; data-ke-type=&quot;codeblock&quot;&gt;&lt;code&gt;find /path/to/source -type f -name '3*.jpg' -print0 | xargs -0 -I{} mv &quot;{}&quot; /path/to/dest/&lt;/code&gt;&lt;/pre&gt;</description>
      <category>잡다한것들</category>
      <author>봄다온</author>
      <guid isPermaLink="true">https://spring0691.tistory.com/125</guid>
      <comments>https://spring0691.tistory.com/125#entry125comment</comments>
      <pubDate>Wed, 25 Jun 2025 11:37:46 +0900</pubDate>
    </item>
    <item>
      <title>랜덤하게 파일 이동, 복사</title>
      <link>https://spring0691.tistory.com/124</link>
      <description>&lt;pre&gt;&lt;code&gt;#이동
cd /path/to/a &amp;amp;&amp;amp; \
find . -maxdepth 1 -type f | shuf -n 700 | while read file; do mv &amp;quot;$file&amp;quot; /path/to/b/; done

#복사
cd /path/to/a &amp;amp;&amp;amp; \
find . -maxdepth 1 -type f | shuf -n 700 | rsync --files-from=- -av ./ /path/to/b/&lt;/code&gt;&lt;/pre&gt;</description>
      <category>잡다한것들</category>
      <author>봄다온</author>
      <guid isPermaLink="true">https://spring0691.tistory.com/124</guid>
      <comments>https://spring0691.tistory.com/124#entry124comment</comments>
      <pubDate>Wed, 25 Jun 2025 11:25:21 +0900</pubDate>
    </item>
    <item>
      <title>ssh-key with ed25519 + passphrase</title>
      <link>https://spring0691.tistory.com/123</link>
      <description>&lt;p&gt;ed25519는 현대적인 공개키 암호 알고리즘으로, SSH 키 생성 시 사용하는 키 타입 중 하나 +  보안성, 성능, 키 크기 측면에서 기존 RSA나 DSA보다 우수&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ssh-keygen -t ed25519 -C &amp;quot;your_email@example.com&amp;quot;

이후 질문중
Enter passphrase (empty for no passphrase): 
나오면 암호 입력 이후 한번 더 입력&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;이렇게 생성하게 되면 ssh 접속시 authorized_keys에 통신대상의 공개키를 등록해도 ssh로 나와 연결할때마다 상대는 나의 ssh-key passphrase를 알아야 접속가능하다.&lt;/p&gt;</description>
      <category>설치및설정</category>
      <category>ed25519</category>
      <category>SSH</category>
      <author>봄다온</author>
      <guid isPermaLink="true">https://spring0691.tistory.com/123</guid>
      <comments>https://spring0691.tistory.com/123#entry123comment</comments>
      <pubDate>Tue, 24 Jun 2025 14:38:46 +0900</pubDate>
    </item>
    <item>
      <title>onnxruntime gpu 못 찾는 문제(cuda 11.x)</title>
      <link>https://spring0691.tistory.com/122</link>
      <description>&lt;p data-ke-size=&quot;size16&quot;&gt;우분투 22.04, cuda 11.8 환경에서 onnxruntime-gpu 설치 후 추론하려하는데 계속 gpu를 못 잡고 cpu로 도는 문제 발생&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;chatgpt에 아무리 물어봐도 답은 나오지 않아서 결국 직접 공식문서를 찾아봤다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;답은 설치 자체를 아예 다르게 했어야 했다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;다음은 onnx runtime 공식문서의 답변이다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;a href=&quot;https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html&quot; target=&quot;_blank&quot; rel=&quot;noopener&amp;nbsp;noreferrer&quot;&gt;https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html&lt;/a&gt;&lt;/p&gt;
&lt;figure id=&quot;og_1749520019050&quot; contenteditable=&quot;false&quot; data-ke-type=&quot;opengraph&quot; data-ke-align=&quot;alignCenter&quot; data-og-type=&quot;website&quot; data-og-title=&quot;NVIDIA - CUDA&quot; data-og-description=&quot;Instructions to execute ONNX Runtime applications with CUDA&quot; data-og-host=&quot;onnxruntime.ai&quot; data-og-source-url=&quot;https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html&quot; data-og-url=&quot;https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html&quot; data-og-image=&quot;&quot;&gt;&lt;a href=&quot;https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; data-source-url=&quot;https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html&quot;&gt;
&lt;div class=&quot;og-image&quot; style=&quot;background-image: url();&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;og-text&quot;&gt;
&lt;p class=&quot;og-title&quot; data-ke-size=&quot;size16&quot;&gt;NVIDIA - CUDA&lt;/p&gt;
&lt;p class=&quot;og-desc&quot; data-ke-size=&quot;size16&quot;&gt;Instructions to execute ONNX Runtime applications with CUDA&lt;/p&gt;
&lt;p class=&quot;og-host&quot; data-ke-size=&quot;size16&quot;&gt;onnxruntime.ai&lt;/p&gt;
&lt;/div&gt;
&lt;/a&gt;&lt;/figure&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;a href=&quot;https://onnxruntime.ai/docs/install/&quot; target=&quot;_blank&quot; rel=&quot;noopener&amp;nbsp;noreferrer&quot;&gt;https://onnxruntime.ai/docs/install/&lt;/a&gt;&lt;/p&gt;
&lt;figure id=&quot;og_1749520026953&quot; contenteditable=&quot;false&quot; data-ke-type=&quot;opengraph&quot; data-ke-align=&quot;alignCenter&quot; data-og-type=&quot;website&quot; data-og-title=&quot;Install ONNX Runtime&quot; data-og-description=&quot;Instructions to install ONNX Runtime on your target platform in your environment&quot; data-og-host=&quot;onnxruntime.ai&quot; data-og-source-url=&quot;https://onnxruntime.ai/docs/install/&quot; data-og-url=&quot;https://onnxruntime.ai/docs/install/&quot; data-og-image=&quot;&quot;&gt;&lt;a href=&quot;https://onnxruntime.ai/docs/install/&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot; data-source-url=&quot;https://onnxruntime.ai/docs/install/&quot;&gt;
&lt;div class=&quot;og-image&quot; style=&quot;background-image: url();&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;og-text&quot;&gt;
&lt;p class=&quot;og-title&quot; data-ke-size=&quot;size16&quot;&gt;Install ONNX Runtime&lt;/p&gt;
&lt;p class=&quot;og-desc&quot; data-ke-size=&quot;size16&quot;&gt;Instructions to install ONNX Runtime on your target platform in your environment&lt;/p&gt;
&lt;p class=&quot;og-host&quot; data-ke-size=&quot;size16&quot;&gt;onnxruntime.ai&lt;/p&gt;
&lt;/div&gt;
&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;Screenshot from 2025-06-10 10-47-31.png&quot; data-origin-width=&quot;1484&quot; data-origin-height=&quot;1858&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/cBvUcm/btsOuFF2Xhm/VxS7mIG2GP7HzsqCvkdCYK/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/cBvUcm/btsOuFF2Xhm/VxS7mIG2GP7HzsqCvkdCYK/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/cBvUcm/btsOuFF2Xhm/VxS7mIG2GP7HzsqCvkdCYK/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcBvUcm%2FbtsOuFF2Xhm%2FVxS7mIG2GP7HzsqCvkdCYK%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;1484&quot; height=&quot;1858&quot; data-filename=&quot;Screenshot from 2025-06-10 10-47-31.png&quot; data-origin-width=&quot;1484&quot; data-origin-height=&quot;1858&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;figure class=&quot;imageblock alignCenter&quot; data-ke-mobileStyle=&quot;widthOrigin&quot; data-filename=&quot;Screenshot from 2025-06-10 10-47-50.png&quot; data-origin-width=&quot;1531&quot; data-origin-height=&quot;1174&quot;&gt;&lt;span data-url=&quot;https://blog.kakaocdn.net/dn/w1eT2/btsOutTsq0G/R3W6xFKrvbI7F0yQ56Aae1/img.png&quot; data-phocus=&quot;https://blog.kakaocdn.net/dn/w1eT2/btsOutTsq0G/R3W6xFKrvbI7F0yQ56Aae1/img.png&quot;&gt;&lt;img src=&quot;https://blog.kakaocdn.net/dn/w1eT2/btsOutTsq0G/R3W6xFKrvbI7F0yQ56Aae1/img.png&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fw1eT2%2FbtsOutTsq0G%2FR3W6xFKrvbI7F0yQ56Aae1%2Fimg.png&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot; loading=&quot;lazy&quot; width=&quot;1531&quot; height=&quot;1174&quot; data-filename=&quot;Screenshot from 2025-06-10 10-47-50.png&quot; data-origin-width=&quot;1531&quot; data-origin-height=&quot;1174&quot;/&gt;&lt;/span&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;위에 읽어보면 Not available in PYPI라고 나와있다. &lt;br /&gt;즉 pip install onnxruntime-gpu==1.xx.x 아무리 해도 gpu못잡고, 추가로 Pytorch 버전도 2.3.1까지만 지원한다.&lt;br /&gt;&lt;br /&gt;그동안 로컬에 cuda, cudnn설치 및 버전 맞추기 귀찮아서 docker images로 편하게 사용해왔는데&lt;br /&gt;pytorch 2.7.1-cuda11.8-cudnn9-devel 이미지로 아무리 onnxruntime 버전 맞추려해도 안되는게 당연했다.&lt;br /&gt;&lt;br /&gt;pytorch 이미지를 2.3.1-cuda11.8-cudnn8-devel로 변경 후 위에 나온&amp;nbsp;&lt;/p&gt;
&lt;pre id=&quot;code_1749520520903&quot; class=&quot;bash&quot; data-ke-language=&quot;bash&quot; data-ke-type=&quot;codeblock&quot;&gt;&lt;code&gt;pip install flatbuffers numpy packaging protobuf sympy
pip install onnxruntime-gpu --index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-11/pypi/simple/&lt;/code&gt;&lt;/pre&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;로 설치하니까 드디어 gpu를 찾고 cpu와 비교하여 눈에 띄게 빠른 속도로 추론시작했다.&lt;/p&gt;
&lt;p data-ke-size=&quot;size16&quot;&gt;&lt;s&gt;아니 이럴꺼면 그냥 PYPI onnxruntime-gpu의 새로운 버전에 등록해주지 굳이 왜... 이런 고통을 줄까...&lt;/s&gt;&lt;/p&gt;</description>
      <category>에러모음</category>
      <category>onnxruntime gpu</category>
      <author>봄다온</author>
      <guid isPermaLink="true">https://spring0691.tistory.com/122</guid>
      <comments>https://spring0691.tistory.com/122#entry122comment</comments>
      <pubDate>Tue, 10 Jun 2025 10:57:06 +0900</pubDate>
    </item>
    <item>
      <title>캐시 삭제 명령어 모음</title>
      <link>https://spring0691.tistory.com/121</link>
      <description>&lt;pre class=&quot;bash&quot; data-ke-language=&quot;bash&quot;&gt;&lt;code&gt;# 빌드 캐시 삭제
docker builder prune

# 볼륨 캐시 삭제
docker volume prune

# 네트워크 캐시 삭제
docker network prune

# None이미지 삭제
docker image prune -f&lt;/code&gt;&lt;/pre&gt;</description>
      <category>Backend/도커</category>
      <category>도커 캐시 삭제</category>
      <author>봄다온</author>
      <guid isPermaLink="true">https://spring0691.tistory.com/121</guid>
      <comments>https://spring0691.tistory.com/121#entry121comment</comments>
      <pubDate>Tue, 10 Jun 2025 08:34:08 +0900</pubDate>
    </item>
    <item>
      <title>Docker 컨테이너 생성시 공유메모리 늘리기</title>
      <link>https://spring0691.tistory.com/120</link>
      <description>&lt;pre class=&quot;bash&quot; data-ke-language=&quot;bash&quot;&gt;&lt;code&gt;# 공유메모리량 확인
df -h /dev/shm

--shm-size=원하는만큼
docker run --shm-size=20g -it your_image&lt;/code&gt;&lt;/pre&gt;</description>
      <category>Backend/도커</category>
      <category>docker 공유메모리</category>
      <author>봄다온</author>
      <guid isPermaLink="true">https://spring0691.tistory.com/120</guid>
      <comments>https://spring0691.tistory.com/120#entry120comment</comments>
      <pubDate>Thu, 5 Jun 2025 09:57:01 +0900</pubDate>
    </item>
    <item>
      <title>우분투 부팅시 GUI &amp;lt;ㅡㅡ&amp;gt; CLI 변경 설정</title>
      <link>https://spring0691.tistory.com/118</link>
      <description>&lt;pre&gt;&lt;code&gt;GUI 설정
sudo systemctl set-default graphical.target
sudo reboot
CLI 설정
sudo systemctl set-default multi-user.target
sudo reboot&lt;/code&gt;&lt;/pre&gt;</description>
      <category>설치및설정</category>
      <category>우분투 cli</category>
      <category>우분투 gui</category>
      <author>봄다온</author>
      <guid isPermaLink="true">https://spring0691.tistory.com/118</guid>
      <comments>https://spring0691.tistory.com/118#entry118comment</comments>
      <pubDate>Sun, 25 May 2025 18:18:12 +0900</pubDate>
    </item>
    <item>
      <title>pylint : Module 'cv2' has no ~~~ member (no-member)</title>
      <link>https://spring0691.tistory.com/115</link>
      <description>&lt;p&gt;파이썬 프로젝트 작업을 하며 코드 통일성 및 정리를 위해 pylint를 사용중인데&lt;br&gt;cv2는 c 기반으로 빌드되어있는 라이브러리라 멤버를 못찾는다고 한다. 그래서 해당 경고를 끄기 위한 설정&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# pylint 설정파일 생성
pylint --generate-rcfile &amp;gt; .pylintrc 
ctrl + F로 disable 검색하여 disable리스트에 E1101 추가&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;공식문서상으론&lt;br&gt;extension-pkg-allow-list=&lt;br&gt;    또는&lt;br&gt;extension-pkg-whitelist=&lt;br&gt;에 원하는 c확장 모듈을 적으면 읽어와서 문제없다고하는데 안되서 E1101 유형의 에러를 일단 disable했다.&lt;/p&gt;</description>
      <category>설치및설정</category>
      <category>pylint</category>
      <author>봄다온</author>
      <guid isPermaLink="true">https://spring0691.tistory.com/115</guid>
      <comments>https://spring0691.tistory.com/115#entry115comment</comments>
      <pubDate>Sun, 11 May 2025 18:26:44 +0900</pubDate>
    </item>
  </channel>
</rss>