formatting (#4898)
Co-authored-by: Sean Naren <sean.narenthiran@gmail.com>
This commit is contained in:
parent
df7a52df5f
commit
405645daf8
|
@ -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}
|
||||
|
|
|
@ -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} && \
|
||||
|
|
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue