Skip to content

Changes required for execution on CPU (without CUDA) #10

Description

@shanemcandrewai

Hi Josh,

In order to better understand the code, I tested it with plain pytorch without CUDA but it failed with AssertionError: Torch not compiled with CUDA enabled from File trainer.py, line 83, in train boards = boards.contiguous().cuda(). Is it sufficient to simply comment out the three lines with ending in .cuda() starting from boards = boards.contiguous().cuda()?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions