Skip to content

[misc] Building AICB from source #34

@galeselee

Description

@galeselee
  1. create conda env
conda create -n aicb python=3.10 
conda install pytorch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 pytorch-cuda=12.1 -c pytorch -c nvidia
  1. Install packages using pip (cuda-12.1)
pip install flash_attn
pip install git+https://github.com/fanshiqing/grouped_gemm@v1.0
pip3 install einops 
...
  1. build apex
https://github.com/NVIDIA/apex
pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" --config-settings "--build-option=--fast_layer_norm" ./

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions