Skip to content

Instantly share code, notes, and snippets.

View davleop's full-sized avatar
📍
arrived

David Penn davleop

📍
arrived
View GitHub Profile
@jurgonaut
jurgonaut / amd-rocm-torch-ubuntu.md
Last active November 12, 2024 07:10
Install AMD GPU ROCm and PyTorch on Ubuntu

This is a short guide on how to setup ROCm on Ubuntu. The most important step is that when we install PyTorch we get the latest available ROCm version for it.

Prerequisites

  • Python 3.10 or newer
  • Ubuntu
  • Make sure you have the appropriate kernel version, see prerequesites.

Amdgpu

Select the desired amdgpu version and download the correct Ubuntu version, replace <version> and <codename>. Check the available versions first https://repo.radeon.com/amdgpu-install/.

@Amar1729
Amar1729 / delete_bad_emojis.py
Last active September 28, 2022 19:05
Batch upload icon links as emojis to mattermost
#! /usr/bin/env python3
import os
import sys
import time
from typing import Any, Generator
# local
import iface
@luruke
luruke / bunny.js
Created October 27, 2018 07:51
draw bunny on terminal
const drawille = require('drawille')
const bunny = require('bunny')
const glmatrix = require('gl-matrix')
const width = 200
const height = 200
const canvas = new drawille(width, height)
const mat4 = glmatrix.mat4
const vec3 = glmatrix.vec3
let points = []