hpcaitech / Open-Sora

Open-Sora: Democratizing Efficient Video Production for All

Home Page:https://hpcaitech.github.io/Open-Sora/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 when import 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.