* env script * update README.md * modify README * modify cpu info output * add env-check.sh * add env-check.bat * add windows * modify bat
19 lines
425 B
Batchfile
19 lines
425 B
Batchfile
@echo off
|
|
|
|
|
|
python -V
|
|
if ERRORLEVEL 1 (
|
|
echo No Python found! How to create environment could be found in the README.md
|
|
goto:end
|
|
)
|
|
python check.py
|
|
|
|
echo -----------------------------------------------------------------
|
|
echo System Information
|
|
systeminfo
|
|
echo -----------------------------------------------------------------
|
|
xpu-smi.exe
|
|
if ERRORLEVEL 1 (
|
|
echo xpu-smi is not installed properly.
|
|
goto:end
|
|
)
|