[GH-ISSUE #225] [BUG] install.sh bug when try to reinstall the deepgemm #132

Closed
opened 2026-10-26 21:13:20 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @Dingjifeng on GitHub (Nov 3, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/225

if use the same version the .whl will not be updated, need to change the script to

pip install dist/*.whl --force-reinstall

full script:

# 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-reinstal

# Open users' original directory
cd "$original_dir"
Originally created by @Dingjifeng on GitHub (Nov 3, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepGEMM/issues/225 if use the same version the .whl will not be updated, need to change the script to ``` pip install dist/*.whl --force-reinstall ``` full script: ``` # 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-reinstal # Open users' original directory cd "$original_dir" ```
Author
Owner

@LyricZhao commented on GitHub (Dec 5, 2025):

Thanks for the comments, fixed in github.com/deepseek-ai/DeepGEMM@9b680f4284.

<!-- gh-comment-id:3615913521 --> @LyricZhao commented on GitHub (Dec 5, 2025): Thanks for the comments, fixed in https://github.com/deepseek-ai/DeepGEMM/commit/9b680f428484625f4f35dc3617f134187c6bcd4a.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepGEMM#132
No description provided.