Skip to content

Instantly share code, notes, and snippets.

View p1nox's full-sized avatar

Raul Pino p1nox

View GitHub Profile
@p1nox
p1nox / pytorch_rtx_3060.md
Last active March 15, 2025 16:05
PyTorch on RTX 3060

After researching a lot on how to use PyTorch with a RTX 3060 card, specially with older versions or torch (0.4.0) and torchvision (0.2.1), I noticed that it was either impossible or very hard to do. RTX 3060 and these packages apparently doesn't have compatibility with the same versions of CUDA and cuDNN. I tried to do this by using different combinations with compiled versions available in conda, but didn't work, maybe it could work if you recompile from source these versions.

After all this, actually I was able to use RTX 3060 effectively with latest versions of all these dependencies with two methods:

  1. Using a conda env, and latest versions published in pytorch site (https://pytorch.org/get-started/locally):
conda create -n rtx_3060 python=3.6.5
conda activate rtx_3060
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia
@p1nox
p1nox / jupyter.md
Last active May 9, 2023 21:28
Jupyter notes
# install
pip install notebook

# launch
jupyter notebook

# jupyter remote access with password - https://towardsdatascience.com/how-to-share-your-jupyter-notebook-in-3-lines-of-code-with-ngrok-bfe1495a9c0c
sudo snap install ngrok
ngrok config add-authtoken xyz
@p1nox
p1nox / custom_mcp_for_claude_in_osx.md
Last active July 21, 2025 13:16
Custom MCP servers for Claude Desktop and Claude Code in macOS

Custom MCP servers for Claude Desktop and Claude Code in macOS

Using mcp-remote as a proxy to remote MCP server.

Desktop

  1. Add/Edit your local mcp json file for claude tools:
vim /Users//Library/Application\ Support/Claude/claude_desktop_config.json