Skip to content

Commit

Permalink
Update PyTorch script
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Nov 28, 2024
1 parent e32209f commit 964d94d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/pytorch
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ schema() {
metadata() {
echo "pytorch metadata"
[[ $(grep -U $'\x0D' ./source/pytorch-metadata.json) ]] && crlf=1
venv
${python} ./tools/pytorch_script.py
deactivate
if [[ -n ${crlf} ]]; then
unix2dos --quiet --newfile ./source/pytorch-metadata.json ./source/pytorch-metadata.json
fi
Expand Down

0 comments on commit 964d94d

Please sign in to comment.