formatting (#4898)

Co-authored-by: Sean Naren <sean.narenthiran@gmail.com>
This commit is contained in:
Jirka Borovec 2020-11-30 06:57:28 +01:00 committed by GitHub
parent df7a52df5f
commit 405645daf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -45,7 +45,7 @@ references:
command: |
go get github.com/google/go-jsonnet/cmd/jsonnet
export PATH=$PATH:$HOME/go/bin
python -c "fname = 'dockers/tpu-tests/tpu_test_cases.jsonnet' ; req = open(fname).read().replace('pytorch-VERSION', 'pytorch-$XLA_VER') ; open(fname, 'w').write(req)"
python -c "fname = 'dockers/tpu-tests/tpu_test_cases.jsonnet' ; fff = open(fname).read().replace('pytorch-VERSION', 'pytorch-$XLA_VER') ; open(fname, 'w').write(fff)"
job_name=$(jsonnet -J ml-testing-accelerators/ dockers/tpu-tests/tpu_test_cases.jsonnet --ext-str image=$GCR_IMAGE_PATH --ext-str image-tag=$CIRCLE_WORKFLOW_JOB_ID | kubectl create -f -)
job_name=${job_name#job.batch/}
job_name=${job_name% created}

View File

@ -90,7 +90,7 @@ jobs:
env:
XLA_VER: ${{ matrix.xla-version }}
run: |-
python -c "fname = 'dockers/tpu-tests/tpu_test_cases.jsonnet' ; req = open(fname).read().replace('pytorch-VERSION', 'pytorch-$XLA_VER') ; open(fname, 'w').write(req)"
python -c "fname = 'dockers/tpu-tests/tpu_test_cases.jsonnet' ; ttt = open(fname).read().replace('pytorch-VERSION', 'pytorch-$XLA_VER') ; open(fname, 'w').write(ttt)"
job_name=$(jsonnet -J ml-testing-accelerators/ dockers/tpu-tests/tpu_test_cases.jsonnet --ext-str image=$IMAGE --ext-str image-tag=$IMAGETAG | kubectl create -f -) && \
job_name=${job_name#job.batch/} && \
job_name=${job_name% created} && \

View File

@ -601,7 +601,6 @@ def test_log_works_in_train_callback(tmpdir):
self.make_logging(pl_module, 'on_train_epoch_end', 9, on_steps=[False],
on_epochs=self.choices, prob_bars=self.choices)
class TestModel(BoringModel):
manual_loss = []