8000 [pull] master from clab:master by sync-upstream[bot] · Pull Request #1 · awesome-archive/dynet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[pull] master from clab:master #1

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

Open
wants to merge 3,165 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3165 commits
Select commit Hold shift + click to select a range
2848388
Fixed corner case in autobatched exec (#1258)
neubig Feb 25, 2018
f170e71
get rid of dy.parameter calls
redpony Feb 27, 2018
2090525
Fixed deprecation message.
yoavg Mar 1, 2018
5bb84d0
Fixing equation mistake in documentation
Mar 2, 2018
18ed6b7
Merge pull request #1270 from jkkummerfeld/master
pmichel31415 Mar 2, 2018
75b7942
Merge pull request #1233 from clab/param_expression
redpony Mar 8, 2018
d1e8736
Attempts to fix documentation
pmichel31415 Mar 8, 2018
d060d11
Put Expressions above Parameters
pmichel31415 Mar 8, 2018
58b552b
backward can throw, prevent Python from crashing
redpony Mar 12, 2018
f7be0c2
dynet-1298. Add ** support for pow op. (#1300)
xunzhang Mar 14, 2018
df0cf07
fix file permissions (#1303)
xunzhang Mar 15, 2018
9d2f668
Fix current version (#1301)
xunzhang Mar 15, 2018
689d16e
Dynet 1296. cuRAND support for multiple GPUs. (#1304)
xunzhang Mar 15, 2018
29ef2f4
Fix API tutorial for DyNet 2.0.3+
woozyan Mar 15, 2018
52a2cae
fix huber_distance error (#1310)
woozyan Mar 15, 2018
8a60b20
hotfix
xunzhang Mar 15, 2018
7c9b185
vae examples and benchmarks vs pytorch (#1289) (#1307)
Mar 15, 2018
6e394e7
Fix HuberDistance::backward_dev_impl and log sigmoid doc. (#1311)
xunzhang Mar 16, 2018
1ad8ded
Add more examples in basic Expression Manipulation
woozyan Mar 16, 2018
d3d8edc
add Expression init, more loss func and math func
woozyan Mar 17, 2018
f9ff2b3
Add more loss, norm and examples
woozyan Mar 19, 2018
d0f40f2
Update _dynet.pyx (#1318)
cockroachzl Mar 23, 2018
568c45f
Fix arguments for flip_gradient in py (#1319)
xunzhang Mar 23, 2018
967d545
Update to doc
neubig Mar 23, 2018
d69bdc1
Fixed directions on README
neubig Mar 23, 2018
a3d2a4c
Autobatching improvement for LSTM, addition for transpose (#1326)
neubig Mar 26, 2018
060f451
dynet-1320. Add / support for cdiv. (#1321)
xunzhang Mar 28, 2018
20fd674
Swig fixes (#1331)
akoehn Mar 30, 2018
348ca39
fixed time and word per sec reported in validation step (#1338)
YovaKem Apr 4, 2018
0c23251
clean up message queues better in mp.h
Apr 4, 2018
857144a
Merge branch 'master' of https://github.com/clab/dynet
Apr 4, 2018
4e68164
MNIST Benchmarks (#1334)
gpengzhi Apr 6, 2018
f906f14
Added autobatching for dropout (#1341)
neubig Apr 6, 2018
e72ca35
Python example fixes (#1340)
akoehn Apr 6, 2018
5c43f36
fix several places
xunzhang Apr 9, 2018
0132186
another fix
xunzhang Apr 9, 2018
81693b1
update
xunzhang Apr 9, 2018
ec0d1f4
restart and clear output
xunzhang Apr 9, 2018
2bbc0b9
Tree-LSTM example
zhiyong1997 Mar 17, 2018
0eddde2
remove grid search functionality
zhisbug Apr 8, 2018
a90dcc2
Upgrade eigen instructions (#1347)
neubig Apr 17, 2018
a5c959a
First commit (#1351)
pmichel31415 Apr 18, 2018
ddbf560
Update init.cc
pmichel31415 Apr 18, 2018
68bcc02
Add the update flag back to Parameter.expr (#1353)
pmichel31415 Apr 20, 2018
a76c47e
Merge branch 'dynet_API_tutorial' of git://github.com/zhechenyan/dyne…
neubig Apr 20, 2018
a98db69
Add function of topk. (#1328)
zzsfornlp Apr 20, 2018
1de84f7
Merge branch 'master' of github.com:clab/dynet into zhechenyan-dynet_…
neubig Apr 20, 2018
b07411c
Added batched matrix multiplies on CUDA (#1355)
neubig Apr 22, 2018
4f46736
Enhance mnist-autobatch: automatic downloads, python3, shebang (#1359)
akoehn Apr 25, 2018
f129862
Fix default value for decay parameter in cycl-SGD (#1361)
pmichel31415 Apr 25, 2018
43ae1e1
One hot input vector (#1362)
pmichel31415 Apr 25, 2018
c7db9a2
Fix comment in AffineTransform (#1364)
tma15 Apr 28, 2018
651705f
Use pick_range() instead of deprecated pickrange() (#1366)
tma15 Apr 29, 2018
7520334
Fix a typo of binary_log_loss description (#1372)
supakjk May 11, 2018
740a962
Typo in code (#1370)
May 11, 2018
736c9ed
Slicing improvements (#1363)
msperber May 27, 2018
d7bf9cb
Add dynet-c project skeleton.
chantera Jun 3, 2018
13be24a
stridedSelect (#1389)
shuheik Jun 11, 2018
79195fe
Updated API doc
neubig Jun 15, 2018
ef00080
Merge branch 'zhechenyan-dynet_API_tutorial'
neubig Jun 15, 2018
3e3e6a1
Updated cuDNN doc
neubig Jun 18, 2018
66b5175
Dictionnary : declare is_frozen() and containt() as const (#1397)
FilippoC Jun 20, 2018
7835a4f
Fix appveyor boost version (#1402)
neubig Jun 21, 2018
e3bce8e
Fix stale lookup parameters (#1401)
neubig Jun 21, 2018
40c362b
Remove quotes in set PATH
echo32 Jun 22, 2018
66e6661
Implement Dim for C-API.
chantera Jul 17, 2018
e017be8
Implement DynetParams for C-API.
chantera Jul 17, 2018
fca6633
Fix seed type.
chantera Jul 17, 2018
d7606a4
Implement Tensor for C-API.
chantera Jul 17, 2018
88b5bb3
Implement Parameter for C-API.
chantera Jul 17, 2018
749cfe6
Implement LookupParameter for C-API.
chantera Jul 17, 2018
1857ad8
Add status handling functions for C-API.
chantera Jul 17, 2018
4935196
Implement ParameterCollection for C-API.
chantera Jul 17, 2018
dfda137
Fix.
chantera Jul 17, 2018
564df3e
Implement ParameterInit for C-API.
chantera Jul 18, 2018
0560a2e
Implement ComputationGraph for C-API.
chantera Jul 18, 2018
c7b54b1
Implement Trainer for C-API.
chantera Jul 23, 2018
a0345ed
Implement TextFileSaver/Loader for C-API.
chantera Jul 23, 2018
f1b365f
remove duplicated rng initialization
redpony Aug 6, 2018
e3776f1
Implement Device for C-API.
chantera Aug 21, 2018
1e8a843
Fix model.
chantera Aug 21, 2018
cc2e946
Fix headers.
chantera Aug 21, 2018
7b1ba81
Implement Expression and operators (WIP) for C-API.
chantera Aug 21, 2018
266e805
Fix tests.
chantera Aug 21, 2018
13cc5bf
Started work on sparse VanillaLSTM
rscctest Aug 29, 2018
e35b2f4
Sparse LSTM seems to work - will test later
rscctest Aug 30, 2018
0845b0b
Added separate LSTMBuilder for the SparseLSTM
rscctest Aug 31, 2018
22c12e2
Added separate LSTMBuilder for the SparseLSTM
rscctest Aug 31, 2018
f39bd5c
8000 Added separate LSTMBuilder for the SparseLSTM
rscctest Aug 31, 2018
353c9ec
Python 3.7 support (#1436)
danielhers Sep 2, 2018
e9c1265
Implement arithmetic operations.
chantera Sep 4, 2018
04032d1
Fix Segfault when the LSTM is not initialized
pmichel31415 Sep 4, 2018
1cde6fb
fix lint error
pmichel31415 Sep 4, 2018
2b77282
Implement loss operations.
chantera Sep 4, 2018
540e46b
Fix python tests formatting
pmichel31415 Sep 6, 2018
5b0beb8
Merge branch 'master' into fix-python-test-format
pmichel31415 Sep 6, 2018
e8253b3
Remove calls to `.expr` and `parameter`
pmichel31415 Sep 6, 2018
ecd15df
Merge pull request #1439 from clab/fix-lstm-init
pmichel31415 Sep 6, 2018
bfb9ec0
Remove trailing whitespace
pmichel31415 Sep 6, 2018
a005975
Merge pull request #1442 from clab/fix-python-test-format
pmichel31415 Sep 6, 2018
49b3daa
Fix a bug when calling `.expr(False)` before `renew_cg`
pmichel31415 Sep 6, 2018
b09cbcf
Merge pull request #1443 from clab/fix-const-param-cg-python
pmichel31415 Sep 7, 2018
bd47f9d
Merge pull request #1405 from echo32/echo32-patch-1
pmichel31415 Sep 7, 2018
1e72df3
add print driver/runtime version
Sep 12, 2018
71f4925
change cuda.cc nitpick & make more readable
Sep 12, 2018
c536b0b
version->versions
Sep 12, 2018
ef7ce83
Implement flow operations.
chantera Sep 12, 2018
bfb8721
Implement noise operations.
chantera Sep 12, 2018
2dd6e39
Merge pull request #1447 from Stanforxc/master
pmichel31415 Sep 12, 2018
3b6c3b4
Add documentation on the initialization of the VanillaLSTM's parameters
pmichel31415 Sep 13, 2018
10e2148
Merge pull request #1449 from clab/better-lstm-init-doc
pmichel31415 Sep 14, 2018
20bfc35
Fix bug in parameter loading with nonzero gradient
pmichel31415 Sep 14, 2018
b066cec
Merge pull request #1450 from clab/fix-full-grad-populate
pmichel31415 Sep 14, 2018
4948b5c
fix Eigen index type errors that strict compilers/some versions of Ei…
Sep 15, 2018
fcb25b0
Update lstm.cc
tiberiu44 Sep 16, 2018
2593299
Updated docs and tests
tiberiu44 Sep 17, 2018
8b5b45c
Merge branch 'master' of https://github.com/tiberiu44/dynet
tiberiu44 Sep 17, 2018
3ddf6f8
Removed GRADIENT_CHECK and added experimental disclaimer in the docum…
tiberiu44 Sep 17, 2018
d9d3e80
Fix glorot initialization for convolutional kernels (#1420)
blester125 Sep 18, 2018
bac9967
Fix block dropout on GPU
pmichel31415 Sep 18, 2018
c939629
Merge pull request #1452 from clab/fix-block-dropout
pmichel31415 Sep 19, 2018
0eb7fff
Implement convolution operations.
chantera Sep 21, 2018
63e50ad
Implement tensor, linear algebra, normalization, and device operations.
chantera Sep 21, 2018
0954496
Merge pull request #1437 from tiberiu44/master
pmichel31415 Sep 21, 2018
ccb0b7b
Clarify documentation of the restart() method
FilippoC Sep 22, 2018
498eaa2
methods to save/load the optimizer state
FilippoC Sep 22, 2018
a71acaa
fix compilation error when using the cuda backend
FilippoC Sep 22, 2018
5a053fd
use dynet::as_vector instead of TensorTools::access_element
FilippoC Sep 22, 2018
39571d4
fix vars assignation in Trainer::load_state
FilippoC Sep 22, 2018
b28a483
Optimized memory for SparseLSTM, by directly adding the modified weig…
rscctest Sep 25, 2018
ab89bd0
Optimized memory for SparseLSTM, by directly adding the modified weig…
rscctest Sep 25, 2018
c287777
Merge branch 'master' of https://github.com/clab/dynet
rscctest Sep 25, 2018
71daebd
Merge branch 'master' of https://github.com/tiberiu44/dynet
rscctest Sep 25, 2018
d732128
Update test-rnn.cc
tiberiu44 Sep 25, 2018
f56857b
Gradient check still fails - possible CONST params
tiberiu44 Sep 25, 2018
796895d
Refactor.
chantera Sep 27, 2018
9c9d8aa
Implement RNNBuilder and SimpleRNNBuilder for C-API.
chantera Sep 29, 2018
265a7fe
Implement LSTMBuilder for C-API.
chantera Sep 29, 2018
6b129f2
Implement TreeLSTMBuilder and GRUBuilder for C-API.
chantera Sep 29, 2018
454089f
Implement SoftmaxBuilder for C-API.
chantera Sep 30, 2018
064d459
Merge branch 'master' into feature/c-api
chantera Sep 30, 2018
7f58ec4
Fix comments and header.
chantera Sep 30, 2018
fb4a913
Fix comments.
chantera Sep 30, 2018
63ba09f
Add exec_test for C-API.
chantera Sep 30, 2018
0055ed0
Apply cpplint and fix styles and comments.
chantera Sep 30, 2018
151560b
Fix SoftmaxBuilder.
chantera Sep 30, 2018
846b30d
Fix header.
chantera Sep 30, 2018
b03d28e
Merge pull request #1460 from tiberiu44/master
pmichel31415 Oct 1, 2018
c35ac41
Merge pull request #1458 from FilippoC/patch-6
pmichel31415 Oct 1, 2018
1cb8e47
Clean save/populate methods for optimizers
FilippoC Oct 1, 2018
c2e6da3
Unit tests for optimizer io
FilippoC Oct 1, 2018
58242e8
Remove g++-7 ref in CMakeLists.txt
FilippoC Oct 1, 2018
de1e3ca
fix for continuous integration
FilippoC Oct 1, 2018
118127f
Add Readme.
chantera Oct 2, 2018
b8df602
Add documentation.
chantera Oct 2, 2018
33638c7
Fix travis build command.
chantera Oct 2, 2018
e72374c
replace BOOST_TEST with BOOST_CHECK for Travis
FilippoC Oct 2, 2018
0d61453
Remove useless method+attribute in the trainers-io test
FilippoC Oct 2, 2018
05c8856
Fix dimension vector type for dynetDim in C-API.
chantera Oct 2, 2018
4e23948
Merge pull request #1459 from FilippoC/trainer-save-load
pmichel31415 Oct 3, 2018
af88f17
Merge pull request #1462 from chantera/feature/c-api
pmichel31415 Oct 3, 2018
6040f5f
Make capitalization of "DyNet" consistent in documentation.
bskaggs Oct 5, 2018
ab6ea34
Merge pull request #1464 from bskaggs/docs
pmichel31415 Oct 5, 2018
f2f13e7
Fix link in documentation.
chantera Oct 7, 2018
8d51896
Throws exception when `default_device` is null.
chantera Oct 8, 2018
9a0a4f3
Merge pull request #1468 from chantera/fix/docs
pmichel31415 Oct 8, 2018
d7ff185
Merge pull request #1472 from chantera/fix/default-device
pmichel31415 Oct 8, 2018
b691dd6
fixed tanh escape typos
ruyimarone Oct 12, 2018
bc3ff25
Merge pull request #1476 from ruyimarone/master
pmichel31415 Oct 15, 2018
946200c
Matmul code and speed improvements (#1483)
pmichel31415 Oct 25, 2018
c86b484
fixed softmax latex typos (#1487)
ruyimarone Oct 29, 2018
8260090
run_single_process dev loss is accumulated, run_multi_process no clea…
asafamr Oct 29, 2018
564538a
Added round, ceil, and floor functions (#1494)
neubig Nov 13, 2018
51b528c
cmake option for custom opt level (#1497)
FilippoC Nov 13, 2018
8b334ce
add __host__ qualifier to functors
redpony Dec 20, 2018
2e42045
add note about dedault gradient clipping behavior (#1511)
john-hewitt Jan 8, 2019
19b8622
Disable implicit batching (#1493)
neubig Jan 8, 2019
53b0464
Exponential Moving Average (#1466)
FilippoC Jan 8, 2019
946d440
Reinforcement Learning using DyNet: DQN and DDPG (#1394)
zhisbug Jan 8, 2019
d65bd5e
Fixed high-dimensional tensor lookup (#1514)
neubig Jan 9, 2019
bc1e70e
fix ambiguous indentation
redpony Mar 8, 2019
c125ecd
use Eigen's logistic sigmoid functor instead of broken one
redpony Mar 8, 2019
0969565
use more recent eigen
redpony Mar 8, 2019
a17c72e
use new device types with new eigen
redpony Mar 8, 2019
539ab76
Revert "use new device types with new eigen"
Mar 8, 2019
28eaf94
Revert "use more recent eigen"
Mar 8, 2019
28c133a
Revert "use Eigen's logistic sigmoid functor instead of broken one"
Mar 8, 2019
e5a1116
copy implementation of logistic sigmoid from Eigen
Mar 8, 2019
2c58ad9
Fix dynet.conv2d_bias doc on the shape of b (#1531)
kmkurn Apr 30, 2019
af83e46
Removed redundant comment on include safety (#1524)
karanchahal Apr 30, 2019
4a7fcd9
Update install.rst (#1526)
ntrang086 Apr 30, 2019
21cc626
fix current version (#1506) (#1523)
DillionApple Apr 30, 2019
c7abce3
Initial commit for dynet wrapper for c# - dynetsharp (#1540)
shaltielshmid May 1, 2019
640b13d
Added function to dump the current values and/or gradients of nodes i…
May 3, 2019
62718ad
moved to keeping variable-index instead of storing expression object,…
shaltielshmid May 5, 2019
e934e92
A bracket was not closed in cpp_basic_tutorial.rst. (#1544)
harumo11 May 8, 2019
8ee8bf6
Dump (#1542)
armatthews May 10, 2019
b9c5f65
Remove mercurial call from travis to fix error (#1545)
neubig May 10, 2019
301ecd3
Prevent overflow in calculation of strsize for [lookup]parameters (#1…
kwalcock May 17, 2019
95e9dd9
Make sure shared library looks like one (#1551)
kwalcock May 18, 2019
7271b81
Add Rust bindings (#1557)
chantera May 29, 2019
1fafb23
GPU support for C# + added device specification for numeric ecpressio…
shaltielshmid May 29, 2019
1ae19fd
Fix sign in description of log_sigmoid (#1563)
bskaggs Jun 6, 2019
32fc1b6
[typo-fix] In expr.h, tuntime_error -> runtime_error (#1564)
harumo11 Jun 6, 2019
72211da
Prediction is added to train_xor.cc (#1565)
harumo11 Jun 14, 2019
a581587
[update] In order to avoid misunderstanding regarding to prediction f…
harumo11 Jun 19, 2019
c64c86f
Let the user set CUDA_TOOLKIT_ROOT_DIR on install
danielhers Aug 14, 2019
9966917
Bump pillow in /examples/variational-autoencoder/basic-image-recon (#…
dependabot[bot] Oct 29, 2019
fa5d7f0
cblas sgemm batch (#1583)
artidoro Oct 29, 2019
b11ce5c
Fix build failure pypa/manylinux#357
danielhers Jan 10, 2020
7dfa70e
Use conda-forge to support Python 3.4 https://stackoverflow.com/a/571…
danielhers Jan 10, 2020
5573434
Fix fatal error: openssl/opensslv.h: No such file or directory
danielhers Jan 17, 2020
4e893ee
Remove Python 3.4 Travis tests on Mac, as 3.5 or later is required
danielhers Feb 14, 2020
99b7d6a
Fix openssl error in Docker builds too
danielhers Feb 14, 2020
fcf3e4c
Fix openssl error in Docker builds too
danielhers Mar 2, 2020
f197aac
Add PEP 518 build system/requirements spec (#1608)
neubig Mar 4, 2020
1a5e311
Add a blurb about fatdynet as suggested (#1602)
neubig Mar 4, 2020
352653b
Fix serious memory leak in code using CUDNN functionality (#1614)
cydur Jul 7, 2020
85a4664
Build for Python 3.8 on Travis CI
danielhers Jul 7, 2020
0679789
Build for Python 3.8 on AppVeyor
danielhers Jul 7, 2020
c61bc99
Remove Python 3.4 Travis CI tests due to Pygments version conflict
danielhers Jul 31, 2020
7c533e5
Fix build error on Travis CI test for i686 pyca/cryptography#5069
danielhers Jul 31, 2020
0fc7907
Upgrade pip on Travis to allow --prefer-binary
danielhers Aug 18, 2020
32c71ac
Install cryptography from binary on Travis docker too
danielhers Aug 18, 2020
b800ed0
Eigen moved to GitLab
danielhers Aug 24, 2020
4225e62
Fix Eigen filename
danielhers Aug 24, 2020
4e28dc8
Fix Eigen commit
danielhers Aug 24, 2020
9fed650
Get Eigen zip from GitHub release
danielhers Oct 6, 2020
3c76552
Support Python 3.8
danielhers Oct 6, 2020
8e1fdc3
Remove Python 3.5 from AppVeyor
danielhers Oct 20, 2020
e28cd90
Verbose output when deploying
danielhers Oct 20, 2020
b2f8509
Fix eigen unpacking directory
danielhers Oct 21, 2020
5ce3a39
Check wheel before deploying it
danielhers Oct 21, 2020
7be57e6
Upload to PyPI with long description in Markdown, not RST
danielhers Oct 21, 2020
b564545
Remove pandoc dependency, not needed since PyPI supports Markdown
danielhers Oct 21, 2020
cad7618
Remove Python 3.4 tests, no supported
danielhers Oct 22, 2020
0781dea
Update Travis dist for Python 3.7 and 3.8 pip tests
danielhers Oct 22, 2020
13eb330
Free memory for the correct variable (#1627)
kwalcock Jan 17, 2021
ef1190d
Add indices checking for parameters in model.cc (#1593)
Dim131 Jan 17, 2021
480d95a
Free C++ memory associated with Scala Pointers (#1628)
kwalcock Jan 27, 2021
91fdb95
Fix some typos in documentation (#1630)
kwalcock Jan 27, 2021
b6565c6
Protect Scala Expression from being deleted via its ExpressionVector …
kwalcock Jan 27, 2021
04ffe21
Make sure ParameterStorageBase also uses shared pointer for Java inte…
kwalcock Jan 27, 2021
93a5cd2
Bump pillow in /examples/variational-autoencoder/basic-image-recon (#…
dependabot[bot] Jan 27, 2021
a792752
Avoid -march=native on Macs with M1 (#1648)
Mar 11, 2022
6658c73
Bump pillow in /examples/variational-autoencoder/basic-image-recon (#…
dependabot[bot] Mar 11, 2022
63725e9
The following error is often thrown out when multiple users run multi…
hui-wan Mar 11, 2022
3e1b48c
fixes executable name in readme set up instructions (#1572)
artidoro Mar 11, 2022
c418b09
Travis and Appveyor build for Python 3.9 and 3.10
danielhers Aug 14, 2022
22b4495
Updated DynetSharp for .NET 6.0 (#1667)
shaltielshmid Nov 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
76 changes: 76 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
os: Visual Studio 2015

platform: x64

environment:
global:
MSVC_DEFAULT_OPTIONS: ON
BOOST_ROOT: C:\Libraries\boost_1_67_0
BOOST_LIBRARYDIR: C:\Libraries\boost_1_67_0\lib64-msvc-14.0
MSVC: 1
MINICONDA: "C:\\Miniconda36-x64"
TWINE_USERNAME: danielh
TWINE_PASSWORD:
secure: cpMn69tLzuhwO7EPhhiVwA==
matrix:
- PYTHON_VERSION: 3.6
- PYTHON_VERSION: 3.7
- PYTHON_VERSION: 3.8
- PYTHON_VERSION: 3.9
- PYTHON_VERSION: 3.10

configuration: Release

init:
- cmd: cmake --version
- cmd: msbuild /version
- "ECHO %PYTHON_VERSION% %MINICONDA%"

install:
- cmd: git submodule update --init --recursive
- ps: wget https://github.com/clab/dynet/releases/download/2.1/eigen-b2e267dc99d4.zip -OutFile eigen.zip
- cmd: mkdir C:\projects\eigen
- cmd: 7z x eigen.zip -o"C:\projects\eigen" -y > nul
- set PATH=%MINICONDA%;%MINICONDA%\Scripts;%PATH%
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-env python=%PYTHON_VERSION% cython numpy
- activate test-env
- ps: if ($env:APPVEYOR_REPO_TAG -eq $True) { (gc setup.py) -replace '. (version=.)0.0.0', "`${1}$env:APPVEYOR_REPO_TAG_NAME" | Out-File -encoding 'UTF8' setup.py }

before_build:
- cmd: md build
- cmd: cd build
- cmd: cmake -DEIGEN3_INCLUDE_DIR=C:/projects/eigen -G "Visual Studio 14 2015 Win64" -DCMAKE_BUILD_TYPE=%configuration% -DENABLE_BOOST=ON -DENABLE_CPP_EXAMPLES=ON -DBOOST_ROOT:PATHNAME="%BOOST_ROOT%" -DBoost_LIBRARY_DIRS:FILEPATH="%BOOST_LIBRARYDIR%" -DBoost_NO_BOOST_CMAKE=TRUE -DBoost_NO_SYSTEM_PATHS=TRUE -DPYTHON=python.exe ..
- cmd: set VS90COMNTOOLS=%VS140COMNTOOLS%
- cmd: cd ..

build:
project: build\dynet.sln
verbosity: normal

after_build:
- cmd: cd %APPVEYOR_BUILD_FOLDER%\build\python
- python ../../setup.py EIGEN3_INCLUDE_DIR=C:/projects/eigen build --build-dir=.. --skip-build bdist_wheel install

test_script:
# Cmake (C++) unit tests
- cmd: set PATH=%BOOST_LIBRARYDIR%;%PATH%
- cmd: cd %APPVEYOR_BUILD_FOLDER%\build
- cmd: ctest -C %configuration% --output-on-failure --timeout 300
# Python unit tests
- cmd: cd %APPVEYOR_BUILD_FOLDER%\build\python
- python -m unittest discover %APPVEYOR_BUILD_FOLDER%\tests\python -v

deploy_script:
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- python setup.py sdist
- echo [distutils] > %USERPROFILE%\\.pypirc
- echo index-servers = >> %USERPROFILE%\\.pypirc
- echo pypi >> %USERPROFILE%\\.pypirc
- echo [pypi] >> %USERPROFILE%\\.pypirc
- echo username=%PYPI_USERNAME% >> %USERPROFILE%\\.pypirc
- echo password=%PYPI_PASSWORD% >> %USERPROFILE%\\.pypirc
- python -m pip install twine
- if "%APPVEYOR_REPO_TAG%"=="true" ( python -m twine upload --skip-existing dist/* build/python/dist/* )
25 changes: 19 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
# cmake stuff
build*/
Testing/
cnn/Testing/
cnn/tests.bin/
dynet/Testing/
dynet/tests.bin/
CTestTestfile.cmake
config.h
Makefile
CMakeCache.txt
CMakeFiles
cmake_install.cmake
python/dynet.cpp
python/dist/
python/dyNET.egg-info/

# binaries
examples/xor
examples/xor-xent
examples/rnnlm
examples/nlm

#data
rnnlm/ptb-mikolov/

# Python temporary files
*.pyc

# Compiled Object files
*.slo
Expand Down Expand Up @@ -44,5 +50,12 @@ examples/nlm
*.out
*.app

# Editor stuff
*.swp

# Doc stuff
doc/doxygen/xml
doc/source/tutorials_notebooks

.RData
.RHistory
Loading
0