提交 900e911f 编写于 作者: T typhoonzero

fix style check

上级 08b529a7
......@@ -13,4 +13,3 @@ Check the logs for the distributed training progress and analyze the performance
## Enable verbos logs
Edit `pserver.yaml` and `trainer.yaml` and add an environment variable `GLOG_v=3` to see what happend in detail.
......@@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""VGG16 benchmark in Fluid"""
from __future__ import print_function
......
apiVersion: extensions/v1beta1
kind: ReplicaSet
metadata:
name: vgg16job-pserver
name: vgg16v2job-pserver
spec:
replicas: 10
template:
metadata:
labels:
paddle-job-pserver: vgg16job
paddle-job-pserver: vgg16v2job
spec:
hostNetwork: true
imagePullSecrets:
......@@ -21,7 +21,7 @@ spec:
containerPort: 30236
env:
- name: PADDLE_JOB_NAME
value: vgg16job
value: vgg16v2job
- name: TRAINERS
value: "20"
- name: PSERVERS
......
apiVersion: batch/v1
kind: Job
metadata:
name: vgg16job-trainer
name: vgg16v2job-trainer
spec:
parallelism: 20
completions: 20
template:
metadata:
labels:
paddle-job: vgg16job
paddle-job: vgg16v2job
spec:
imagePullSecrets:
- name: job-registry-secret
......@@ -20,7 +20,7 @@ spec:
command: ["paddle_k8s", "start_trainer", "v2"]
env:
- name: PADDLE_JOB_NAME
value: vgg16job
value: vgg16v2job
- name: TRAINERS
value: "20"
- name: PSERVERS
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册