From 4e69db84a6dce12226761670e9843e229620a1c2 Mon Sep 17 00:00:00 2001 From: Felipe Mello Date: Wed, 25 Sep 2024 17:43:22 -0400 Subject: [PATCH] add upgrade to pip command (#1687) Co-authored-by: Felipe Mello --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d5b9ee0ed7..58187d0bf9 100644 --- a/README.md +++ b/README.md @@ -119,8 +119,8 @@ pip install torchtune ```bash # Install PyTorch, torchvision, torchao nightlies -pip install --pre torch torchvision torchao --index-url https://download.pytorch.org/whl/nightly/cu121 -pip install --pre torchtune --extra-index-url https://download.pytorch.org/whl/nightly/cpu +pip install --pre --upgrade torch torchvision torchao --index-url https://download.pytorch.org/whl/nightly/cu121 +pip install --pre --upgrade torchtune --extra-index-url https://download.pytorch.org/whl/nightly/cpu ``` You can also check out our [install documentation](https://pytorch.org/torchtune/main/install.html) for more information, including installing torchtune from source.