Bugfixes for docker build and start scripts + readme

This commit is contained in:
ekoc committed 2025-02-27 22:28:13 +01:00
1 parent cef6d8cf36
commit 13db476dd0
5 files changed
+16 -6

No files matched your search

+4 -1
View File
@@ -23,7 +23,7 @@ while [ "$#" -gt 0 ]; do
DOCKER_TAG="$2"
shift
;;
--github-repository)
--docker-repository)
if [ -n "$2" ] && ! [[ $2 =~ ^--.* ]]; then
DOCKER_REPOSITORY="$2"
shift
@@ -39,6 +39,9 @@ while [ "$#" -gt 0 ]; do
shift
done
# Append slash if missing:
DOCKER_REPOSITORY=$(echo "$DOCKER_REPOSITORY" | sed 's![^/]$!&/!')
PYTHON_SHORT_VERSION=${PYTHON_VERSION%.*}
PYTHON_VERSION_NO_DOT=${PYTHON_SHORT_VERSION//./}
if [[ -n $(find build -name "deepspeed-${DEEPSPEED_VERSION}*-cp${PYTHON_VERSION_NO_DOT}-cp${PYTHON_VERSION_NO_DOT}-*.whl") ]]