Skip to content

Commit

Permalink
fix install torch (#1247)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkufool authored Sep 26, 2023
1 parent db2f476 commit 9bad91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/github_actions/install_torch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9bad91b

Please sign in to comment.