Closed ChenzhengUESTC closed 1 month ago
按照readme运行demo
正常运行
PYTORCH_ENABLE_MPS_FALLBACK=1 python web_demo.py --device mps
- OS: osx - Python: 3.11 - Transformers: 4.40.0 - PyTorch: 2.1.2 - CUDA (`python -c 'import torch; print(torch.version.cuda)'`): None
For MiniCPM-V 2.0: readme
PYTORCH_ENABLE_MPS_FALLBACK=1 python web_demo.py --device mps --dtype fp16
For MiniCPM-Llama3-V 2.5: readme
PYTORCH_ENABLE_MPS_FALLBACK=1 python web_demo_2.5.py --device mps
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
按照readme运行demo
期望行为 | Expected Behavior
正常运行
复现方法 | Steps To Reproduce
PYTORCH_ENABLE_MPS_FALLBACK=1 python web_demo.py --device mps
运行环境 | Environment
备注 | Anything else?