build_win.bat 455 B

1234567891011121314151617181920212223
  1. @echo off
  2. set DS_BUILD_AIO=0
  3. set DS_BUILD_CUTLASS_OPS=0
  4. set DS_BUILD_EVOFORMER_ATTN=0
  5. set DS_BUILD_FP_QUANTIZER=0
  6. set DS_BUILD_RAGGED_DEVICE_OPS=0
  7. set DS_BUILD_SPARSE_ATTN=0
  8. echo Administrative permissions required. Detecting permissions...
  9. net session >nul 2>&1
  10. if %errorLevel% == 0 (
  11. echo Success: Administrative permissions confirmed.
  12. ) else (
  13. echo Failure: Current permissions inadequate.
  14. goto end
  15. )
  16. python setup.py bdist_wheel
  17. :end