Skip to content
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

fixed the dependencies issues #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Nghiauet
Copy link

@Nghiauet Nghiauet commented Aug 4, 2023

Fix the issue
I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "main.py", line 21, in
from model import GEC
File "/home/nghiaph/GEC/gector-ja/model.py", line 7, in
from transformers import TFAutoModel, AutoTokenizer, AdamWeightDecay
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/transformers/init.py", line 43, in
from . import dependency_versions_check
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/transformers/dependency_versions_check.py", line 41, in
require_version_core(deps[pkg])
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/transformers/utils/versions.py", line 101, in require_version_core
return require_version(requirement, hint)
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/transformers/utils/versions.py", line 92, in require_version
if want_ver is not None and not ops[op](version.parse(got_ver), version.parse(want_ver)):
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/packaging/version.py", line 52, in parse
return Version(version)
File "/home/nghiaph/GEC/gector-ja/gector-ja-env/lib/python3.8/site-packages/packaging/version.py", line 198, in init
raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '0.10.1,<0.11'

@Nghiauet
Copy link
Author

Nghiauet commented Aug 4, 2023

I already check and after this change the issue resolve
image

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