mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Summary: This will support another round of migration from hand-written configs to code generation. Pull Request resolved: https://github.com/pytorch/pytorch/pull/38496 Differential Revision: D21581624 Pulled By: kostmo fbshipit-source-id: aed814ef6d4fc6af9ce092727b2dacc99de14ae0
17 lines
291 B
Bash
Executable file
17 lines
291 B
Bash
Executable file
#!/bin/bash -xe
|
|
|
|
|
|
YAML_FILENAME=verbatim-sources/workflows-pytorch-ge-config-tests.yml
|
|
DIFF_TOOL=meld
|
|
|
|
|
|
# Allows this script to be invoked from any directory:
|
|
cd $(dirname "$0")
|
|
|
|
pushd ..
|
|
|
|
|
|
$DIFF_TOOL $YAML_FILENAME <(./codegen_validation/normalize_yaml_fragment.py < $YAML_FILENAME)
|
|
|
|
|
|
popd
|