Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable running the mnist_training sample without cuda #6085

Merged
merged 1 commit into from Dec 16, 2020

Conversation

@georgen117
Copy link
Contributor

@georgen117 georgen117 commented Dec 8, 2020

Signed-off-by: George Nash [email protected]

Description:
Place the cuda specific import into a try block.
Moved other cuda specific code into the if use_cuda block

Motivation and Context

  • Why is this change required? What problem does it solve?
    While working on CPU training code this sample is useful to quickly judge if there is an issue with the training build. However, the cuda specific code prevents running the sample.

  • If it fixes an open issue, please link to the issue here.
    #6084

Signed-off-by: George Nash <[email protected]>
@georgen117 georgen117 changed the title Enable running the mnist_training sample without cuda #6084 Enable running the mnist_training sample without cuda Dec 8, 2020
@snnn
snnn approved these changes Dec 15, 2020
@thiagocrepaldi thiagocrepaldi merged commit 939cc9b into microsoft:master Dec 16, 2020
21 checks passed
21 checks passed
Linux CPU CI Pipeline #20201215.15 succeeded
Details
Linux CPU Minimal Build E2E CI Pipeline Build #20201215.15 succeeded
Details
Linux CPU x64 NoContribops CI Pipeline #20201215.16 succeeded
Details
Linux GPU CI Pipeline #20201215.17 succeeded
Details
Linux GPU TensorRT CI Pipeline #20201215.16 succeeded
Details
Linux OpenVINO CI Pipeline Build #20201215.13 succeeded
Details
MacOS CI Pipeline Build #20201215.15 succeeded
Details
MacOS NoContribops CI Pipeline #20201215.16 succeeded
Details
Windows CPU CI Pipeline #20201215.16 succeeded
Details
Windows GPU CI Pipeline Build #20201215.16 succeeded
Details
Windows GPU TensorRT CI Pipeline Build #20201215.15 succeeded
Details
centos7_cpu Build #20201215.15 succeeded
Details
centos7_cpu (linux_centos_ci Debug) linux_centos_ci Debug succeeded
Details
centos7_cpu (linux_centos_ci Release) linux_centos_ci Release succeeded
Details
license/cla All CLA requirements met.
orttraining-amd-gpu-ci-pipeline Build #orttraining_ci_20201215_12 succeeded
Details
orttraining-distributed Build #20201215.15 succeeded
Details
orttraining-linux-ci-pipeline Build #20201215.15 succeeded
Details
orttraining-linux-gpu-ci-pipeline #20201215.16 succeeded
Details
orttraining-mac-ci-pipeline Build #20201215.15 succeeded
Details
orttraining-win-ci-pipeline #20201215.15 succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.