mirror of
https://github.com/deepspeedai/DeepSpeed.git
synced 2025-10-20 15:33:51 +08:00
* Fix build issues on Windows * small fix to complie with new version of Microsoft C++ Build Tools Co-authored-by: Reza Yazdani <reyazda@microsoft.com> Co-authored-by: Reza Yazdani <44502768+RezaYazdaniAminabadi@users.noreply.github.com>
20 lines
337 B
Batchfile
20 lines
337 B
Batchfile
@echo off
|
|
|
|
set DS_BUILD_AIO=0
|
|
set DS_BUILD_SPARSE_ATTN=0
|
|
|
|
echo Administrative permissions required. Detecting permissions...
|
|
|
|
net session >nul 2>&1
|
|
if %errorLevel% == 0 (
|
|
echo Success: Administrative permissions confirmed.
|
|
) else (
|
|
echo Failure: Current permissions inadequate.
|
|
goto end
|
|
)
|
|
|
|
|
|
python setup.py bdist_wheel
|
|
|
|
:end
|