conda create -y -n multimodal python=3.10
conda activate multimodal
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
pip install lightning torchmetrics transformers peft albumentations opencv-python pytorchvideo multipledispatch tbparse pandas matplotlib pyyaml
pip install onnx onnxruntime-gpu --extra-index-url https://download.pytorch.org/whl/cu121
pip install colorama gdownNotes:
- A GPU with CUDA is strongly recommended (all provided configs default to
accelerator: gpu); adjusttrainer.acceleratorin the sub configuration files tocpuotherwise. onnx/onnxruntime-gpuare not required fortrain.py/test.py, butdemo_model.pyimports them unconditionally, so install them if you plan to run the demo (step 8), even withoptimize: false.pip install tensorrt-cu12is only needed if you additionally setoptimize: true.- If you hit
RuntimeError: Couldn't find appropriate backend to handle uri ... .wav, installpysoundfile(pip install pysoundfile). - Full, pinned Conda environment exports used on the original (Windows) development machines are available under envs/ if you prefer to reproduce that exact setup instead.
- No manual model download is needed for the encoders:
openai/whisper-large-v3andopenai/clip-vit-large-patch14-336are pulled automatically from Hugging Face (public checkpoints, no login required) the first time you instantiate a model — expect a multi-GB download on first run.
Next: 2. Download the dataset