torch/torchvision nightly as of 2023-07
Pre-release
Pre-release
·
1555 commits
to feature/backport_ea1_ops
since this release
This contains all torch/torchvision wheels (python 3.10) used in torch-mlir between our merge-base and current upstream.
Downloaded via
#!/bin/bash
# Define the file path and the commit range
#FILE_PATH="pytorch-requirements.txt"
FILE_PATH="torchvision-requirements.txt"
COMMIT1=$(git merge-base upstream/main origin/feature/backport_ea1_ops)
COMMIT2="upstream/main"
# Get all commit hashes that changed the file between the two commits
COMMITS=$(git log --oneline --reverse $COMMIT1..$COMMIT2 -- $FILE_PATH | awk '{print $1}')
# Extract file content from each commit and store unique lines
declare -A unique_lines
for COMMIT in $COMMITS; do
# Get the file content at this commit
LINE=$(git show $COMMIT:$FILE_PATH | tail -n1)
# Add the line to the associative array
unique_lines["$LINE"]=1
done
# Print all unique lines
echo "Unique lines between $COMMIT1 and $COMMIT2 in $FILE_PATH:"
for LINE in "${!unique_lines[@]}"; do
echo "$LINE"
pip download $LINE --no-deps --dest deps --python-version 3.10 -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
done
Then release created manually, assets uploaded via
gh release -R xilinx/torch-mlir upload --clobber snapshot-nightly-2024-07 deps/*
and then update the package-index (https://xilinx.github.io/torch-mlir/package-index/) by triggering the job https://github.com/Xilinx/torch-mlir/actions/workflows/gh-pages-releases.yml.