This error happens on Apple M3 Max Pro during execution of the following python code :
def forward(self, node_features, edge_index, edge_weight, batch):
node_features = super().forward(node_features, edge_index, edge_weight, batch)
return self.downstream_layers(node_features)
RuntimeError: [srcBuf length] > 0 INTERNAL ASSERT FAILED at “/Users/runner/work/_temp/anaconda/conda-bld/pytorch_1712608633180/work/aten/src/ATen/native/mps/OperationUtils.mm”:383, please report a bug to PyTorch. Placeholder tensor is empty! "
How can I solve or turnaround it ?