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

Update transformers/__init__.py warning #1129

Merged
merged 2 commits into from
Jul 19, 2023
Merged

Update transformers/__init__.py warning #1129

merged 2 commits into from
Jul 19, 2023

Conversation

mgoin
Copy link
Member

@mgoin mgoin commented Jul 19, 2023

Needed to actually use the string nm_transformers rather than some variable

This was causing an error when hitting the warning:

File "deepsparse/transformers/__init__.py", line 47, in _check_transformers_install
    f"installed via `pip install {nm_transformers}`"
NameError: name 'nm_transformers' is not defined. Did you mean: '_transformers'?

@mgoin mgoin merged commit 23178bc into main Jul 19, 2023
7 checks passed
@mgoin mgoin deleted the nm-transformers-warn branch July 19, 2023 21:07
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.

None yet

2 participants