{"id":980,"date":"2021-01-16T00:03:40","date_gmt":"2021-01-16T00:03:40","guid":{"rendered":"http:\/\/www.wellformedness.com\/blog\/?p=980"},"modified":"2021-01-16T00:03:40","modified_gmt":"2021-01-16T00:03:40","slug":"dynet-cuda-support","status":"publish","type":"post","link":"https:\/\/www.wellformedness.com\/blog\/dynet-cuda-support\/","title":{"rendered":"DyNet + CUDA support"},"content":{"rendered":"<p>I alawys have trouble getting DyNet working with CUDA support. Here&#8217;s what worked today (Ubuntu 18.04 LTS; Linux 5.4.0; conda 4.9.2):<\/p>\r\n<pre>conda install -c conda-forge cudatoolkit-dev=10.2<br \/>conda install -c pytorch cudatoolkit=10.2<br \/>BACKEND=cuda pip install -v git+https:\/\/github.com\/clab\/dynet#egg=dynet<\/pre>\r\n","protected":false},"excerpt":{"rendered":"<p>I alawys have trouble getting DyNet working with CUDA support. Here&#8217;s what worked today (Ubuntu 18.04 LTS; Linux 5.4.0; conda 4.9.2): conda install -c conda-forge cudatoolkit-dev=10.2conda install -c pytorch cudatoolkit=10.2BACKEND=cuda pip install -v git+https:\/\/github.com\/clab\/dynet#egg=dynet<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[3,4,5,8],"tags":[],"class_list":["post-980","post","type-post","status-publish","format-standard","hentry","category-dev","category-language","category-nlp","category-python"],"_links":{"self":[{"href":"https:\/\/www.wellformedness.com\/blog\/wp-json\/wp\/v2\/posts\/980","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wellformedness.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wellformedness.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wellformedness.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wellformedness.com\/blog\/wp-json\/wp\/v2\/comments?post=980"}],"version-history":[{"count":2,"href":"https:\/\/www.wellformedness.com\/blog\/wp-json\/wp\/v2\/posts\/980\/revisions"}],"predecessor-version":[{"id":983,"href":"https:\/\/www.wellformedness.com\/blog\/wp-json\/wp\/v2\/posts\/980\/revisions\/983"}],"wp:attachment":[{"href":"https:\/\/www.wellformedness.com\/blog\/wp-json\/wp\/v2\/media?parent=980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wellformedness.com\/blog\/wp-json\/wp\/v2\/categories?post=980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wellformedness.com\/blog\/wp-json\/wp\/v2\/tags?post=980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}