mirror of
https://github.com/facebookresearch/fairseq.git
synced 2024-09-11 17:25:31 +03:00
Plasma tests: ask for less disk (#1893)
Summary: Old logs: ``` /arrow/cpp/src/plasma/store.cc:1274: Allowing the Plasma store to use up to 107.374GB of memory. ``` New logs: ``` ... up to 1e-05GB of memory. ``` Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/1893 Reviewed By: myleott Differential Revision: D28641488 Pulled By: sshleifer fbshipit-source-id: 3373526042cdcbf434c61790be62a09f15e6ad06
This commit is contained in:
parent
342d5daf34
commit
2be2f3c7c1
@ -23,7 +23,7 @@ class TestPlasmaView(unittest.TestCase):
|
||||
def setUp(self) -> None:
|
||||
self.tmp_file = tempfile.NamedTemporaryFile() # noqa: P201
|
||||
self.path = self.tmp_file.name
|
||||
self.server = PlasmaStore.start(path=self.path)
|
||||
self.server = PlasmaStore.start(path=self.path, nbytes=10000)
|
||||
self.client = plasma.connect(self.path, num_retries=10)
|
||||
|
||||
def tearDown(self) -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user