Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 880 Bytes

installation.md

File metadata and controls

37 lines (26 loc) · 880 Bytes

Installation

Prerequisites

Step 1 Conda Environment

Create a new conda environment and install the prerequisites.

conda create -y -n lorafusion python=3.12
conda activate lorafusion

[Optional] Step 2 Install Prerequisites

Follow the instructions in the Development guide to install the prerequisites.

Step 3 Install Torch, LoRAFusion and Dependencies

Install the CUDAToolkit:

conda install -y nvidia/label/cuda-12.6.0::cuda-toolkit
pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu124
pip install -r requirements.txt
pip install -e .

Additionally, if you want to use the proposed solver, you need to install the following dependencies:

pip install pulp
# Install through conda-forge
conda install -y -c conda-forge coincbc