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

fix style check

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