-
Notifications
You must be signed in to change notification settings - Fork 428
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
bug 0.5.4 #87
Comments
ah sorry looks like mps backend was added in pytorch 1.13, I'll update the requirement to reflect the minimum version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "/bin/image2text.py", line 5, in
from clip_interrogator import Config, Interrogator, list_caption_models, list_clip_models
File "/lib/python3.9/site-packages/clip_interrogator/init.py", line 1, in
from .clip_interrogator import Interrogator, Config
File "python3.9/site-packages/clip_interrogator/clip_interrogator.py", line 30, in
class Config:
File "/lib/python3.9/site-packages/clip_interrogator/clip_interrogator.py", line 53, in Config
device: str = ("mps" if torch.backends.mps.is_available() else "cuda" if torch.cuda.is_available() else "cpu")
AttributeError: module 'torch.backends' has no attribute 'mps'
The text was updated successfully, but these errors were encountered: