Closed nigo81 closed 2 months ago
我按Readme文档安装后,执行PYTORCH_ENABLE_MPS_FALLBACK=1 python3 web_demo_2.5.py --device mps,在网页上传图片并提问,返回的都是无意义的非中文文字。
PYTORCH_ENABLE_MPS_FALLBACK=1 python3 web_demo_2.5.py --device mps
希望能和示例demo效果一样,能使用模型返回正确中文信息。
No response
- OS:macOS 14.4.1 23E224 arm64 - Python:Python 3.10.14 - Transformers:transformers==4.40.0 - PyTorch:torch==2.1.2,torchvision==0.16.2 - CUDA (`python -c 'import torch; print(torch.version.cuda)'`):None
你好,为方便调试,麻烦提供可复现的图像和prompt~
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
我按Readme文档安装后,执行
PYTORCH_ENABLE_MPS_FALLBACK=1 python3 web_demo_2.5.py --device mps
,在网页上传图片并提问,返回的都是无意义的非中文文字。期望行为 | Expected Behavior
希望能和示例demo效果一样,能使用模型返回正确中文信息。
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
备注 | Anything else?
No response