Files
nvfp4-megamoe-kernel/third_party/DeepGEMM/install.sh

14 lines
331 B
Bash
Executable File

# Change current directory into project root
original_dir=$(pwd)
script_dir=$(realpath "$(dirname "$0")")
cd "$script_dir"
# Remove old dist file, build files, and install
rm -rf build dist
rm -rf *.egg-info
python setup.py bdist_wheel
pip install dist/*.whl --force-reinstall
# Open users' original directory
cd "$original_dir"