jonathan-laurent / AlphaZero.jl

A generic, simple and fast implementation of Deepmind's AlphaZero algorithm.

Home Page:https://jonathan-laurent.github.io/AlphaZero.jl/stable/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internal error: encountered unexpected error in runtime: ReadOnlyMemoryError() Exception: UNKNOWN at 0x7ffae516cd29 --

Snimm opened this issue · comments

Internal error: encountered unexpected error in runtime:
ReadOnlyMemoryError()

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: UNKNOWN at 0x7ffae516cd29 --

I got this error. I was using the example connect4 four scripts; this error happened when I completed 2nd iteration.

The entire console text can be found here. It was too big for here I figured.

I have the latest version of Julia (1.8.5) and CUDA (12). I am using windows 10 64-bit. I have RTX 3060 12 GB Graphic card and intel i5-7400 CPU.

Each iteration cost me about 2 hours.

Such an error is a bug in CUDA.jl or Julia itself.
Internal errors like those aren't supposed to happen, whatever sins AlphaZero.jl may be committing.
I would encourage you to try other versions of Julia (both older versions and nightly).
If you have the patience, it may be valuable for you to try and create a MWE so that you can file an issue in the CUDA.jl or Julia repos. Also, some people may be able to help you it you ask on more general venues such as Slack or discourse.