File tree Expand file tree Collapse file tree 6 files changed +6
-0
lines changed Expand file tree Collapse file tree 6 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1717| infer_start_epoch | int | >= 0 | 是 | 初始化模型时从第几个epoch保留的参数开始加载(从0开始计数,包括本次) |
1818| infer_end_epoch | int | >= 0 | 是 | 初始化模型时到第几个epoch保留的参数停止加载(从0开始技术,不包括本次) |
1919| use_gpu | bool | True/False | 是 | 指定是否使用gpu,若为False则默认使用cpu |
20+ | use_xpu | bool | True/False | 是 | 指定是否使用xpu,若为False则默认使用cpu |
2021| epochs | int | >= 1 | 是 | 指定train阶段需要训练几个epoch |
2122| print_interval | int | >= 1 | 是 | 训练指标打印batch间隔 |
2223| use_auc | bool | True/False | 否 | 在每个epoch开始时重置auc指标的值 |
Original file line number Diff line number Diff line change 1717| infer_start_epoch | int | >= 0 | 是 | 初始化模型时从第几个epoch保留的参数开始加载(从0开始计数,包括本次) |
1818| infer_end_epoch | int | >= 0 | 是 | 初始化模型时到第几个epoch保留的参数停止加载(从0开始技术,不包括本次) |
1919| use_gpu | bool | True/False | 是 | 指定是否使用gpu,若为False则默认使用cpu |
20+ | use_xpu | bool | True/False | 是 | 指定是否使用xpu,若为False则默认使用cpu |
2021| epochs | int | >= 1 | 是 | 指定train阶段需要训练几个epoch |
2122| print_interval | int | >= 1 | 是 | 训练指标打印batch间隔 |
2223| use_auc | bool | True/False | 否 | 在每个epoch开始时重置auc指标的值 |
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ runner:
1717 train_data_dir : " data/sample_data/train"
1818 train_reader_path : " criteo_reader" # importlib format
1919 use_gpu : False
20+ use_xpu : False # Enable this option only if you have an xpu device
2021 use_auc : True
2122 train_batch_size : 2
2223 epochs : 3
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ runner:
1818 train_data_dir : " ../../../datasets/criteo/slot_train_data_full"
1919 train_reader_path : " criteo_reader" # importlib format
2020 use_gpu : True
21+ use_xpu : False # Enable this option only if you have an xpu device
2122 use_auc : False
2223 train_batch_size : 512
2324 epochs : 1
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ runner:
1818 train_data_dir : " data/sample_data/train"
1919 train_reader_path : " criteo_reader" # importlib format
2020 use_gpu : False
21+ use_xpu : False # Enable this option only if you have an xpu device
2122 use_auc : True
2223 train_batch_size : 50
2324 epochs : 4
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ runner:
1919 train_data_dir : " ../../../datasets/criteo/slot_train_data_full"
2020 train_reader_path : " criteo_reader" # importlib format
2121 use_gpu : True
22+ use_xpu : False # Enable this option only if you have an xpu device
2223 use_auc : True
2324 train_batch_size : 512
2425 epochs : 4
You can’t perform that action at this time.
0 commit comments