diff --git a/scripts/github_actions/install_torch.sh b/scripts/github_actions/install_torch.sh index 84eef395f..689ff58e8 100755 --- a/scripts/github_actions/install_torch.sh +++ b/scripts/github_actions/install_torch.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -if [ $TORCH_VERSION != "" ] && [ $CUDA_VERSION != ""]; then +if [ $TORCH_VERSION != "" ] && [ $CUDA_VERSION != "" ]; then torch=$TORCH_VERSION cuda=$CUDA_VERSION fi