Skip to content

Instantly share code, notes, and snippets.

View Ariffffff's full-sized avatar

Ariffffff

  • Pakistan
View GitHub Profile
# must have miniconda installed
# installation for musicgen
conda create -n audiocraft python=3.9
conda activate audiocraft
brew install ffmpeg (for mac)
winget install ffmpeg (for windows)
git clone https://github.com/facebookresearch/audiocraft.git
cd audiocraft
python -m pip install -r requirements.txt
conda create --name myenv python=3.10.11
conda activate myenv
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
pip install xformers
pip install audiocraft
pip install IPython
@willasaywhat
willasaywhat / gist:1586278
Created January 10, 2012 01:43
Arduino 22 - TC74 Code
#include <Wire.h>
#define i2c_addr 0x4F
void setup() {
Serial.begin(9600);
Wire.begin();
}
void loop() {