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
When executing the install instructions, it fails on pip install flash-attn --no-build-isolation. This is a fresh install using Miniconda.
# Clone this repogit clone [email protected]:thu-ml/RoboticsDiffusionTransformer.gitcd RoboticsDiffusionTransformer
# Create a Conda environmentconda create -n rdt python=3.10.0conda activate rdt
# Install pytorch
# Look up https://pytorch.org/get-started/previous-versions/ with your cuda version for a correct commandpip install torch==2.1.0 torchvision==0.16.0 --index-url https://download.pytorch.org/whl/cu121
# Install packagingpip install packaging==24.0
# Install flash-attnpip install flash-attn --no-build-isolation # FAILS HERE
# Install other prequisitespip install -r requirements.txt
miniconda3/envs/rdt/lib/python3.10/site-packages/torch/include/ATen/core/Generator.h:167:75: note: in passing argument 1 of ‘T* at::get_generator_or_default(const c10::optional<at::Generator>&, const at::Generator&) [with T = at::CUDAGeneratorImpl]’ 167 | static inline T* get_generator_or_default(const c10::optional<Generator>& gen, const Generator& default_gen) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ error: command '/usr/bin/g++' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for flash-attn Running setup.py clean for flash-attnFailed to build flash-attnERROR: Failed to build installable wheels for some pyproject.toml based projects (flash-attn)
The text was updated successfully, but these errors were encountered:
When executing the install instructions, it fails on
pip install flash-attn --no-build-isolation
. This is a fresh install using Miniconda.The text was updated successfully, but these errors were encountered: