Closed Neeratyoy closed 2 weeks ago
Good enough given what we've got I would say, if it causes issues. Then these issues should have an associated test so we can catch them in the future.
@eddiebergman Do you wanna merge or I go with it?
Updating torch > 2.0.0
requires torchvision >= 0.16
. Then, we get an error from import torchvision
. Anyone can decrypt the traceback?
Turns out AttributeError: 'int' object has no attribute 'nodes'
originates from here. When the dimension of the nested list -
graphs
is 2 _nested_graphs.ndims
sometimes returns 3
if the graphs in the dimension 2 are consistent, which causes the if clause to be taken and graphs list to be corrupted.
Made a short fix to it, that doesn't seem to break any tests
That's a great catch!
@eddiebergman @karibbov are the tests passsing adequate a check for this to be merged?