Skip to content

Instantly share code, notes, and snippets.

View Bardisk's full-sized avatar

Litrehinn Bardisk

  • School of Software & Microelectronics, Peking University
  • Beijing, China
  • 20:32 (UTC +08:00)
View GitHub Profile
@Bardisk
Bardisk / install_condau.sh
Last active April 10, 2026 08:00
conda_ubuntu
#!/usr/bin/env bash
set -euo pipefail
# =========================
# Ubuntu Miniconda3 installer
# =========================
INSTALL_DIR="${HOME}/miniconda3"
# Disable auto activate by default
AUTO_ACTIVATE_BASE="false"
@Bardisk
Bardisk / cuda_11.8_installation_on_Ubuntu_22.04
Created March 23, 2024 09:04 — forked from Mahedi-61/cuda_11.8_installation_on_Ubuntu_22.04
Instructions for CUDA v11.8 and cuDNN 8.9.7 installation on Ubuntu 22.04 for PyTorch 2.1.2
#!/bin/bash
### steps ####
# Verify the system has a cuda-capable gpu
# Download and install the nvidia cuda toolkit and cudnn
# Setup environmental variables
# Verify the installation
###
### to verify your gpu is cuda enable check