Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packaging/pre_build_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -eux
echo "This script is run before building torchao binaries"

python -m pip install --upgrade pip
if [ -z "$PYTORCH_VERSION" ]; then
if [ -z ${PYTORCH_VERSION:-} ]; then
PYTORCH_DEP="torch"
else
PYTORCH_DEP="torch==$PYTORCH_VERSION"
Expand Down