You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/Qwen/infer.py", line 63, in
import mii
File "/usr/local/lib/python3.10/dist-packages/mii/init.py", line 7, in
from .legacy import MIIServer, MIIClient, mii_query_handle, deploy, terminate, DeploymentType, TaskType, aml_output_path, MIIConfig, ModelConfig, get_supported_models
File "/usr/local/lib/python3.10/dist-packages/mii/legacy/init.py", line 7, in
from .client import MIIClient, mii_query_handle
File "/usr/local/lib/python3.10/dist-packages/mii/legacy/client.py", line 12, in
from .method_table import GRPC_METHOD_TABLE
File "/usr/local/lib/python3.10/dist-packages/mii/legacy/method_table.py", line 8, in
from transformers import Conversation
ImportError: cannot import name 'Conversation' from 'transformers' (/usr/local/lib/python3.10/dist-packages/transformers/init.py)
The text was updated successfully, but these errors were encountered:
Hi @tang-t21 - this is resolved in the latest source builds of DeepSpeed-MII here #492. But we have not done a new release of MII that contains these fixes. We will work on this and update you when this is done soon.
File "/home/Qwen/infer.py", line 63, in
import mii
File "/usr/local/lib/python3.10/dist-packages/mii/init.py", line 7, in
from .legacy import MIIServer, MIIClient, mii_query_handle, deploy, terminate, DeploymentType, TaskType, aml_output_path, MIIConfig, ModelConfig, get_supported_models
File "/usr/local/lib/python3.10/dist-packages/mii/legacy/init.py", line 7, in
from .client import MIIClient, mii_query_handle
File "/usr/local/lib/python3.10/dist-packages/mii/legacy/client.py", line 12, in
from .method_table import GRPC_METHOD_TABLE
File "/usr/local/lib/python3.10/dist-packages/mii/legacy/method_table.py", line 8, in
from transformers import Conversation
ImportError: cannot import name 'Conversation' from 'transformers' (/usr/local/lib/python3.10/dist-packages/transformers/init.py)
The text was updated successfully, but these errors were encountered: