-
Notifications
You must be signed in to change notification settings - Fork 107
How to Run or Debug OneDiff
Xiaoyu Xu edited this page Aug 1, 2024
·
3 revisions
https://github.com/siliconflow/onediff/tree/main/onediff_diffusers_extensions/examples/sd1.5
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;