#!/bin/sh

source venv/bin/activate

export HSA_OVERRIDE_GFX_VERSION=10.3.0
export LD_PRELOAD=libtcmalloc.so
export HIP_VISIBLE_DEVICES=0
export PYTORCH_HIP_ALLOC_CONF=garbage_collection_threshold:0.8,max_split_size_mb:512

python3 launch.py --autolaunch --listen --enable-insecure-extension-access --opt-split-attention-v1 --medvram
