mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/44651 Adds pruning for our anaconda channels (pytorch-nightly, pytorch-test) into our CI pipeline so that it gets run on a more consistent basis. Signed-off-by: Eli Uriegas <eliuriegas@fb.com> Test Plan: Imported from OSS Reviewed By: walterddr Differential Revision: D23692851 Pulled By: seemethere fbshipit-source-id: fa69b506b73805bf2ffbde75d221aef1ee3f753e
15 lines
329 B
Bash
Executable File
15 lines
329 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
CHANNEL=${CHANNEL:-pytorch-nightly}
|
|
PACKAGES=${PACKAGES:-pytorch}
|
|
|
|
for pkg in ${PACKAGES}; do
|
|
echo "+ Attempting to prune: ${CHANNEL}/${pkg}"
|
|
CHANNEL="${CHANNEL}" PKG="${pkg}" "${DIR}/prune.sh"
|
|
echo
|
|
done
|