@@ -296,20 +296,20 @@ stages:
296
296
steps :
297
297
- template : get-docker-image-steps.yml
298
298
parameters :
299
- Dockerfile : tools/ci_build/github/linux/docker/Dockerfile.manylinux2014_rocm
299
+ Dockerfile : tools/ci_build/github/linux/docker/Dockerfile.manylinux2014_rocm4_2
300
300
Context : tools/ci_build/github/linux/docker
301
301
DockerBuildArgs : >-
302
- --build-arg TORCH_VERSION=1.8.1
302
+ --build-arg TORCH_VERSION=1.9.0
303
303
--build-arg INSTALL_DEPS_EXTRA_ARGS=-tmur
304
304
--build-arg BUILD_UID=$(id -u)
305
305
--network=host --build-arg POLICY=manylinux2014 --build-arg PLATFORM=x86_64
306
306
--build-arg DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root
307
307
--build-arg PREPEND_PATH=/opt/rh/devtoolset-10/root/usr/bin:
308
308
--build-arg LD_LIBRARY_PATH_ARG=/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64:/usr/local/lib
309
- Repository : onnxruntimetrainingrocmbuild-torch1.8.1
309
+ Repository : onnxruntimetrainingrocmbuild-torch1.9.0-rocm4.2
310
310
- template : get-docker-image-steps.yml
311
311
parameters :
312
- Dockerfile : tools/ci_build/github/linux/docker/Dockerfile.manylinux2014_rocm
312
+ Dockerfile : tools/ci_build/github/linux/docker/Dockerfile.manylinux2014_rocm4_3_1
313
313
Context : tools/ci_build/github/linux/docker
314
314
DockerBuildArgs : >-
315
315
--build-arg TORCH_VERSION=1.9.0
@@ -319,7 +319,7 @@ stages:
319
319
--build-arg DEVTOOLSET_ROOTPATH=/opt/rh/devtoolset-10/root
320
320
--build-arg PREPEND_PATH=/opt/rh/devtoolset-10/root/usr/bin:
321
321
--build-arg LD_LIBRARY_PATH_ARG=/opt/rh/devtoolset-10/root/usr/lib64:/opt/rh/devtoolset-10/root/usr/lib:/opt/rh/devtoolset-10/root/usr/lib64/dyninst:/opt/rh/devtoolset-10/root/usr/lib/dyninst:/usr/local/lib64:/usr/local/lib
322
- Repository : onnxruntimetrainingrocmbuild-torch1.9.0
322
+ Repository : onnxruntimetrainingrocmbuild-torch1.9.0-rocm4.3.1
323
323
324
324
- job : ROCM_training_wheels
325
325
timeoutInMinutes : 180
@@ -331,30 +331,38 @@ stages:
331
331
- ROCm_build_environment
332
332
strategy :
333
333
matrix :
334
- Python36 Torch181 :
334
+ Python36 Torch190 Rocm42 :
335
335
PythonVersion : ' 3.6'
336
- TorchVersion : ' 1.8.1'
337
- Python37 Torch181 :
336
+ TorchVersion : ' 1.9.0'
337
+ RocmVersion : ' 4.2'
338
+ Python37 Torch190 Rocm42 :
338
339
PythonVersion : ' 3.7'
339
- TorchVersion : ' 1.8.1'
340
- Python38 Torch181 :
340
+ TorchVersion : ' 1.9.0'
341
+ RocmVersion : ' 4.2'
342
+ Python38 Torch190 Rocm42 :
341
343
PythonVersion : ' 3.8'
342
- TorchVersion : ' 1.8.1'
343
- Python39 Torch181 :
344
+ TorchVersion : ' 1.9.0'
345
+ RocmVersion : ' 4.2'
346
+ Python39 Torch190 Rocm42 :
344
347
PythonVersion : ' 3.9'
345
- TorchVersion : ' 1.8.1'
346
- Python36 Torch190 :
348
+ TorchVersion : ' 1.9.0'
349
+ RocmVersion : ' 4.2'
350
+ Python36 Torch190 Rocm431 :
347
351
PythonVersion : ' 3.6'
348
352
TorchVersion : ' 1.9.0'
349
- Python37 Torch190 :
353
+ RocmVersion : ' 4.3.1'
354
+ Python37 Torch190 Rocm431 :
350
355
PythonVersion : ' 3.7'
351
356
TorchVersion : ' 1.9.0'
352
- Python38 Torch190 :
357
+ RocmVersion : ' 4.3.1'
358
+ Python38 Torch190 Rocm431 :
353
359
PythonVersion : ' 3.8'
354
360
TorchVersion : ' 1.9.0'
355
- Python39 Torch190 :
361
+ RocmVersion : ' 4.3.1'
362
+ Python39 Torch190 Rocm431 :
356
363
PythonVersion : ' 3.9'
357
364
TorchVersion : ' 1.9.0'
365
+ RocmVersion : ' 4.3.1'
358
366
steps :
359
367
360
368
- checkout : self
@@ -380,11 +388,11 @@ stages:
380
388
-e NIGHTLY_BUILD \
381
389
-e BUILD_BUILDNUMBER \
382
390
--user onnxruntimedev \
383
- onnxruntimetrainingrocmbuild-torch$(TorchVersion) \
391
+ onnxruntimetrainingrocmbuild-torch$(TorchVersion)-rocm$(RocmVersion) \
384
392
/onnxruntime_src/tools/ci_build/build.py \
385
393
--config Release \
386
394
--use_rocm \
387
- --rocm_version=4.2 \
395
+ --rocm_version=$(RocmVersion) \
388
396
--rocm_home=/opt/rocm \
389
397
--nccl_home=/opt/rocm \
390
398
--update \
@@ -435,7 +443,7 @@ stages:
435
443
-e NIGHTLY_BUILD \
436
444
-e BUILD_BUILDNUMBER \
437
445
--user onnxruntimedev \
438
- onnxruntimetrainingrocmbuild-torch$(TorchVersion) \
446
+ onnxruntimetrainingrocmbuild-torch$(TorchVersion)-rocm$(RocmVersion) \
439
447
/onnxruntime_src/tools/ci_build/github/pai/pai_test_launcher.sh
440
448
displayName: 'Run onnxruntime unit tests (in container)'
441
449
@@ -458,7 +466,7 @@ stages:
458
466
-e NIGHTLY_BUILD \
459
467
-e BUILD_BUILDNUMBER \
460
468
--user onnxruntimedev \
461
- onnxruntimetrainingrocmbuild-torch$(TorchVersion) \
469
+ onnxruntimetrainingrocmbuild-torch$(TorchVersion)-rocm$(RocmVersion) \
462
470
orttraining/tools/ci_test/run_batch_size_test.py \
463
471
--binary_dir /build/Release \
464
472
--model_root training_e2e_test_data/models \
@@ -485,7 +493,7 @@ stages:
485
493
-e NIGHTLY_BUILD \
486
494
-e BUILD_BUILDNUMBER \
487
495
--user onnxruntimedev \
488
- onnxruntimetrainingrocmbuild-torch$(TorchVersion) \
496
+ onnxruntimetrainingrocmbuild-torch$(TorchVersion)-rocm$(RocmVersion) \
489
497
orttraining/tools/ci_test/run_bert_perf_test.py \
490
498
--binary_dir /build/Release \
491
499
--model_root training_e2e_test_data/models \
@@ -513,7 +521,7 @@ stages:
513
521
-e NIGHTLY_BUILD \
514
522
-e BUILD_BUILDNUMBER \
515
523
--user onnxruntimedev \
516
- onnxruntimetrainingrocmbuild-torch$(TorchVersion) \
524
+ onnxruntimetrainingrocmbuild-torch$(TorchVersion)-rocm$(RocmVersion) \
517
525
orttraining/tools/ci_test/run_convergence_test.py \
518
526
--binary_dir /build/Release \
519
527
--model_root training_e2e_test_data/models \
@@ -552,7 +560,7 @@ stages:
552
560
-e NIGHTLY_BUILD \
553
561
-e BUILD_BUILDNUMBER \
554
562
-e PythonManylinuxDir=$(PythonManylinuxdir) \
555
- onnxruntimetrainingrocmbuild-torch$(TorchVersion) \
563
+ onnxruntimetrainingrocmbuild-torch$(TorchVersion)-rocm$(RocmVersion) \
556
564
/onnxruntime_src/tools/ci_build/github/pai/wrap_rocm_python_doc_publisher.sh
557
565
workingDirectory : $(Build.SourcesDirectory)
558
566
0 commit comments