Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Experimental] Add torch implementation of Go #1205

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sotetsuk
Copy link
Owner

@sotetsuk sotetsuk commented Jul 24, 2024

After naive translation, I fixed

  • ZeroDivisionError
  • select/cond to GameState: _remove_stones, _merge_chain, _apply_action

To make torch.vmap(step) work

  • fix _apply_action
  • remove while_loop

@sotetsuk sotetsuk changed the title Add experimental torch implementation [Experimental] Add torch implementation of Go Jul 24, 2024
Copy link

codecov bot commented Jul 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.73%. Comparing base (dc9e754) to head (82edc5b).
Report is 71 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1205   +/-   ##
=======================================
  Coverage   80.73%   80.73%           
=======================================
  Files          61       61           
  Lines        5980     5980           
=======================================
  Hits         4828     4828           
  Misses       1152     1152           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant