{"id":4176,"date":"2019-10-24T09:56:18","date_gmt":"2019-10-24T08:56:18","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=4176"},"modified":"2019-10-25T12:09:58","modified_gmt":"2019-10-25T11:09:58","slug":"pyro-ppl","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/pyro-ppl\/","title":{"rendered":"pyro-ppl"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/pyro.ai\/\">Pyro<\/a> Pyro is a universal probabilistic programming language (PPL) written in Python and supported by PyTorch on the backend. Pyro enables flexible and expressive deep probabilistic modeling, unifying the best of modern deep learning and Bayesian modeling. It was designed with these key principles:<\/p>\n<p>Universal: Pyro can represent any computable probability distribution.<br \/>\nScalable: Pyro scales to large data sets with little overhead.<br \/>\nMinimal: Pyro is implemented with a small core of powerful, composable abstractions.<br \/>\nFlexible: Pyro aims for automation when you want it, control when you need it.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>There are no restrictions on accessing the software on the CSF. <\/p>\n<h2>Set up procedure<\/h2>\n<p>We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this. Alternatively, you may load modulefiles on the login node and let the job <abbr title=\"add '#$ -V' to your jobscript\">inherit these settings<\/abbr>.<\/p>\n<p>Load one of the following modulefiles:<\/p>\n<pre>\r\nmodule load apps\/python\/pyro-ppl\/0.5.0        # Uses Anaconda python 2019.07 (python 3.6)\r\n                                              # Uses Cuda 10.1.168 library\r\n<\/pre>\n<p>The Anaconda Python modulefile and Cuda library will be loaded automatically.<\/p>\n<h2>Running the application<\/h2>\n<p>Please do not run pyro-ppl  on the login node. Jobs should be submitted to the compute nodes via batch.<\/p>\n<h3>Serial batch job submission<\/h3>\n<p>Create a batch submission script (which will load the modulefile in the jobscript), for example:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#$ -cwd             # Job will run from the current directory\r\n                    # NO -V line - we load modulefiles in the jobscript\r\n\r\n# We recommend loading modulefiles in jobscripts. Use your requried version.\r\nmodule load apps\/python\/pyro-ppl\/0.5.0\r\n\r\npython pyro.py\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>Parallel batch job submission<\/h3>\n<p>Given an example parallel jobscript, including suitable PE<\/p>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"http:\/\/docs.pyro.ai\/en\/stable\/\">Pyro Documentation docs website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Pyro Pyro is a universal probabilistic programming language (PPL) written in Python and supported by PyTorch on the backend. Pyro enables flexible and expressive deep probabilistic modeling, unifying the best of modern deep learning and Bayesian modeling. It was designed with these key principles: Universal: Pyro can represent any computable probability distribution. Scalable: Pyro scales to large data sets with little overhead. Minimal: Pyro is implemented with a small core of powerful, composable abstractions&#8230; <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/pyro-ppl\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":12,"featured_media":0,"parent":86,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4176","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/4176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=4176"}],"version-history":[{"count":4,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/4176\/revisions"}],"predecessor-version":[{"id":4196,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/4176\/revisions\/4196"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/86"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=4176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}