Skip to content

Instantly share code, notes, and snippets.

View csaben's full-sized avatar

Clark Saben csaben

View GitHub Profile
@csaben
csaben / create_conda_env.md
Created March 8, 2024 20:18
tortoise-tts rtx 3090 cuda 12.0 env setup
conda create --name tortoise python=3.9 numba inflect
conda activate tortoise
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118
pip install transformers==4.29.2
git clone https://github.com/neonbjb/tortoise-tts.git
cd tortoise-tts
python setup.py install
@csaben
csaben / Dockerfile
Created February 10, 2025 03:52
uv dockerfile reference
# Use a Python image with uv pre-installed
FROM ghcr.io/astral-sh/uv:python3.11-bookworm-slim
# Configure environment variables
# ENV DEBIAN_FRONTEND=noninteractive
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
# Install system dependencies in a single layer + ffmpeg
RUN apt-get update --fix-missing --no-install-recommends && \