-
Notifications
You must be signed in to change notification settings - Fork 109
How to Run or Debug OneDiff
Xiaoyu Xu edited this page Aug 1, 2024
·
3 revisions
python -m onediff.utils.collect_env
Or
wget https://raw.githubusercontent.com/siliconflow/onediff/main/src/onediff/utils/collect_env.py
python collect_env.py
version format:[current_version].dev[commit count since last tag]+g[git commit id].d[date] example:
OneDiff version: 1.1.1.dev63+gb1246aaf.d20240726
OneDiffX version: 1.1.1.dev63+gb1246aaf.d20240726
export ONEDIFF_DEBUG=1
This will enable the debug info of:
- code transform process of oneflow_compile;
- graph build process of nn.Graph in oneflow_compile;
export ONEFLOW_DEBUG_MODE=1
This will enable the debug info of:
- detailed graph build process of nn.Graph in oneflow_compile;