Skip to content

Instantly share code, notes, and snippets.

@kundeng
kundeng / install-pytorch-rocm-nightly.ps1
Created September 13, 2025 02:31
pytorch rocm nightly for windows
# Stop on any error
$ErrorActionPreference = "Stop"
Write-Host "=== Installing ROCm Nightly PyTorch (gfx1151) in current directory ==="
# Locate uv
$uvExe = (Get-Command uv -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Source)
if (-not $uvExe) { throw "uv not found. Please install with: winget install astral-sh.uv" }
function Run-UV { param([Parameter(ValueFromRemainingArguments = $true)] $Args); & $uvExe @Args }
# Stop on any error
$ErrorActionPreference = "Stop"
Write-Host "=== Installing ROCm PyTorch Environment on Windows (gfx1151) ==="
# ---------------------------
# Helper: robust download
# ---------------------------
function Download-WithRetries {
param(
@kundeng
kundeng / Dockerfile
Last active August 29, 2015 14:27 — forked from Maxim-Filimonov/Dockerfile
Docker meteor example files
# User for local dev
FROM app/base
RUN npm install -g orion-cli
# This forces package-catalog update. Should speed up further runs
RUN meteor show meteor-platform