-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestplanned
Description
Using Docker with benchkit causes this behavior in the gpus example campaign.
Traceback (most recent call last):
File "/home/user/programming/paae/benchkit/examples/gpus/./campaign_gpus.py", line 186, in <module>
main()
File "/home/user/programming/paae/benchkit/examples/gpus/./campaign_gpus.py", line 175, in main
campaign_suite.run_suite()
File "/home/user/programming/paae/benchkit/benchkit/campaign.py", line 310, in run_suite
campaign.campaign_run(other_campaigns_seconds=remaining_seconds, barrier=None)
File "/home/user/programming/paae/benchkit/benchkit/campaign.py", line 187, in campaign_run
self._benchmark.run(
File "/home/user/programming/paae/benchkit/benchkit/benchmark.py", line 590, in run
self._run_single_run(
File "/home/user/programming/paae/benchkit/benchkit/benchmark.py", line 1062, in _run_single_run
self.platform.comm.copy_to_host(f"{temp_record_data_dir}/", f"{record_data_dir}/")
File "/home/user/programming/paae/benchkit/benchkit/communication/__init__.py", line 338, in copy_to_host
raise NotImplementedError("Copy to host is not implemented for this communication layer")
NotImplementedError: Copy to host is not implemented for this communication layer
A temporary fix for this is to change the file at benchkit/communication/docker.py
as seen in the following diff.
diff --git a/benchkit/communication/docker.py b/benchkit/communication/docker.py
index 410bc4e..47611f2 100644
--- a/benchkit/communication/docker.py
+++ b/benchkit/communication/docker.py
@@ -28,7 +28,7 @@ class DockerCommLayer(CommunicationLayer):
@property
def is_local(self) -> bool:
- return False
+ return True
def _get_command_prefix(self) -> SplitCommand:
if self._command_prefix is None:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestplanned