-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package Versions #3
Comments
After half a day reverse-engineering the requirements, I got this poco.yaml:
Seems to work with setup.py and generate.py. Hope this helps someone. |
Thanks a lot. |
@aboulch |
On scenes yes, it is quite slow. |
I could reproduce the issue with the proposed yml file. |
Thanks! I'm trying to reproduce the ABC dataset first. my GPU is almost idle and only one CPU core is occupied. could this be related to OpenMP? Btw. why do you compile Pykdtree? It's also available as simple conda package. |
First install the packages:
--> the problem may come from the openblas missing Create a minimal conda environment (if needed, it only installs python, cudatoolkit and pip):
Installing dependencies with pip
Build the compiled library (needed only for evaluation)
Note: I will remove the dependency to the compiled pykdtree. |
I copied your steps but get ninja build issue at --update: the error above was fixed by modifying ninja build part in lib/python3.6/site-packages/torch/utils/cpp_extension.py. |
Hello, here are the versions installed in my conda environnement:
And versions installed using the pip requirements file
|
@aboulch Thanks for the update. However, with
Pip still installed the packages. When I run the generate script, I get a more serious error:
Looks like this issue: pyg-team/pytorch_geometric#2040
Any ideas? |
I do not really have an answer on this one. Before creating the conda environment is cuda 11.1 installed on the machine? |
@aboulch Thanks again! Anyway, the generate script runs now at 10-15s per ABC object. If there are no further problems, I'll close the issue soon. |
Seems to work (didn't try training yet). Thanks! |
Hi,
I tried to reproduce your results, but I ran into a possible version mismatch between Pytorch and Pytorch_geometric.
I created my environment with the following commands:
Compilation with
python setup.py build_ext --inplace
seems to work butpython generate.py --config results/ABC_10k_FKAConv_InterpAttentionKHeadsNet_None/config.yaml --dataset_name DATASET_NAME --dataset_root data/3d_shapes_abc/abc/ --gen_resolution_global 256
results inOSError: /home/perler/miniconda3/envs/poco/lib/python3.7/site-packages/torch_sparse/_version.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
Installed versions are:
Again, the CPU-version... but that's a different issue.
AFAIK, they added sparse tensors only recently to Pytorch, so the installed Pytorch-geometric version might be too new. Which version of Pytorch-geometric do I need?
Can you please create a requiremtents.txt and/or environment.yaml?
The text was updated successfully, but these errors were encountered: