Hieu Hoang
a9edc9c21f
don't store input text - other constructor doesn't have it
2017-01-30 18:13:55 +00:00
Hieu Hoang
b8202c208f
rename variables
2017-01-30 17:01:56 +00:00
Hieu Hoang
c077eea387
create Decode() method
2017-01-30 16:37:04 +00:00
Hieu Hoang
78a26daadc
create PostProcess() method
2017-01-30 16:27:52 +00:00
Hieu Hoang
3a12bbd233
create PreProcess() method
2017-01-30 16:25:03 +00:00
Hieu Hoang
ac2217f37e
MakeStep() -> Decode()
2017-01-30 16:03:00 +00:00
Hieu Hoang
54ecae52fb
Score() -> Decode()
2017-01-30 15:58:00 +00:00
Hieu Hoang
afa96e9844
InitScorers() -> Encode()
2017-01-30 15:50:19 +00:00
Hieu Hoang
8b4746b3fc
Decode() -> Process()
2017-01-30 15:46:47 +00:00
Hieu Hoang
3d1cec163b
Merge ../amunmt into mosesplugin
2017-01-28 23:41:18 +00:00
Hieu Hoang
a292ac24f5
rename exception macros. Name conflict when using amun as a library
2017-01-28 23:07:44 +00:00
Marcin Junczys-Dowmunt
38482d5708
Merge pull request #34 from michaelhutt/patch-1
...
Remove hard dependency on cuda driver library + sparsehash include dir
2017-01-28 12:54:29 +00:00
Michael Hutt
6ca6996c13
insert sparsehash include directory for fast_align
...
When sparsehash is in a non-default location, fast_align can't find the include files
2017-01-27 15:02:22 -05:00
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