Skip to content

Example hangs / NaN errors on Windows + Mac CPU installs #274

@rita-hub-ba

Description

@rita-hub-ba
  1. i installed under supervision of chatgpt 5 using https://github.com/nari-labs/dia quickstart info , disappointed that nothing worked
  2. . Installed on Mac m3(Python 3.11, CPU only): script stalls, needs probability sanitization + argmax fallback in _sample_next_token. (Note chatgpt 5 tried to fix _sample_next_token no hope)
  3. . Installed on Windows (Python 3.11, Git Bash): same hang after model download, process uses 0% CPU. h/w: windows 10 pro, build 19045; HP desktop i5

pip install git+... doesn’t include example/, so python -m dia.example.simple fails out of the box.

Suggestion from chatgpt: add CPU-safe defaults (disable multinomial or clamp probs), include examples in package, and document Mac/Win setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions