You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by GitBox <gi...@apache.org> on 2022/12/05 10:04:02 UTC

[GitHub] [singa] lzjpaul opened a new issue, #1018: Switch between CPU and GPU devices for cnn example

lzjpaul opened a new issue, #1018:
URL: https://github.com/apache/singa/issues/1018

   For cifar_distributed_cnn and cnn examples, the model is by default run on the GPU. Need to enable it to run on CPU for machines with only CPUs


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@singa.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Switch between CPU and GPU devices for cnn example [singa]

Posted by "lzjpaul (via GitHub)" <gi...@apache.org>.
lzjpaul closed issue #1018: Switch between CPU and GPU devices for cnn example
URL: https://github.com/apache/singa/issues/1018


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@singa.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [singa] lzjpaul commented on issue #1018: Switch between CPU and GPU devices for cnn example

Posted by "lzjpaul (via GitHub)" <gi...@apache.org>.
lzjpaul commented on issue #1018:
URL: https://github.com/apache/singa/issues/1018#issuecomment-1437822688

   Add a conditional judgement to decide whether use CPU or GPU and then apply the devices to datasets and models


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@singa.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Switch between CPU and GPU devices for cnn example [singa]

Posted by "lzjpaul (via GitHub)" <gi...@apache.org>.
lzjpaul commented on issue #1018:
URL: https://github.com/apache/singa/issues/1018#issuecomment-2165923896

   This has been resolved in https://github.com/apache/singa/blob/dev/examples/cifar_distributed_cnn/train_cnn.py


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@singa.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [singa] lzjpaul commented on issue #1018: Switch between CPU and GPU devices for cnn example

Posted by "lzjpaul (via GitHub)" <gi...@apache.org>.
lzjpaul commented on issue #1018:
URL: https://github.com/apache/singa/issues/1018#issuecomment-1443129833

   modify line 114 for judging CPU and GPU in https://github.com/apache/singa/blob/dev/examples/cifar_distributed_cnn/train_cnn.py


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@singa.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [singa] lzjpaul commented on issue #1018: Switch between CPU and GPU devices for cnn example

Posted by "lzjpaul (via GitHub)" <gi...@apache.org>.
lzjpaul commented on issue #1018:
URL: https://github.com/apache/singa/issues/1018#issuecomment-1437822973

   https://github.com/apache/singa/commit/0a2d9b20c743b7b1501f1b50db32d36b00de85a0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@singa.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org