You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While installing/building mamba-ssm from repository, if you have faced issues with cannot determine amdgcn architecture and the solution suggested being consider passing it via '--offload-arch'. Then here is the solution.
First of all, try to checkout to a particular commit of mamba repo to avoid possible errors like NameError: name 'bare_metal_version' is not defined and then export a variable that overrides the possibility of setting --offload_arch=native as done in setup.py of mamba repo.
Steps:
git clone https://github.com/state-spaces/mamba.git mamba_ssm
cd mamba_ssm
git checkout 014c094
export HIP_ARCHITECTURES="gfx942"# For MI300 only. Replace it with your architecture(s)
pip install --no-cache-dir --verbose .
I tried searching for the HIP_ARCHITECTURES variable by loading docker image and os.getenv(), but couldn't find any.
The text was updated successfully, but these errors were encountered:
Hi Folks (especially AMD GPUs' trainer),
While installing/building
mamba-ssm
from repository, if you have faced issues withcannot determine amdgcn architecture
and the solution suggested beingconsider passing it via '--offload-arch'
. Then here is the solution.First of all, try to checkout to a particular commit of mamba repo to avoid possible errors like
NameError: name 'bare_metal_version' is not defined
and then export a variable that overrides the possibility of setting--offload_arch=native
as done insetup.py
ofmamba
repo.Steps:
The text was updated successfully, but these errors were encountered: