-
Notifications
You must be signed in to change notification settings - Fork 6
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
KGS ViT Bot #140
Merged
Merged
KGS ViT Bot #140
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
71fccb1
add config param to force GTP to not allow rule changes
tomtseng b587416
First try
ed1d1a8d 24ed76a
Add hash
ed1d1a8d 59f7a9b
Fix path
ed1d1a8d af08746
Update config
ed1d1a8d 74c99e9
Enable pondering
ed1d1a8d a90d145
Fix gpu server thread config
ed1d1a8d fefa432
Use kgs-fp16-fix
ed1d1a8d b2fb839
Update time setting
ed1d1a8d e9560f3
Add kgs yaml files
ed1d1a8d File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# To launch run the following command from the directory containing this file: | ||
# kubectl create -f vit-bot-pro.yaml | ||
# Make sure to set the credentials of the bot accordingly. | ||
# Only one copy of the bot can run at a time on one account! | ||
# You can set the room the bot is in by manually logging in as the bot on KGS, | ||
# and navigating to the room you want the bot to be in. When the bot reconnects | ||
# it will join the room you were in. | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: vit-kgs-bot-pro | ||
labels: | ||
kueue.x-k8s.io/queue-name: farai | ||
spec: | ||
suspend: true # The job must start suspended kueue will start it when it is admitted | ||
template: | ||
spec: | ||
priorityClassName: high-batch | ||
restartPolicy: OnFailure | ||
containers: | ||
- name: gtp | ||
image: humancompatibleai/goattack:b2fb839-cpp-kgs | ||
args: [ | ||
"name=???", | ||
"password=???", | ||
"gameNotes=:)", | ||
"rules.time=90:00+5x0:30", | ||
"opponent=???" | ||
] | ||
resources: | ||
limits: | ||
memory: 80Gi | ||
nvidia.com/gpu: "2" | ||
requests: | ||
cpu: 32 | ||
nvidia.com/gpu: "2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# To launch run the following command from the directory containing this file: | ||
# kubectl create -f vit-bot.yaml | ||
# Make sure to set the credentials of the bot accordingly. | ||
# Only one copy of the bot can run at a time on one account! | ||
# You can set the room the bot is in by manually logging in as the bot on KGS, | ||
# and navigating to the room you want the bot to be in. When the bot reconnects | ||
# it will join the room you were in. | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: vit-kgs-bot | ||
labels: | ||
kueue.x-k8s.io/queue-name: farai | ||
spec: | ||
suspend: true # The job must start suspended kueue will start it when it is admitted | ||
backoffLimit: 9001 | ||
template: | ||
spec: | ||
priorityClassName: normal-batch | ||
restartPolicy: OnFailure | ||
containers: | ||
- name: gtp | ||
image: humancompatibleai/goattack:b2fb839-cpp-kgs | ||
args: [ | ||
"name=ViTKata001", | ||
"password=???", | ||
"gameNotes=Barely superhuman Vision Transformer bot.", | ||
"rules.time=15:00+5x0:30", | ||
] | ||
resources: | ||
limits: | ||
memory: 80Gi | ||
nvidia.com/gpu: "2" | ||
requests: | ||
cpu: 32 | ||
nvidia.com/gpu: "2" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this
high-batch
as well? Then it's unlikely to get pre-emptedThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I purposely made the non-pro bot normal-batch so that it could get pre-empted by more important paper experiments, since a few extra games (we have 1000 games now) won't make too much of a difference to our NeurIPS submission.