What are the system requirements outside of the GPU? I am running out of RAM on my 64 GB machine when running the benchmark with the following arguments:
In WSL and PopOS it fails on a 44 GiB memory allocation for a numpy array with the below traceback:
Traceback (most recent call last):
File "/home/gellson/code/desp/desp/experiments/evaluate.py", line 62, in <module>
fwd_predictor = ForwardPredictor(
^^^^^^^^^^^^^^^^^
File "/home/gellson/code/desp/desp/experiments/../../desp/inference/forward_predictor.py", line 63, in __init__
self.bb_predictor = BuildingBlockPredictor(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gellson/code/desp/desp/experiments/../../desp/inference/building_block_predictor.py", line 49, in __init__
bb_tensor = bb_fps.toarray().astype(np.float32)
^^^^^^^^^^^^^^^^
File "/home/gellson/anaconda3/envs/desp/lib/python3.12/site-packages/scipy/sparse/_compressed.py", line 1181, in toarray
out = self._process_toarray_args(order, out)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gellson/anaconda3/envs/desp/lib/python3.12/site-packages/scipy/sparse/_base.py", line 1301, in _process_toarray_args
return np.zeros(self.shape, dtype=self.dtype, order=order)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 44.0 GiB for an array with shape (23079928, 256) and data type int64
What are the system requirements outside of the GPU? I am running out of RAM on my 64 GB machine when running the benchmark with the following arguments:
sh evaluate.sh pistachio_reachable f2fIn WSL and PopOS it fails on a 44 GiB memory allocation for a numpy array with the below traceback: