Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
d712ebd8
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "3a46e30dd1cd7ba96d25f531f97ac96fba3afb60"
Unverified
Commit
d712ebd8
authored
May 16, 2023
by
Sylvain Gugger
Committed by
GitHub
May 16, 2023
Browse files
Fix smdistributed check (#23414)
parent
4e244b88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/utils/import_utils.py
src/transformers/utils/import_utils.py
+1
-1
No files found.
src/transformers/utils/import_utils.py
View file @
d712ebd8
...
...
@@ -118,7 +118,7 @@ if _sklearn_available:
importlib_metadata
.
version
(
"scikit-learn"
)
except
importlib_metadata
.
PackageNotFoundError
:
_sklearn_available
=
False
_smdistributed_available
=
_is_package_available
(
"smdistributed"
)
_smdistributed_available
=
importlib
.
util
.
find_spec
(
"smdistributed"
)
is
not
None
_soundfile_available
=
_is_package_available
(
"soundfile"
)
_spacy_available
=
_is_package_available
(
"spacy"
)
_sudachipy_available
=
_is_package_available
(
"sudachipy"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment