Releases: Xilinx/torch-mlir
torch/torchvision nightly as of 2025-01
This contains all torch/torchvision wheels (python 3.10) used in torch-mlir between our merge-base and current upstream.
Downloaded via
#!/bin/bash
COMMIT1=$(git merge-base upstream/main origin/feature/backport_ea1_ops)
COMMIT2="upstream/main"
# Define the file path and the commit range
for FILE_PATH in pytorch-requirements.txt torchvision-requirements.txt; do
# 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 \
-f https://download.pytorch.org/whl/nightly/cpu/torchvision/ \
-f https://download.pytorch.org/whl/nightly/cpu/torch/ \
--extra-index-url https://download.pytorch.org/whl/nightly/cpu
done
done
Then release created manually, assets uploaded via
gh release -R xilinx/torch-mlir upload --clobber snapshot-nightly-2025-01 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.
torch/torchvision nightly as of 2023-07
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.
torch-mlir snapshot snapshot-20240301.530
Automatic snapshot release of torch-mlir.
torch-mlir snapshot snapshot-20231123.429
Automatic snapshot release of torch-mlir.
torch-mlir snapshot snapshot-20230906.350
Automatic snapshot release of torch-mlir.
torch-mlir snapshot snapshot-20230906.349
Automatic snapshot release of torch-mlir.
torch-mlir snapshot snapshot-20230906.347
Automatic snapshot release of torch-mlir.
torch-mlir snapshot snapshot-20230906.346
Automatic snapshot release of torch-mlir.
torch-mlir snapshot snapshot-20230621.269
Automatic snapshot release of torch-mlir.
torch-mlir snapshot snapshot-20230619.264
Automatic snapshot release of torch-mlir.