oneflow
oneflow copied to clipboard
ImportError: cannot import name 'DynamicMockModule' from 'oneflow.mock_torch'
- What is your OneFlow installation (pip, source, dockerhub): pip
- OS: ubantu 2204
- OneFlow version (run
python3 -m oneflow --doctor
): 0.9.0 - Python version: 3.10.0
- CUDA driver version: 11.7
OneFlow version (run python3 -m oneflow --doctor): 0.9.0
Please update oneflow like this: https://github.com/siliconflow/onediff?tab=readme-ov-file#1-install-oneflow
Another way is to install the nightly version of open source OneFlow, like this:
python3 -m pip install --pre oneflow -f https://oneflow-staging.oss-cn-beijing.aliyuncs.com/branch/master/cu118