Commit 6e1238cb authored by lintangsutawika's avatar lintangsutawika
Browse files

Merge branch 'big-refactor' of github.com:EleutherAI/lm-evaluation-harness into promptsource-extra

parents 6f98c780 e3677848
......@@ -83,7 +83,6 @@ class HFLM(LM):
print(warning)
self._rank = accelerator.local_process_index
self._world_size = accelerator.num_processes
else:
self.gpt2 = accelerator.prepare(self.gpt2)
self._device = torch.device(f"cuda:{accelerator.local_process_index}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment