Open KevinHooah opened 1 week ago
The version of torch_geometric
implied by your environment is 2.2.0, rather than the most recent release of 2.5.3. Does the issue persist in the most recent version of torch_geometric
?
The version of
torch_geometric
implied by your environment is 2.2.0, rather than the most recent release of 2.5.3. Does the issue persist in the most recent version oftorch_geometric
?
Hello, thank you for the reply. I found I copied the environment information from the wrong one.
We tried two approaches:
Both methods don't work, all tell me this error.
It works for me. Can you do me a favor and modify this line to
except Exception as e:
print(e)
and see what comes back?
It works for me. Can you do me a favor and modify this line to
except Exception as e: print(e)
and see what comes back?
Hi, following the step, the exception I got when I initiated the GCNConv(MessagePassing)
is:
<class '__main__.GCNConv'> is a built-in class
Hello, a little more info: even though I changed the model's name to GCNConv_test(MessagePassing), the exception remains the same.
🐛 Describe the bug
Bug Description
The latest release mentions fixing the issue of converting the model to TorchScript when it contains message_passing. However, we tested it and found that this bug remains.
Bug's Detail:
The error message:
The toy model taken from official tutorial:
The line of code triggered the issue:
script_test_model = torch.jit.script(test_model)
A side bug we found during this process:
If we completely follow the official tutorial's code without modifying that line with a comment, i.e.,
The error message will be:
Versions (Corrected)
I am testing it with my Mac in an environment where torch_geometric is not installed. I downloaded the latest code base and directly imported it from this local source. This issue persists when we test our model on the GPU machine with 2.5.3. version is installed.
Versions of relevant libraries: [pip3] flake8==3.8.4 [pip3] mypy-extensions==0.4.3 [pip3] numpy==1.24.4 [pip3] numpydoc==1.1.0 [pip3] torch==2.2.1 [pip3] torchaudio==2.2.1 [pip3] torchvision==0.17.1 [conda] blas 1.0 mkl
[conda] mkl 2021.4.0 hecd8cb5_637
[conda] mkl-service 2.4.0 py38h9ed2024_0
[conda] mkl_fft 1.3.1 py38h4ab4a9b_0
[conda] mkl_random 1.2.2 py38hb2f4e1b_0
[conda] numpy 1.24.4 pypi_0 pypi [conda] numpydoc 1.1.0 pyhd3eb1b0_1
[conda] torch 2.2.1 pypi_0 pypi [conda] torchaudio 2.2.1 pypi_0 pypi [conda] torchvision 0.17.1 pypi_0 pypi