Skip to content

Pin pytorch-lightning & torchmetrics. #1073

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

Merged
merged 1 commit into from
Sep 2, 2021
Merged

Pin pytorch-lightning & torchmetrics. #1073

merged 1 commit into from
Sep 2, 2021

Conversation

rosbo
Copy link
Contributor

@rosbo rosbo commented Sep 2, 2021

Latest versions causing the following error at runtime:

...
  File "/opt/conda/lib/python3.7/site-packages/torchmetrics/utilities/imports.py", line 33, in _module_available
    return find_spec(module_path) is not None
  File "/opt/conda/lib/python3.7/importlib/util.py", line 114, in find_spec
    raise ValueError('{}.__spec__ is None'.format(name))
ValueError: transformers.__spec__ is None

Also, remove /opt/conda/lib from LD_LIBRARY_PATH only when fetching
packages over https using apt.

Otherwise, this is causing an issue with scipy which expects a different
version of glibc.

http://b/198635596

Latest versions causing the following error at runtime:

```
...
  File "/opt/conda/lib/python3.7/site-packages/torchmetrics/utilities/imports.py", line 33, in _module_available
    return find_spec(module_path) is not None
  File "/opt/conda/lib/python3.7/importlib/util.py", line 114, in find_spec
    raise ValueError('{}.__spec__ is None'.format(name))
ValueError: transformers.__spec__ is None
```

Also, remove /opt/conda/lib from LD_LIBRARY_PATH only when fetching
packages over https using apt.

Otherwise, this is causing an issue with scipy which expects a different
version of glibc.

http://b/198635596
@rosbo rosbo merged commit eba9a4d into main Sep 2, 2021
@rosbo rosbo deleted the pin-pytorch-lightning branch September 2, 2021 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant