Michael Hutt
03ff9016bf
Remove hard dependency on cuda driver library
...
amun/amunmt binaries have a dependency on the CUDA driver library. As far as I can tell, it only uses the runtime API, so the driver dependency can be discarded. This is not a huge problem, but it can cause a compilation error on systems where libcuda.so is placed outside of the normal library search path.
2017-01-27 14:54:55 -05:00
Hieu Hoang
36eaa17f93
namespace
2017-01-27 13:33:14 +00:00
Hieu Hoang
6cde867f37
add --max-length arg
2017-01-26 19:47:38 +00:00
Hieu Hoang
faad3f7932
minibatch is dependent on device type
2017-01-25 17:08:51 +00:00
Hieu Hoang
138a414ddd
tighten up locking
2017-01-25 16:25:33 +00:00
Hieu Hoang
3aed45cd47
variable rename
2017-01-25 16:21:15 +00:00
Hieu Hoang
7d23502faf
should work with gpu id > 0
2017-01-25 16:16:19 +00:00
Hieu Hoang
2a47cf1a0d
works with multiple GPU threads
2017-01-25 16:09:44 +00:00
Hieu Hoang
47f01d3f44
debug
2017-01-25 15:33:38 +00:00
Hieu Hoang
4f8a0401d4
GetNextDevice() respect --devices arg
2017-01-25 11:53:18 +00:00
Hieu Hoang
1d0cfc98b6
non default arg. Set CPU device number to max size_t
2017-01-25 11:35:33 +00:00
Hieu Hoang
c8e0b6ebd8
more detailed message
2017-01-24 20:47:46 +00:00
Hieu Hoang
90df5987c1
eclipse
2017-01-24 20:25:29 +00:00
Hieu Hoang
b4701832b9
minor
2017-01-24 20:21:36 +00:00
Hieu Hoang
b6ba26af5a
Merge branch 'mosesplugin' of github.com:emjotde/amunmt into mosesplugin
2017-01-24 16:37:01 +00:00
Hieu Hoang
74076d8ff2
Merge ../amunmt into mosesplugin
2017-01-24 16:28:05 +00:00
Kenneth Heafield
403cdf98dc
Strong bias towards having stack variables
2017-01-24 15:34:15 +00:00
Kenneth Heafield
20a04ea985
Bounded threadpool
2017-01-24 15:33:52 +00:00
Hieu Hoang
c3067ca372
merge
2017-01-24 14:57:52 +00:00
Hieu Hoang
8d28476067
logging info
2017-01-24 14:50:13 +00:00
Hieu Hoang
662ca69780
Merge ../amunmt into mosesplugin
2017-01-24 12:43:54 +00:00
Hieu Hoang
7b4e51668f
Merge ../amunmt.hieu
2017-01-24 12:14:48 +00:00
Hieu Hoang
27d6fb9014
can take input from stdin and file
2017-01-24 12:14:26 +00:00
Hieu Hoang
db0fc52909
minor
2017-01-23 22:12:04 +00:00
Hieu Hoang
2fe7dd9717
eclipse
2017-01-23 16:06:22 +00:00
Hieu Hoang
aadeb01a2d
eclipse
2017-01-23 16:04:20 +00:00
Hieu Hoang
fcd7db9f8a
get rid of thread_local variable. GetBestHyps() returns shared ptr
2017-01-23 15:06:51 +00:00
Hieu Hoang
e04db322a8
minor
2017-01-23 14:43:06 +00:00
Hieu Hoang
73d296e0da
NewScorer uses DeviceInfo
2017-01-23 14:32:26 +00:00
Hieu Hoang
671aa32ef3
make DeviceInfo a class variable
2017-01-23 14:26:33 +00:00
Hieu Hoang
dc632a9e0d
tighten up God
2017-01-23 14:18:50 +00:00
Hieu Hoang
93fe707e87
GetBestHyps from God
2017-01-23 14:08:15 +00:00
Hieu Hoang
a34cb2e54b
GetScorers() use DeviceInfo
2017-01-23 13:59:33 +00:00
Hieu Hoang
1dbdf57c78
GetScorers() use DeviceInfo
2017-01-23 13:56:02 +00:00
Hieu Hoang
1031f23e05
search comes from god
2017-01-23 13:17:24 +00:00
Hieu Hoang
1a9392b075
GetNextDevice()
2017-01-23 12:56:19 +00:00
Hieu Hoang
e10d1c3d86
merge
2017-01-22 23:11:43 +00:00
Hieu Hoang
85799a85e7
Revert "&GetGod()"
...
This reverts commit 8659016471
.
2017-01-22 23:04:51 +00:00
Hieu Hoang
9de8796f33
Revert "put search into god"
...
This reverts commit 22e0650de9
.
2017-01-22 23:04:50 +00:00
Hieu Hoang
011b7b4289
Revert "lock when creating search"
...
This reverts commit 7f4e599326
.
2017-01-22 23:04:48 +00:00
Hieu Hoang
20363f1a00
Revert "GetScorers() use DeviceType"
...
This reverts commit 28730359ef
.
2017-01-22 23:04:46 +00:00
Hieu Hoang
63c70c91b2
bunch -> maxi-batch
2017-01-22 22:47:13 +00:00
Hieu Hoang
280345b0f8
batch-size -> mini-batch
2017-01-22 22:21:51 +00:00
Hieu Hoang
fc0d8bf735
God is stack variable
2017-01-22 22:11:55 +00:00
Hieu Hoang
f8d8f43df1
const TranslationTask
2017-01-22 22:08:58 +00:00
Hieu Hoang
e651dae477
const Score
2017-01-22 21:58:51 +00:00
Hieu Hoang
bc06487734
const Create
2017-01-22 21:53:26 +00:00
Hieu Hoang
cf97f949c4
const History
2017-01-22 21:51:03 +00:00
Hieu Hoang
4ce201d394
const Load
2017-01-22 21:49:45 +00:00
Hieu Hoang
f1fac914a1
const BestHyps
2017-01-22 21:45:27 +00:00