428cc07 | Graham Neubig | 19 October 2017, 12:30:26 UTC | Fixed build on windows? Former-commit-id: acca1e13bd334b786bf5194d2806b70beda76c03 | 19 October 2017, 12:30:26 UTC |
492fbd9 | Graham Neubig | 19 October 2017, 11:45:39 UTC | Added python bindings Former-commit-id: 781fb2b474966dc49cb096192bfcafbbee02fd46 | 19 October 2017, 11:45:39 UTC |
cecd48a | Graham Neubig | 19 October 2017, 11:41:06 UTC | Added binding and bugfix Former-commit-id: 75ec2f29d79f53867d89381d4621be9dc1242416 | 19 October 2017, 11:41:06 UTC |
853af28 | Graham Neubig | 19 October 2017, 11:17:54 UTC | Merge branch 'master' of github.com:clab/dynet into logsumexp-dim Former-commit-id: a739abeb9475d2417d8c0dedbaad6887ce347d30 | 19 October 2017, 11:17:54 UTC |
1046e3a | Graham Neubig | 19 October 2017, 11:17:34 UTC | Initial addition of logsumexp_dim Former-commit-id: 661a9d16c204ebffea8fbfb649f6a01840c9d907 | 19 October 2017, 11:17:34 UTC |
0f2e9e1 | Hong Wu | 19 October 2017, 11:14:42 UTC | Mutli-gpu support for Tensor::copy_element. (#999) Former-commit-id: c48031d067d4c3d43d0dfb1ad9dedcf36fc2c17a | 19 October 2017, 11:14:42 UTC |
6ef606f | Daniel Hershcovich | 19 October 2017, 11:14:21 UTC | Build Windows wheels on AppVeyor (#1000) * Build Windows wheel on AppVeyor * Add Python versions to AppVeyor Former-commit-id: 8d54af5fd2d5f08efbc0aedf346e6790c7b1c2f5 | 19 October 2017, 11:14:21 UTC |
ecdc114 | Graham Neubig | 19 October 2017, 02:22:04 UTC | Added dimension option to tensortools logsumexp Former-commit-id: 7f16e9de2ff9e38ca83f9fa74b6e03003451e96e | 19 October 2017, 02:22:04 UTC |
c5d1684 | Graham Neubig | 19 October 2017, 01:27:46 UTC | Sum dim (#997) * Some modification of sum_dim to match moment_dim * Update of python doc * Fixed default batch value Former-commit-id: 830e0fb70d5cf826025e12340979f037751d0de4 | 19 October 2017, 01:27:46 UTC |
b3f26b0 | Paul Michel | 18 October 2017, 21:35:52 UTC | Remove useless external dependency (#998) Former-commit-id: a8fa71d2749804ca81b55e4600014ec1b1091ffa | 18 October 2017, 21:35:52 UTC |
768b99f | Hong Wu | 18 October 2017, 12:23:05 UTC | Add devices/xor-multidevice in example (#993) Former-commit-id: a5f230572688d36246b5937b41f42ebaadc207a4 | 18 October 2017, 12:23:05 UTC |
abd3676 | Hong Wu | 18 October 2017, 12:22:51 UTC | Fix several places missing support for multi-gpu. (#994) Former-commit-id: 4910c210bc9a3823cd981ad52fd30cdd56df7c09 | 18 October 2017, 12:22:51 UTC |
bddfedd | Graham Neubig | 17 October 2017, 16:52:12 UTC | Full multi-GPU support (#967) * A start at full multi-GPU support * Made sure appropriate device used before forward * add across device memcpy for copy_elements function * fix several bugs for matrixmultiply and Tensor::zero * fix several multi-gpu bugs * typo fix * clean up * Fixed multi-device example * Address comments in pr Former-commit-id: 9ab97efb3daa5c2dd8ca01bc51780dda6b0c265a | 17 October 2017, 16:52:12 UTC |
321bfbe | Daniel Hershcovich | 17 October 2017, 16:31:47 UTC | Change model parameters to be stored as shared pointers (#986) * Fix #930 and #954: model params are now shared_ptr * Add test for parameter access after deleting model * Keep reference to parent model in Python * Test deleting parent model * Fix model save/load test to handle shared pointers properly * Remove assertions, just verify no segfault occurs * Add back std:: prefix Former-commit-id: f9ec2c37a96c2b5036684e197ca0a66f2177c182 | 17 October 2017, 16:31:47 UTC |
56049b5 | Graham Neubig | 17 October 2017, 11:22:47 UTC | Updated Eigen version Former-commit-id: f865da5d1a21e747fafb3ac034407e4f444f3da8 | 17 October 2017, 11:22:47 UTC |
a9045bb | Daniel Hershcovich | 15 October 2017, 13:35:51 UTC | Run full Travis CI test suite only on cron jobs (#985) * Run full Travis CI test suite only on cron jobs * Only build the master branch, avoid double builds Former-commit-id: cabbb552df3798eca85dfe55f94320dd6519162b | 15 October 2017, 13:35:51 UTC |
0b104c4 | Daniel Hershcovich | 15 October 2017, 13:35:34 UTC | Run Python unit tests on AppVeyor (#984) * Create conda env on AppVeyor * Run Python unit tests on AppVeyor * PyPI deploy on AppVeyor on tags * Update AppVeyor badge link * Fix AppVeyor build directory Former-commit-id: dd29db7942297981816e763d8c33103c65732204 | 15 October 2017, 13:35:34 UTC |
19b2538 | Graham Neubig | 13 October 2017, 17:30:20 UTC | An attempt at more numerically stable softmax (#979) * An attempt at more numerically stable softmax * Made softmax faster on CPU (4x?) * Made log_softmax faster * Fixed bugs Former-commit-id: c1b3bae4d679726498fc2e6bd6fa96eeb7b76dd7 | 13 October 2017, 17:30:20 UTC |
d1c672d | Paul Michel | 13 October 2017, 16:57:42 UTC | fix Former-commit-id: 065dbaf3066480326083488440f3ceb9cbae1303 | 13 October 2017, 16:57:42 UTC |
614dfdd | Paul Michel | 13 October 2017, 16:57:03 UTC | Remove stale symlinks Former-commit-id: 50725955693741a38ff1db3313dea84f9d6f9ce6 | 13 October 2017, 16:57:03 UTC |
bdf4a42 | Paul Michel | 13 October 2017, 16:44:43 UTC | Fix path to tutorials in docs Former-commit-id: d50993150570bbe1766c117f2252e93dbe656630 | 13 October 2017, 16:44:43 UTC |
5365dd5 | msperber | 13 October 2017, 14:59:17 UTC | Multidim2 (#977) * fix problem with broadcasting batch dimension * overwrite_n for moment operations Former-commit-id: 0a9193a2928a7d0bc9dd6866c0d60dd3191d53fc | 13 October 2017, 14:59:17 UTC |
8c76a31 | Paul Michel | 13 October 2017, 13:31:13 UTC | Fix shape of lookup aprameters in python (#975) Former-commit-id: 1ca25fe9649397b8f3532abac56d4827f1dbb96e | 13 October 2017, 13:31:13 UTC |
085254c | Chunyang Wen | 13 October 2017, 13:30:14 UTC | add doc and reimplement Dim::truncate (#970) * remote use GPU:0 by default when use --dynet-gpu * fix error * Comment DeviceMempool enum * #945 1. add doc for Dim::truncate 2. reimplement Dim::truncate 3. add tests for dim Former-commit-id: 0c6c6de9faa65254263fbbf28760fb828a852111 | 13 October 2017, 13:30:14 UTC |
28d580f | Stefan Schweter | 13 October 2017, 13:26:27 UTC | Compile multiprocessing examples only when Boost is enabled (#978) * doc: mention -DENABLE_BOOST=ON option to compile multiprocessing c++ examples * cmake: compile multiprocessing c++ examples only when boost is enabled Former-commit-id: 29536c4204e37c85b2e9f77ad64d8f87df244130 | 13 October 2017, 13:26:27 UTC |
bf5729e | Chris Dyer | 10 October 2017, 13:47:52 UTC | comments, C++ style Former-commit-id: a69c5158ccfd7887ee3174d2e99924a445b26fea | 10 October 2017, 13:47:52 UTC |
0c35fe4 | Chris Dyer | 09 October 2017, 23:13:02 UTC | git rid of needless memcpy Former-commit-id: e0f39178a1df1319ad97aafd9430ac8d81fb1e78 | 09 October 2017, 23:13:02 UTC |
e145ce8 | Chris Dyer | 09 October 2017, 22:40:04 UTC | clean up exec code Former-commit-id: 707e8d01c8d3be62b2e2b9e4443e6b65e2d7e36c | 09 October 2017, 22:40:04 UTC |
27705e5 | Chris Dyer | 09 October 2017, 11:26:34 UTC | improve readability of complex code Former-commit-id: d06dae2d211e954797e2a361ed4d17490342a154 | 09 October 2017, 11:26:34 UTC |
d3b5013 | Chris Dyer | 09 October 2017, 10:57:58 UTC | cleanup C++ for readability Former-commit-id: e666b45a5b1ddc62ccb6bdaaccba6d286308684f | 09 October 2017, 10:57:58 UTC |
78cbe81 | Chris Dyer | 08 October 2017, 21:31:11 UTC | c++ style Former-commit-id: 3cb47b3cd85b4388ab4b1e808318483a8031a394 | 08 October 2017, 21:31:11 UTC |
db74246 | Chris Dyer | 08 October 2017, 21:25:25 UTC | better C++ style Former-commit-id: 4681c1795020e2e569632448d2bd18cc62a037ff | 08 October 2017, 21:25:25 UTC |
08d3bb5 | Chris Dyer | 08 October 2017, 19:40:19 UTC | fix cuda compile error i introduced earlier Former-commit-id: b992b4032bc47fb0bb8a49d689d7b25f677346a3 | 08 October 2017, 19:40:19 UTC |
ce532af | Chris Dyer | 08 October 2017, 13:52:01 UTC | C++ cleanup (don't pass vector<> by value) Former-commit-id: 07381369dd1277a2b951e137f8695cedf1da546c | 08 October 2017, 13:52:01 UTC |
a9a5666 | Chris Dyer | 08 October 2017, 13:28:19 UTC | small C++ fix Former-commit-id: 778c481761565148501c28070e3f2d883fda19e4 | 08 October 2017, 13:28:19 UTC |
b5c4893 | Chris Dyer | 08 October 2017, 13:17:08 UTC | small C++ fix Former-commit-id: 6fb48caf4ff695c9c95022f54a86efae074465d8 | 08 October 2017, 13:17:08 UTC |
44bfa11 | Chris Dyer | 07 October 2017, 10:05:45 UTC | fix uninitialized variable when built without CUDA Former-commit-id: 78b61357890dc56fce0ce2ca38bbe382a104aab2 | 07 October 2017, 10:05:45 UTC |
b4e8170 | Graham Neubig | 06 October 2017, 17:31:48 UTC | Fix eigen version (#966) * Changed Eigen version to work with pip on clang 9 * Updated setup * Update * Update Eigen version to compile Former-commit-id: c9cc4c7c3d261dda2065b320582038a4600af72f | 06 October 2017, 17:31:48 UTC |
b947387 | Graham Neubig | 06 October 2017, 15:29:30 UTC | Fix device string encoding on Python 3 (#964) * Fix device string encoding on Python 3 * Added missing conversion Former-commit-id: 4e9611cd824a011993cec1ad7f267edec6ab840d | 06 October 2017, 15:29:30 UTC |
b28ac1f | Graham Neubig | 06 October 2017, 15:18:52 UTC | Runs OSX compile first on travis (#965) Former-commit-id: bb91bdaba5172a626eb6dd5870006a2e2fa9bdae | 06 October 2017, 15:18:52 UTC |
b2305d7 | Graham Neubig | 06 October 2017, 13:35:15 UTC | Added check to matrix multiply Former-commit-id: b94f60334f6265ff9e13540a76c8827659320492 | 06 October 2017, 13:35:15 UTC |
56fe3b2 | Graham Neubig | 06 October 2017, 13:26:21 UTC | Fix doc for pairwise rank loss Former-commit-id: 7f4305b8df46343e89d351f90cffab8531de8156 | 06 October 2017, 13:26:21 UTC |
d816039 | Paul Michel | 05 October 2017, 18:56:40 UTC | Makes it possible to get a list of all parameters in python (#960) * Makes it possible to get a list of all parameters in python * Fix tests Former-commit-id: 227393d763e2d38f36dda405034d2ba6fdb8dedc | 05 October 2017, 18:56:40 UTC |
6760666 | Pengcheng YIN | 04 October 2017, 10:05:45 UTC | exception handling for model related API (#957) Former-commit-id: 719413aa7a198fa4f091951af2688e195b94f53c | 04 October 2017, 10:05:45 UTC |
7acfc28 | Chris Dyer | 03 October 2017, 11:20:53 UTC | Merge branch 'master' of https://github.com/clab/dynet Former-commit-id: 9fbe4f48c76e272a19733157b0a99b9a76c9c37c | 03 October 2017, 11:20:53 UTC |
3f617de | Chris Dyer | 03 October 2017, 11:20:40 UTC | make upgrades easier Former-commit-id: 7fca795a2abf5f01e0381ea59eec42aee951bd72 | 03 October 2017, 11:20:40 UTC |
c81e44f | Daniel Hershcovich | 02 October 2017, 12:35:31 UTC | Native Python on Linux on Travis CI instead of Conda (#950) * Add "u" suffix if Python is compiled with UCS-4 Otherwise we get "undefined symbol: PyUnicodeUCS2_DecodeUTF8" when trying to install a wheel built using this environment if it was first built with cp27-cp27m and then built with cp27-cp27mu, since they were using the same build directory. * Fix #941: native Python on Travis CI, not Conda Former-commit-id: 52c57c805ca2e6c66130ca1658b3177810f2b77b | 02 October 2017, 12:35:31 UTC |
547682c | Hong Wu | 01 October 2017, 13:50:52 UTC | hotfix for https://github.com/clab/dynet/pull/927 (#953) Former-commit-id: f6be87560a24892d2f0a4260883822b2be26fb06 | 01 October 2017, 13:50:52 UTC |
c79848e | Brad Skaggs | 30 September 2017, 18:20:21 UTC | Use a release version of Eigen for building Python package. (#608) * Remove need for hg for building Python package by using an Eigen release. * Fixed some bugs Former-commit-id: d160a7b3f665efb94cb4115c8069e3d2b262204e | 30 September 2017, 18:20:21 UTC |
fdb903a | Hong Wu | 30 September 2017, 18:18:12 UTC | Multi-gpu support for basic add_parameters function. (#947) Former-commit-id: c43f52b7db55d689f26bf6e2995f4ac5f1c9bbd7 | 30 September 2017, 18:18:12 UTC |
0c3ff7b | Graham Neubig | 30 September 2017, 18:17:50 UTC | Restructure examples (#927) * Restructure examples * Fixed compiling C++ examples Former-commit-id: 5049e5995f169fe1798139e1ca4dc98a7c0c4317 | 30 September 2017, 18:17:50 UTC |
d9f110a | msperber | 30 September 2017, 18:17:09 UTC | Multidim operations & speed-improvements (#776) * some initial code * implemented multidim moments * broadcasting for cmult * cmult: use templates to get rid of code duplication * implemented cadd with broadcasting support * broadcasting for cdiv * speedup and todos * weight noise for RNNs * first stab at lstm node, forward pass * added comment * LSTM forward: memory layout of h/c vector + restructuring/fixes * bugfix + prepared unit test * summarized 4 matrix multiplication into one operation; forward computes without error * forward tests passing * lstm node forward pass working with minibatches * lstm 3-part node: forward working & tested * backward pass for vanilla_lstm_h and vanilla_lstm_c * lstm-gates: parts of backward pass * some more missing parts * removed old code, cleaned up tests * vanilla_lstm_c: backward passing test * some testing / fixing * some comments * CPU matrix multiply * re-added LSTM node * lstm gates fwd passing test * tests * lstm_h backward passing gradient checks * lstm gates backward: replaced contraction by matrix multiply * lstm gates bwd implemented but not yet passing tests * fixed math in lstm_h backward * fixed the same math error in lstm_gates bwd * improved tests; all tests passing * unified CPUMatrixMultiply / CUDAMatrixMultiply -> MatrixMultiply * python interface for LSTM node * changed use of slice for potential speed improvement * speed-up: replace .sum() by manual summation over batches * speed-up by replacing shuffle with reshape * speed by replacing shuffle with transpose * marked places that need speed-up * speed up for outer product * Some fixes for GPU * Comment out extra scratch memory * add CompactVanillaLSTMBuilder * added weight norm to vanilla_lstm_gates * updated doc & python interface * add weight noise to CompactVanillaLSTMBuilder * added missing free() of scratch allocator * initial code to integrate dropout into lstm nodes * fix missing CwiseSum * integrated dropout into LSTM node * removed unused variables * removed unused variables * speed up StdDimension by precomputing mean in temporary memory * speed up cdiv backward pass by precomputing square in scratch memory * improved speed of weight_norm by precomputing stuff before broadcasts in temporary memory * deprecated mean_elems, moment_elems, std_elems, moment_batches, mean_batches, std_batches * fixed scope warning * remove unused code * fixed fast LSTM * more flexible broadcasting for CwiseSum * more flexible broadcasting for CwiseMultiply and CwiseQuotient * undo fast-lstm workaround * deprecated mean_elems, std_elems, moment_elems, mean_batches, std_batches, moment_batches * small bugfix * debugging: Revert "undo fast-lstm workaround" This reverts commit c1c4dae57e8adbfb70476946821ebfed67f3b704 [formerly 09d3050fb2a1632e3a56128517bf7494006bc9ca]. * removed nodes-arith-scalar * remove cadd (operator+ now has same functionality) * avoid broadcasting for cmult if dimensions are equal * same for cmult forward * same for cmult backward * same for cdiv * debug * debug * debug * debug * debug * add missing files * Added escaping for backward as well * Fixed several bugs in backward * De-deprecated some functions Former-commit-id: 11963baead216509cc89dd43002a5fb6db5b1cfa | 30 September 2017, 18:17:09 UTC |
b9cae34 | Hong Wu | 29 September 2017, 14:45:08 UTC | Dynet-906. Fix hardcoded build folder name. (#910) * dynet-906. Fix hardcoded build folder name. * use PYTHON_DIR * fix CI script * fix path * fix osx path * make path format consistent Former-commit-id: 6e1e9f496973c7f77d85aea44481e9a50c654249 | 29 September 2017, 14:45:08 UTC |
fee92d5 | Graham Neubig | 29 September 2017, 13:59:25 UTC | Check cwise multiply batch dims (#944) Former-commit-id: 8a5d091af12389b473f64de61d79718418164b5e | 29 September 2017, 13:59:25 UTC |
3e02fcf | Daniel Hershcovich | 29 September 2017, 13:31:22 UTC | AppVeyor badge (#932) Former-commit-id: 24a67b45d8fef7c84052ff6d6c9d86e023862194 | 29 September 2017, 13:31:22 UTC |
b3058ef | Pengcheng YIN | 29 September 2017, 13:30:58 UTC | FIx typo in the doc string of pick_batch_elems (#943) Former-commit-id: 076cefed0d275950168d61a2a106eda52280d5f1 | 29 September 2017, 13:30:58 UTC |
0b82b7b | WZY | 29 September 2017, 06:46:39 UTC | Fix typo in tutorial-1-xor.ipynb (#946) Former-commit-id: e47e9b44809d65a2cf07db343805b2cc258bea5f | 29 September 2017, 06:46:39 UTC |
9fb2342 | Paul Michel | 27 September 2017, 21:57:54 UTC | Exception passing in RNN (#939) Former-commit-id: d14858a2dba1316ab1e282271120b4dc42da8cca | 27 September 2017, 21:57:54 UTC |
ca830aa | Chunyang Wen | 27 September 2017, 15:03:51 UTC | add doc for DeviceMempool (#936) (#937) * remote use GPU:0 by default when use --dynet-gpu * fix error * Comment DeviceMempool enum Former-commit-id: 300fb8eebeb0b679b6a7556c91cc63df25aadaed | 27 September 2017, 15:03:51 UTC |
738e1aa | Edgar Chen | 27 September 2017, 13:07:38 UTC | Add const_parameter to python docs (#935) Former-commit-id: 7770887e937d93b34272c68f61230c46cae6e36a | 27 September 2017, 13:07:38 UTC |
c2a4342 | Chunyang Wen | 27 September 2017, 07:18:34 UTC | replace --dynet-gpu with --dynet-gpus 1 instead of --dynet-devices GPU:0 (#934) Former-commit-id: d783e2ed5cb9612c12503a98a745597232431828 | 27 September 2017, 07:18:34 UTC |
b548c04 | Daniel Hershcovich | 25 September 2017, 18:51:46 UTC | Compile with CUDA on Travis CI (#911) * Disable warnings, as log is too big for Travis CI * Test on Travis CI with CUDA Build DyNet with -DBACKEND=cuda. Exclude on osx. On Travis CI, force tests to run on CPU (no GPU) * Disable tests when compiling with CUDA on Travis for now Former-commit-id: ae79d2e7c033e0976f930594adf5ffd17c2ac340 | 25 September 2017, 18:51:46 UTC |
acd98ec | Daniel Hershcovich | 25 September 2017, 18:50:57 UTC | Continuous integration for Windows using AppVeyor (#914) * Fix "conversion from 'double' to 'float' requires a narrowing conversion" * Fix #913: Continuous integration for Windows using AppVeyor Former-commit-id: 03aaa6c39f5f29a735e263abda3003eb694013fc | 25 September 2017, 18:50:57 UTC |
a614a19 | Daniel Hershcovich | 22 September 2017, 17:59:18 UTC | Allow adding model parameters after update (#893) * Failing test for #889 * #889: allocate more shadow parameters as needed Fix indentation in test Fix missing semicolons Fix return type * Test both SGD and Adam, and 100 parameters to be sure * Fix #889: segmentation fault due to l2 norm scratch size mismatch * Fix potential segmentation fault in project_weights too * Less repetition by passing reference to vector Former-commit-id: a8b496ac99badfd2c32ed01469728654883942ca | 22 September 2017, 17:59:18 UTC |
129d39e | xunzhang | 22 September 2017, 14:47:07 UTC | fix indent Former-commit-id: 77ebe199df946ab44ab53a1ee0adbf84c4b8ba76 | 22 September 2017, 14:48:45 UTC |
9f7eda9 | Graham Neubig | 22 September 2017, 14:47:07 UTC | Merge branch 'master' of github.com:clab/dynet Former-commit-id: 87a6daeb9b5318cf14377b53b3bf0f8b6439496f | 22 September 2017, 14:47:07 UTC |
1d5fefd | Graham Neubig | 22 September 2017, 14:46:41 UTC | Hotfix for Python3 Former-commit-id: 5d44a8d948e425bd1504760a3c091e48c33a2067 | 22 September 2017, 14:46:41 UTC |
c8328c9 | <pmichel31415@gmail.com> | 22 September 2017, 14:40:51 UTC | Note: Glorot <=> Xavier init in doc Former-commit-id: 425aacaa8e381c7a509fa65764c4ba9e3fadc147 | 22 September 2017, 14:40:51 UTC |
15ba699 | <pmichel31415@gmail.com> | 22 September 2017, 14:30:54 UTC | Fix typo in python documentation Former-commit-id: d7fe2f5eea1e51fc9b255c2a94b9430c67724b2e | 22 September 2017, 14:30:54 UTC |
c8f8ef0 | QI JUN | 22 September 2017, 13:57:35 UTC | Fix eigen gcc version (#780) * fix eigen Segfault in gcc version 4.9 and later * remove unused NVCC flags Former-commit-id: d3ac2aefdb460939f41401006d56fff19d9667d4 | 22 September 2017, 13:57:35 UTC |
cc5857a | Daniel Hershcovich | 22 September 2017, 13:13:57 UTC | Fix typo in compiler (#925) Former-commit-id: fd0630762f93beaf560692f8f5fdb89eeeb50a96 | 22 September 2017, 13:13:57 UTC |
1d7b45c | Tetsuo Kiso | 22 September 2017, 12:21:26 UTC | examples: attempt to fix training with standard softmax (#905) BuildLMGraph assumes "cfsm" points to an object of class factored softmax, but it can point to an object of StandardSoftmaxBuilder if users run the command as documented in README.md. I'm not sure this is a correct fix because the comments in BuildLMGraph use a bit different term, "regular softmax". If it refers to the standard softmax, removing allocating StandardSoftmaxBuilder object seems correct. Former-commit-id: 53c47b863fe27262a9795dad7588e64250901b3f | 22 September 2017, 12:21:26 UTC |
e92c0e6 | Hong Wu | 22 September 2017, 12:21:01 UTC | add xor-multidevice.py as example of multi-device python binding (#923) Former-commit-id: 87d0a8a17dfb8ea8959caac65b2b1253ad99ed32 | 22 September 2017, 12:21:01 UTC |
70b37e2 | Hong Wu | 22 September 2017, 12:20:42 UTC | Update multi-device document (#924) * Update multi-device document * fix typo Former-commit-id: 76470ecde43fd2e5893da2ec1547532133596667 | 22 September 2017, 12:20:42 UTC |
af9ec63 | Daniel Hershcovich | 22 September 2017, 11:50:35 UTC | Fix #918: skip most Travis CI configs on PRs (#919) Former-commit-id: 89ebfbc52e6308a9175b0057bbd810d97282402a | 22 September 2017, 11:50:35 UTC |
d5f183d | Yoav Goldberg | 22 September 2017, 09:55:07 UTC | Python multi device (#916) * add to_device support in python * Device support in Python. Currently there is no dedicated Device class, and we refer to devices by their string names. This seem less cumbersome and more 'Pythonic'. However, if we forsee a case where we would really want Device to be an object, we may do this now for backward compatibility. The API is: - dy.available_devices() returns a list of device names. - dy.to_device(expression, dev_name) copies an expression across devices. - param_colection.add_parameteres(..., device=name) - param_colection.add_lookup_parameteres(..., device=name) - param_colection.parameteres_from_numpy(..., device=name) - param_colection.lookup_parameteres_from_numpy(..., device=name) The devices mechanism documentation is in doc-string of "available_devices()" * python DeviceInfo * python docs * Device support in input expressions. Proper python exceptions on invalid device names. * explicit device kw when passing values to xInput (python) Former-commit-id: 7c8c2ee5eb9570b15260bcff917c8e76ba450717 | 22 September 2017, 09:55:07 UTC |
20be05b | Hong Wu | 22 September 2017, 09:39:29 UTC | dynet-915. Differentiate DYLD_LIBRARY_PATH and LD_LIBRARY_PATH in document. (#922) Former-commit-id: 428251d9b5ee3be6612916bbcfec95e3bef0bb4b | 22 September 2017, 09:39:29 UTC |
e06fbee | Austin Matthews | 21 September 2017, 15:44:01 UTC | Merge branch 'master' of github.com:clab/dynet Former-commit-id: 7504e652d0f0998556d13de358823ab4ab88caed | 21 September 2017, 15:44:01 UTC |
73262a4 | Austin Matthews | 21 September 2017, 15:43:48 UTC | Added parameter_count() to python interface Former-commit-id: 686ff81528bbf572d150086f73d1d770262ed8ea | 21 September 2017, 15:43:48 UTC |
40ecda6 | Daniel Hershcovich | 19 September 2017, 11:39:23 UTC | Install apt packages manually with retry (#909) Using the apt Travis CI addon often fails due to timeout, since it doesn't use retry. We use sudo anyway, so might as well run apt-get. Former-commit-id: a5bb4d40f7950590c99a5e639ef42f22b9c8e0d9 | 19 September 2017, 11:39:23 UTC |
cf7f09a | Hong Wu | 19 September 2017, 11:37:08 UTC | Fix -Wunused-but-set-variable warnings (#908) Former-commit-id: e7fe9b69d5f2e29e76be50cb6721654ee37628e2 | 19 September 2017, 11:37:08 UTC |
e160171 | Tetsuo Kiso | 18 September 2017, 13:30:42 UTC | examples: remove non-existent option '-x' (#904) As discussed at #902, "-x" is not used any more. It should be removed from README.md. Former-commit-id: dc5b390ea8d89a14147fb7d014d3faa8a6ac43b4 | 18 September 2017, 13:30:42 UTC |
a8fca65 | Tetsuo Kiso | 17 September 2017, 13:59:20 UTC | examples: check non-existent options, and print help (#903) This attempts to improve the usability of C++ examples. - Add a function to print usage, available options. - Abort if non-existent option is used. - Add option "--help" to print usage - Fix typo - "bidirectionnal" -> "bidirectional" - Fix typo "-d" -> "-ds" in usage of supervised learning mode. Former-commit-id: 064128fba6546e6cda651df677891e97c7d3573b | 17 September 2017, 13:59:20 UTC |
ecb34d2 | Tetsuo Kiso | 17 September 2017, 13:01:02 UTC | examples: Use --hidden_size to set the size of hidden vectors (#902) Former-commit-id: 88c6ee4ce4c644ceada0af6609407970108d0b99 | 17 September 2017, 13:01:02 UTC |
ba1cf2b | Tetsuo Kiso | 17 September 2017, 13:00:42 UTC | Remove '-Wno-shorten-64-to-32' as gcc doesn't support it (#900) Former-commit-id: a3e4faeeeb6cdbca64b2ad8f641f9fe2fd159e83 | 17 September 2017, 13:00:42 UTC |
8192449 | Tetsuo Kiso | 15 September 2017, 13:57:35 UTC | Fix typos introduced in #880 (#897) To use TSan, "thread" should be passed to the value of "-fsanitize" Former-commit-id: cd71e678646fdc280059cb31b9f814ea4be159d1 | 15 September 2017, 13:57:35 UTC |
3803ba2 | Graham Neubig | 15 September 2017, 13:19:50 UTC | Merge branch 'master' of github.com:clab/dynet Former-commit-id: 4357bf0467d6b4aed2ae52002405f37c11b7fd43 | 15 September 2017, 13:19:50 UTC |
bc17804 | Graham Neubig | 15 September 2017, 13:19:34 UTC | Fix of doc for manual install Former-commit-id: c17180ffce23191caa2f0e47ea010a4e26103352 | 15 September 2017, 13:19:34 UTC |
113d221 | Tetsuo Kiso | 15 September 2017, 13:12:32 UTC | Reduce global non-POD objects by adding DeviceManager class (#857) * Reduce global non-POD objects by adding DeviceManager class * Add const * Clear devices in cleanup as before * Simplify duplicated code Former-commit-id: 5b47cb77fc6f7cdbfdd7571cd532ccf109a68e8e | 15 September 2017, 13:12:32 UTC |
4be7799 | Tetsuo Kiso | 14 September 2017, 15:57:52 UTC | doc: Fix markup error in install.rst (#888) Former-commit-id: b57e6140031289a10f11f91c3922e5a89d40a9d3 | 14 September 2017, 15:57:52 UTC |
70e55bf | Tetsuo Kiso | 14 September 2017, 15:57:05 UTC | Suppress warnings in compiling Cython generated file (#887) Former-commit-id: 2ddc667bd7a49ac5b3927912e11980dc554a9e36 | 14 September 2017, 15:57:05 UTC |
4255a75 | shuheik | 14 September 2017, 10:11:33 UTC | RNN-related enhancements to Scala bindings (#895) * fixed file paths * Apply changes in #547 and #729 to Scala bindings Former-commit-id: a3782a1a2873c79316ba7090de2f1696d2964773 | 14 September 2017, 10:11:33 UTC |
11fbd88 | Tetsuo Kiso | 13 September 2017, 14:05:29 UTC | Fix -Wshorten-64-to-32 warnings (#886) Former-commit-id: 91fc4de24449fd60433e06581dbb88a2ac0af4f6 | 13 September 2017, 14:05:29 UTC |
bd9bfdb | Paul Michel | 13 September 2017, 14:03:07 UTC | Merge pull request #890 from clab/lookup_param_numpy More fine grained access to numpy LookupParams Former-commit-id: 6373afdd284b76fae9aa81c668a5c3ae2bcd8cb4 | 13 September 2017, 14:03:07 UTC |
ef18a2f | Chris Dyer | 12 September 2017, 11:52:27 UTC | Split parameter in const_parameter and parameter (instead of using an optional argument), let parameter take multiple arguments and return multiple values, for convenience Former-commit-id: d1bc0a6d9f5e98484f072b0cd295841508758a44 | 12 September 2017, 11:52:27 UTC |
a1f517d | <pmichel31415@gmail.com> | 11 September 2017, 18:05:55 UTC | Small fix for higher order lookup params Former-commit-id: ba0e42e97c8e1173d2fda1fc99c9c6efccce2bb7 | 11 September 2017, 18:05:55 UTC |
71f8bc9 | <pmichel31415@gmail.com> | 11 September 2017, 15:43:24 UTC | More fine grained access to numpy LookupParams Former-commit-id: cc0fd51cc73f4026014908741023b9c4328be290 | 11 September 2017, 15:43:24 UTC |
41e9130 | Tetsuo Kiso | 11 September 2017, 14:45:18 UTC | Fix -Wsign-compare warnings (#883) * Fix -Wsign-compare warnings Currently, we see lots of warnings when building with `-DBACKEND=cuda`. This attempts to fix -Wsign-compare warnings. * Fix warnings in tests Former-commit-id: 1f8016447457b971e69df3ca369b2180ef60d186 | 11 September 2017, 14:45:18 UTC |
67e0e59 | Tetsuo Kiso | 11 September 2017, 14:34:23 UTC | Tests: Fix warnings in test-trainers.cc (#884) Former-commit-id: e573f14570566b48e76862756159f27aa9ddcd9d | 11 September 2017, 14:34:23 UTC |
90292a2 | Tetsuo Kiso | 11 September 2017, 04:35:09 UTC | Optionally enable Debug build, ASan enabled or TSan enabled binaries (#880) * Optionally enable Debug build, ASan enabled or TSan enabled binaries Currently, DyNet is built with all optimizations enabled by default. Optionally allowing debug builds would be useful for debugging crashes or data races, enabling AddressSanitizer or ThreadSanitizer. With this change, developers can tell cmake to create Debug build, by specifying `-DCMAKE_BUILD_TYPE=Debug` without editing CMakeLists.txt. If `-DCMAKE_BUILD_TYPE` is not specified, Release build is built as before. So, this change requires no burden for standard users. Typical workflow to create Debug builds, ASan enabled binaries, or TSan enabled binaries would be like: $ mkdir Debug $ cd Debug $ cmake .. -DCMAKE_BUILD_TYPE=Debug -G Ninja $ ninja ASan enabled binaries $ mkdir Debug-asan $ cd Debug-asan $ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-fsanitize=address" -G Ninja $ ninja TSan enabled binaries $ mkdir Debug-tsan $ cd Debug-tsan $ cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-fsanitize=thread" -G Ninja $ ninja Note: I'm using ninja as a build system. This applies to other build systems such as make. * Mention Debug/ASan/TSan builds in Debugging section * Make the explanation of TSan consistent with that of ASan Former-commit-id: 4a4c9eb176083156cac09872fcf13cf23c5484b7 | 11 September 2017, 04:35:09 UTC |