Skip to content

Instantly share code, notes, and snippets.

View martwozniak's full-sized avatar
🟢
ONLINE

Marcin Wozniak martwozniak

🟢
ONLINE
View GitHub Profile
@iamkucuk
iamkucuk / install_pytorch.sh
Last active March 1, 2024 15:57
Installing PyTorch to a system with AMD GPU and ROCm stack by "hippifying"
apt-get update && apt-get install -y --no-install-recommends curl && \
curl -sL http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | apt-key add - && \
sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list' \
apt-get update && apt-get install -y --no-install-recommends \
libelf1 \
build-essential \
bzip2 \
ca-certificates \