A complement to the configuration of the environment
Aziily opened this issue · comments
There seems to be some errors during my preparation of the environment, so I'm here to share solutions. Hope they are meaningful.
-
ninja
Error:ninja: error: loading 'build.ninja': No such file or directory
Reason: Unknown
Solution: Build ninja from scratch with guidance of https://github.com/ninja-build/ninja -
flash_attn
Error: Show error whenimport flash_attn
Reason: flash_attn seems to be inconsistent with the newest (2.2.2) torch
Solution: Replace torch 2.2.2 with 2.1.2. -
a personal problem
Error: Several nvcc and cannot include problem
Reason: The usage of nvcc corresponded with pytorch cuda
Solution: Export extra Path for choosed version of nvcc. (There may be a more elegant solution using conda. Looking forward to knowing it.)
Maybe hpcaitech can offer more details about the environment.
This issue is stale because it has been open for 7 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.