Skip to content

Build and run on CPU #908

@kovmir

Description

@kovmir

My CPU: AMD Ryzen 5800X
My GPU: AMD Radeon RX 6600 XT

My exact build commands:

git clone https://github.com/hpcaitech/Open-Sora.git
cd Open-Sora
git switch opensora/v1.3
podman build -t opensora .

The container build aborts after STEP 6/11: RUN pip install flash-attn --no-build-isolation:

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [291 lines of output]
      No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'

...

      /opt/conda/envs/pytorch/lib/python3.10/site-packages/torch/utils/cpp_extension.py:424: UserWarning: There are no g++ version bounds defined for CUDA version 12.1
        warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
  1. Can I build and run this container without Nvidia GPU? How?
  2. Can I run this on CPU? How?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions