-
Notifications
You must be signed in to change notification settings - Fork 15
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
Tests fail due to torch-scatter #106
Comments
Hello @DocMinus, it looks like your issues are related to the installation of torch_scatter. This package seems to always cause problems (I've had it fail before myself). I just tried a fresh re-install with python 3.10 and the install of torch scatter failed for me. I'm not sure there is an easy solution to this. However, torch scatter is only required by a small subset of the single-step models (
on a linux system (not WSL though) and all the tests passed for me (admittedly, the CLI tests are skipped if not all the single-step models are installed). Could that help get things working for you? |
Separate to above, @kmaziarz does "pip install syntheseus[all]" work for you on WSL (I no longer have a windows computer to test it on). If torch-scatter is causing problems, should we change the dependencies in any way to make most tests run without it? |
thanks. I will try some of the above suggestions. I am guessing I don't have to bother testing this on Mac Silicone? |
Yeah, no need I think |
Thanks for reporting this @DocMinus, I confirm I can reproduce the issue locally in WSL (but not on CI, so it does seem to be somewhat environment dependent). I'm looking into what the best fix should be, but it may be a few days before that propagates all the way to
I think the |
@kmaziarz Thanks. Since my ubuntu/conda install took forever trying to resolve dependencies for the create environment, I installed a fresh Ubuntu (24) with WSL, installed conda python 3.9 and graphviz.
the testing looks much better, warnings mainly regarding depreciation:
|
Looks good; I also get the warnings and the bit about |
When running the pytest I get a number of Fs. Most likely due to the install? Had to do some manual hands-on, the out-of-box pip install didn't work.
I am running on WSL2 Unbuntu 22 (with Nvidia GPU).
What I did differently after the first pip install due to errors after bailing out due to torch_scatter:
mamba install -c pyg -c conda-forge torch-scatter
pip install "syntheseus[all]"
pip install typing-extensions==4.6.0 (since 4.5.0 not combatible)
the first run of tests conked out due to graphviz?
Thus I manually installed that via
sudo apt install graphviz
and rerun
pip install "syntheseus[all]"
which reinstalled typing_extenstions 4.5.0.
Running pytests then led to this
and way too much text to copy/paste here. many, not all, seem to refere to torch_scatter where errors like are shown:
another recurring error:
any ideas?
The text was updated successfully, but these errors were encountered: