-
Notifications
You must be signed in to change notification settings - Fork 13
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
use tensorflow_probability[tf] extra to match versions #827
Conversation
The torchtext failures seem unrelated, since they also affect the other PR I just made which changes nothing in the build system (#828). Annoying, though, guess we'll have to wait for a resolution of this. |
Oef, waiting for resolution might not work out, torchtext development has been discontinued... pytorch/text#2250 What of torchtext are we using? |
Copy-pasting the actual error message for other Googlers encountering this problem: tests/test_kwargs.py:6: in <module>
from tests.utils import get_dummy_model_function
tests/utils.py:5: in <module>
from torchtext.vocab import Vectors
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/torchtext/__init__.py:18: in <module>
from torchtext import _extension # noqa: F401
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/torchtext/_extension.py:64: in <module>
_init_extension()
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/torchtext/_extension.py:58: in _init_extension
_load_lib("libtorchtext")
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/torchtext/_extension.py:50: in _load_lib
torch.ops.load_library(path)
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/torch/_ops.py:1295: in load_library
ctypes.CDLL(path)
/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/ctypes/__init__.py:374: in __init__
self._handle = _dlopen(self._name, mode)
E OSError: /opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/torchtext/lib/libtorchtext.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs |
see #837 |
Only |
Closing and reopening in an attempt to trigger rerunning the checks. |
Still many checks not passing. @cwmeijer what to do with this PR? |
24f3d05
to
8af438c
Compare
Rebased on main. |
Now we have other failures, which seem to be caused by keras 3, which has dropped access to the (previously private) |
Keras 3 introduced a number of backwards incompatible changes that make some dependencies (shap, rise) fail.
b180dac
to
03b0254
Compare
Wow what a can of worms. This is causing many different errors, like a pip solver error on Windows:
On Ubuntu there is no conflict, but the tests error out, so I'm guessing there's still an incompatible set of packages getting installed. If nobody else has ideas feel free to close this PR, it is not very urgent for me, just a nice to have. |
@cwmeijer what do you think - shall we close it? It's pity not to use the elegant solution, but if it causes many problems... |
I agree this would be nice to solve, but I expect this to take quite some time to solve. I propose to not solve this right now. |
Fixes #826.
Related to #434 and possibly #727.