-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6279fd5
commit 8ae745d
Showing
5 changed files
with
21 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# 设置 GammaGL 目录的路径 | ||
# GAMMAGL_DIR="/home/zgy/GammaGL" | ||
GAMMAGL_DIR="/home/zgy/operator0309/operator0411/GammaGL" | ||
|
||
# 删除 build、dist 和 gammagl.egg-info 目录 | ||
rm -rf "$GAMMAGL_DIR/build" "$GAMMAGL_DIR/dist" "$GAMMAGL_DIR/gammagl.egg-info" | ||
|
||
# 删除 GammaGL/gammagl/mpops/torch_ext 路径下以 .so 结尾的文件 | ||
find "$GAMMAGL_DIR/gammagl/mpops/torch_ext" -name "*.so" -type f -exec rm -f {} + | ||
find "$GAMMAGL_DIR/gammagl/ops" -name "*.so" -type f -exec rm -f {} + | ||
find "$GAMMAGL_DIR/gammagl/mpops/torch_ext" -name "*.pyd" -type f -exec rm -f {} + | ||
find "$GAMMAGL_DIR/gammagl/ops" -name "*.pyd" -type f -exec rm -f {} + | ||
|
||
echo "Cleanup completed." | ||
|
||
pip uninstall gammagl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters