Download code/chain_vint8.sh from aqualaguna/MOSS-Image-Edit-OpenVINO: direct link, hf CLI and curl.
- Browser
- Download file 954 Bytes
-
https://huggingface.co/aqualaguna/MOSS-Image-Edit-OpenVINO/resolve/main/code/chain_vint8.sh
- Command line
-
hf download hf://aqualaguna/MOSS-Image-Edit-OpenVINO/code/chain_vint8.sh
-
curl -L -o chain_vint8.sh https://huggingface.co/aqualaguna/MOSS-Image-Edit-OpenVINO/resolve/main/code/chain_vint8.sh
954 Bytes
| # fidelity + speed of the INT8 weight-only IRs on the card against the fp32 CPU references (one GPU job, serial) | |
| PY=/opt/mossimage/venv/bin/python | |
| cd ${CODE_DIR:-/opt/mossimage/code_u1} | |
| echo "##### DiT sft-int8 (keepdown build, 512x512 cases A/B/C)"; $PY -u verify_dit.py --device GPU --which sft --suffix _int8_keepdown | |
| echo "##### TE int8 long prompts (default compute)"; $PY -u verify_te_long.py --device GPU --te-dir te_int8 | |
| echo "##### TE int8 long prompts (f32 compute)"; $PY -u verify_te_long.py --device GPU --te-dir te_int8 --precision f32 | |
| echo "##### TE int8 short prompts"; $PY -u verify_te.py --device GPU --te-dir te_int8 | |
| echo "##### sampler sft-int8 256x256 4 steps vs the original pipeline"; $PY -u ref_e2e.py ov --size 256 --steps 4 --seed 7 --variant sft-int8 | |
| echo "##### sampler sft-int8 with f32 TE"; $PY -u ref_e2e.py ov --size 256 --steps 4 --seed 7 --variant sft-int8 --te-precision f32 | |