Skip to content

Commit

Permalink
AMR device 0
Browse files Browse the repository at this point in the history
  • Loading branch information
wwongkam committed May 15, 2023
1 parent fbdb40a commit 5daf1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fairdiplomacy_external/mila_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ async def play_mila(

num_beams = 4
batch_size = 16
device = 'cuda:1'
device = 'cuda:0'
model_dir = '/diplomacy_cicero/fairdiplomacy/AMR/amrlib/amrlib/data/model_parse_xfm/checkpoint-9920/'
self.inference = Inference(model_dir, batch_size=batch_size, num_beams=num_beams, device=device)

Expand Down

0 comments on commit 5daf1fc

Please sign in to comment.