Skip to content

[Experimental] Add torch implementation of Go#1205

Open
sotetsuk wants to merge 1 commit intomainfrom
sotetsuk/experimental/torch-go
Open

[Experimental] Add torch implementation of Go#1205
sotetsuk wants to merge 1 commit intomainfrom
sotetsuk/experimental/torch-go

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
@codecov
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