Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2740 commits
Select commit Hold shift + click to select a range
e1fea85
remove java client build from sdk
jbkyang-nvi Mar 24, 2022
bd40000
Remove java client examples install
dzier Mar 25, 2022
2bbec79
Update jetson docs for Jetpack 22.03 (#4120)
Mar 28, 2022
095a44e
Add test case for shutdown (#4143)
GuanLuo Apr 5, 2022
0d87c41
Enable capi for pa (#4161)
krishung5 Apr 5, 2022
43e5076
Use correct error message in L0_lifecycle(#4156)
krishung5 Apr 5, 2022
6f3519a
Update docs for ORT support on Jetson (#4157) (#4167)
Apr 6, 2022
b7561f9
Update for 22.03 model gen (#4173)
Apr 6, 2022
daf1c8f
Move Java client examples to build (#4116)
jbkyang-nvi Apr 6, 2022
aa73af1
Add metric API unit test to L0_metrics (#4163)
GuanLuo Apr 7, 2022
25c6fec
Set http address for metrics when http service is disable (#4175)
krishung5 Apr 7, 2022
721ecb5
Record INFER_RESPONSE_COMPLETE only at the first callback (#4176)
tanmayv25 Apr 7, 2022
464629e
Add testing for the lifetime of BLS tensors (#4147)
Tabrizian Apr 7, 2022
3145219
Add pointer to 'raw binary data' documentation (#4182)
Apr 7, 2022
77b7614
Add test for optional input in Python backend (#4164)
Tabrizian Apr 8, 2022
17aa8ca
Add Perf Analyzer unit tests CI test (#4155)
matthewkotila Apr 8, 2022
312840d
Fix MLFlow plugin. Add test (#4186)
GuanLuo Apr 8, 2022
453333e
Customize backend support for perf analyzer (#4166)
krishung5 Apr 8, 2022
93ab8f7
Update test to use new option (#4190)
matthewkotila Apr 9, 2022
3fb8d41
Add Model Register API test (#4191)
the-david-oy Apr 11, 2022
3c89895
Fix build.py to accept gpu-base image for CPU only (#4208)
Apr 12, 2022
a48f47e
Update build docs for --image,gpu-base (#4209)
Apr 12, 2022
9278504
Update build.py to generate scripts containing build commands (#4174)
Apr 13, 2022
905c5f1
Fix compose.py to allow configurable gpu-min container (#4210)
Apr 13, 2022
22c40ce
updated qa tests to expect the new max_batch_size (#4092)
nv-kmcgill53 Apr 13, 2022
127df4f
Test Documentation Rendering (#4218)
the-david-oy Apr 13, 2022
3a11151
Add testing for incorrect shape argument in PA (#4192)
Tabrizian Apr 13, 2022
3c535ef
Fix L0_backend_python (#4207)
Tabrizian Apr 14, 2022
c45d3b3
Update master to track development for 2.22.0 / r22.05
mc-nv Apr 13, 2022
f80f203
Add documentation for incremental builds (#4222)
Apr 14, 2022
8110414
Add Metric API documentation and update L0_backend_identity CI test (…
rmccorm4 Apr 15, 2022
e86f6a9
Add response cache unit test to CI (#4224)
rmccorm4 Apr 15, 2022
f7fb0c3
Add 'TF-TRT' and `ORT-TRT' keywords to docs for searchability (#4228)
rmccorm4 Apr 15, 2022
a226869
Fix minor typos introduced by https://github.com/triton-inference-ser…
Apr 15, 2022
f42aae9
Add trace test for C++ client (#4216)
krishung5 Apr 16, 2022
093ec76
Fix instance type to CPU for optional python model (#4230)
Apr 16, 2022
337c5a4
Update readme to include additional resources
dzier Apr 19, 2022
6e4aeb4
Cat SERVER_LOG when failing to grep it in L0_backend_tutorial (#4252)
rmccorm4 Apr 19, 2022
dcd3a7d
Start using tag reference for 'vcpkg'
mc-nv Apr 20, 2022
a4de42b
Add `load-model=*` tests and documentation (#4256)
rmccorm4 Apr 20, 2022
837cdc8
Add argument validation tests (#4180)
Tabrizian Apr 21, 2022
43b6e0c
Document TFS and TS support in perf_analyzer (#4258)
tanmayv25 Apr 21, 2022
891d4bb
Add white background to PNG images
dzier Apr 20, 2022
82c2ec9
Merge PersistentBackendManager into TritonBackendManager (#4268)
Apr 22, 2022
5124283
Fix compose.py to use updated container_versions() function from buil…
Apr 22, 2022
dc05696
Update build.py to expose TRITON_ENABLE_METRICS to backends (#4282)
GuanLuo Apr 26, 2022
71782b0
Removing default memory limits for Windows container
mc-nv Apr 26, 2022
df733ec
Add link to model warmup protobuf (#4296)
rmccorm4 Apr 27, 2022
d18bde6
Support model file override in HTTP/GRPC server. Add documentation. A…
GuanLuo Apr 27, 2022
57ed647
Add TYPE_BF16 scaffolding (#4295)
rmccorm4 Apr 28, 2022
27b93ba
Improve Server API (C API) documentation (#4304)
Apr 28, 2022
064c585
Update README and docs post-22.04 release
mc-nv Apr 29, 2022
4274d13
Documentation updates for Server API (C API) (#4312)
Apr 29, 2022
a6504a3
Fix expected test count on jetson (#4314)
Tabrizian Apr 29, 2022
74eb389
Fix typo (#4317)
Apr 29, 2022
382bdaa
GPG CUDA Linux Repository Key Rotation
mc-nv Apr 29, 2022
4e57c69
Add test for decoupled API in Python backend (#4290)
Tabrizian May 2, 2022
0ac0c21
Update README and versions for 22.04 branch
mc-nv Apr 6, 2022
a04eeb9
Fix CPU only failure for pytorch backend (#4227)
Apr 15, 2022
e04b52a
Update copyright period
mc-nv May 3, 2022
939912d
Add unit tests for transfer-encoding HTTP headers (#4324)
rmccorm4 May 4, 2022
72f0d63
Fix autocomplete link (#4336)
rmccorm4 May 4, 2022
e96097a
Add option to force create new channel (#4325)
jbkyang-nvi May 4, 2022
aa38255
Add a link to the Python backend model ensemble example (#4309)
Tabrizian May 4, 2022
0011efa
Add tests for sync/async BLS requests in the decoupled mode
Tabrizian Apr 29, 2022
99c87dc
Improve decoupled API test to cover flags argument
Tabrizian May 4, 2022
5be5314
Add python decoupled example tests (#4327)
tanmayv25 May 5, 2022
4bc62a4
Add test for ensemble config contains backend (#4318)
GuanLuo May 5, 2022
ae88355
Shift copying of NCCL for TF2 backend into build.py (#4337)
May 5, 2022
0b09e8e
Fix test failures on Jetpack (#4316) (#4342)
May 6, 2022
3e8c7bc
Add GPU bls tests for decoupled API
Tabrizian May 6, 2022
556d9cf
Add note on instance_groups for ensemble models (#4349)
rmccorm4 May 6, 2022
cffa05c
Update ORT to 1.11.1 (#4347)
pranavsharma May 7, 2022
859c8cd
Enable Triton for SageMaker MME mode (#4181)
nikhil-sk May 9, 2022
d4bfcfd
Add testing for PyTorch string I/O (#4315)
May 9, 2022
b265f06
Improve GRPC load model with file override to accept file binary (#4338)
GuanLuo May 9, 2022
10a6182
Fix b64 include: it is used even GPU support is disabled (#4357)
GuanLuo May 10, 2022
53a0bb1
Add new example clients to L0_grpc (#4343)
rmccorm4 May 10, 2022
563365d
Disable decoupled API tests on jetson (#4359)
Tabrizian May 10, 2022
5c9dfd2
Fixing issue with 'apt update' utility caused by GPG key rotation. Th…
mc-nv May 9, 2022
db0ceb0
Improve documentation on decoupled backends (#4354)
tanmayv25 May 10, 2022
95b58ff
Move Java API Prerelease Into Main (#4289)
the-david-oy May 10, 2022
1a911e9
Update master to track development for 2.23.0 / r22.06
mc-nv May 11, 2022
53bc802
Add copyrights to test data for Java resnet tests (#4370)
jbkyang-nvi May 12, 2022
85a0a39
Fix typo in extension_classfication.md (#3943)
zhoukaidev May 13, 2022
df02d01
Add L0_jave_memory_growth logging on failure (#4381)
GuanLuo May 16, 2022
a5638a6
Fix trace_timestamps_ memory growth in GRPC server (#4383)
rmccorm4 May 18, 2022
4717794
Add warmup failure case in L0_warmup (#4382)
GuanLuo May 19, 2022
0f1d027
Add L0_libtorch_io_names test and update docs for new Naming Conventi…
May 20, 2022
9253f3f
Moving to recomended approach with using cuda-keyring package
mc-nv May 17, 2022
41ae518
Improve error message for shared memory manager (#4417)
Tabrizian May 20, 2022
5af4cdb
Add section on cc_model_filenames to model config docs (#4403)
rmccorm4 May 20, 2022
2289381
Improve README (#4419)
dzier May 21, 2022
09adeb4
Add testing for GPU support in decoupled (#4377)
Tabrizian May 21, 2022
cd1f457
Re-throw certain specific OOM errors as 507 for SageMaker MME + repo …
nikhil-sk May 23, 2022
a29155e
Enable nvtx markers in pytorch backend (#4424)
tanmayv25 May 24, 2022
9eb8734
Remove CUDA Binding Dependency for Java Binding Tests (#4428)
the-david-oy May 25, 2022
d6734ef
Fix long-running Java memory growth test (#4401)
the-david-oy May 25, 2022
196002c
Add triton_c_api to perf tests (#4420)
rmccorm4 May 25, 2022
063d440
Removing image layer
mc-nv May 24, 2022
21f3545
Update NGC versions post-22.05 release
mc-nv May 27, 2022
3257e00
Fix L0_copyrights (#4446)
Tabrizian May 31, 2022
58bb989
Remove BLS async tests from decoupled models (#4439)
Tabrizian Jun 1, 2022
03c466b
Add command line option to set logging format (#4423)
GuanLuo Jun 1, 2022
318a599
Add testing for python model api for auto-complete (#4322)
krishung5 Jun 1, 2022
17d3d62
Autocomplete is Used by Triton Supported Backends (#4395)
nv-kmcgill53 Jun 2, 2022
a27c32e
Correct number of resource copies for R4 (#4455)
winstonhic Jun 2, 2022
170e2f7
use job ID in cloud storage test to ensure exclusive usage (#4458)
GuanLuo Jun 2, 2022
788389a
Fix issue with new MinIO release (#4459)
GuanLuo Jun 3, 2022
b63af3d
Remove beta quality from python decoupled models (#4463)
tanmayv25 Jun 3, 2022
572d3fe
Fix L0_model_config for new autocomplete functionality (#4461)
nv-kmcgill53 Jun 3, 2022
3b2e2b4
Updated L0_model_config for TensorRT autocomplete changes (#4464)
nv-kmcgill53 Jun 3, 2022
d2d75b2
Improve L0_metrics stability (#4462)
GuanLuo Jun 3, 2022
4b1198b
Fix L0_backend_python_jetson (#4465)
krishung5 Jun 6, 2022
794297e
Build testing custom op with backward compatibility (#4468)
GuanLuo Jun 6, 2022
154caf3
Add test for different variance of ONNX flavor (#4469)
GuanLuo Jun 7, 2022
5839233
fix error when deploying a model from mlflow (#4413)
Rusteam Jun 7, 2022
f369933
Fix L0_output_validation test (#4472)
Tabrizian Jun 7, 2022
307d303
Temporary fix for protobuf.
mc-nv May 28, 2022
dea7a39
Add conda to the build container (#4476)
Tabrizian Jun 8, 2022
124b6d2
Fix copyright and test count (#4493)
Tabrizian Jun 8, 2022
fbbb859
Fix invalid read in multi_server.cc (#4496)
GuanLuo Jun 8, 2022
2f55a5f
Update master to track development for 2.24.0 / 22.07
mc-nv Jun 8, 2022
78fbbdc
Fix link (#4498)
krishung5 Jun 8, 2022
1345415
Tests for setting dynamic batching scheduler during python autocomple…
nv-kmcgill53 Jun 8, 2022
1148928
Fix Trace Documentation Rendering (#4514)
the-david-oy Jun 14, 2022
3250504
Add 'count' test in L0_warmup (#4501)
GuanLuo Jun 15, 2022
838e7f8
Expose --model-load-thread-count for model load thread pool (no boost…
rmccorm4 Jun 15, 2022
1d2519c
Protect shared_memory_map_ from concurrent access (#4518)
kthui Jun 18, 2022
13f5532
Updated documentation and tests regarding default CPU model instance…
nv-kmcgill53 Jun 21, 2022
6c1d501
Add L0_backend_bls test (#4494)
krishung5 Jun 22, 2022
40a54ef
Update README with NVAIE messaging
dzier Jun 21, 2022
f88bc5a
Fix L0_build_variants (#4539)
Tabrizian Jun 22, 2022
421ce2d
Increased timeout from 3600 to 4000 (#4553)
Jun 28, 2022
ac0a427
Don't infer DALI_VERSION from env variable (#4565)
szalpal Jun 30, 2022
9570dd1
Add http asyncio python client (#4551)
kthui Jun 30, 2022
4450fd6
Add grpc asyncio python client (#4546)
kthui Jun 30, 2022
265e3fc
add pa ground truth (#4552)
debermudez Jul 1, 2022
4ba0b39
Update README and versions for 22.06 branch
mc-nv Jun 6, 2022
c1c1634
Fix undefined name: utils --> pb_utils (#4576)
cclauss Jul 4, 2022
04ba260
Fix undefined name: sys used on lines 242, 251, 260, 267 (#4577)
cclauss Jul 4, 2022
4d9f156
Fix L0_perf_nomodel (#4586)
Tabrizian Jul 5, 2022
f765bab
Fix unstable collision test in L0_lifecycle (#4568)
GuanLuo Jul 5, 2022
c1c931b
Fix L0_model_config (#4588)
nv-kmcgill53 Jul 5, 2022
9a389e4
Fix unescaped newline, use comma instead for simplicity, add -e to av…
rmccorm4 Jul 6, 2022
62cfcca
Autoformatting (#4596)
the-david-oy Jul 7, 2022
6c06ca5
Added python backend to L0-batcher (#4564)
fpetrini15 Jul 7, 2022
a067e11
Add documentation regarding GRPC streaming use case (#4575)
tanmayv25 Jul 7, 2022
cb27a22
Fix L0_dyna_sequence_batcher and L0_dyna_implicit_state (#4602)
tanmayv25 Jul 7, 2022
7291eb7
Add testing for PyTorch string I/O (#4574)
krishung5 Jul 8, 2022
f457476
Autocomplete Robustness Changes (#4607)
nv-kmcgill53 Jul 8, 2022
efcf584
Add negative test to check response cache fails with decoupled mode (…
rmccorm4 Jul 8, 2022
2a7e21e
Prefix Logs with Request ID (#4484)
the-david-oy Jul 8, 2022
f974b63
Fix for optional secrets.token in deploy/fleetcommand helm chart (#3809)
treyd Jul 11, 2022
63e713f
Sagemaker invoke 507 (#4543)
nikhil-sk Jul 12, 2022
887c875
cat server log on failure (#4621)
rmccorm4 Jul 12, 2022
3d37f89
Documentation Update: Fix outdated Helm chart instructions for promet…
GuanLuo Jul 12, 2022
10e2709
Fix the max_batch_size specification in benchmark tests (#4623)
tanmayv25 Jul 12, 2022
81a9cc7
Update default branch to track development for 2.25.0 / 22.08
mc-nv Jul 12, 2022
eaf5758
Resolve disable-auto-complete-config and strict-model-config conflict…
nv-kmcgill53 Jul 13, 2022
8ec9949
Update the new auto-complete-config behavior (#4632)
tanmayv25 Jul 13, 2022
e5e6a61
Added python backend to L0_sequence_batcher (#4589)
fpetrini15 Jul 13, 2022
91e93b9
Fix BLS tests (#4645)
Tabrizian Jul 14, 2022
3348da0
Refactor repository (#4595)
the-david-oy Jul 14, 2022
4bb6c92
Update model lifecycle test for edge case (#4612)
GuanLuo Jul 14, 2022
20f67e8
Fix expected byte size calculation (#4633)
kthui Jul 14, 2022
6ffde66
Fix L0_decoupled (#4649)
Tabrizian Jul 15, 2022
205723f
fixed strict_model_config not being set for disable-auto-complete-con…
nv-kmcgill53 Jul 15, 2022
d4150c2
Add an example to demonstrate shape tensor handling (#4634)
tanmayv25 Jul 15, 2022
7278211
Clarify CLA process for individual contributors (#4652)
tanmayv25 Jul 15, 2022
2d893e1
Fix link (#4642)
krishung5 Jul 15, 2022
ef95683
Fix copyrights and formatting (#4664)
jbkyang-nvi Jul 19, 2022
fe8e84f
Replace perf_client usage with unit tests WAR (#4670)
rmccorm4 Jul 19, 2022
070a887
Initial doc on mode-load-thread-count (#4677)
rmccorm4 Jul 20, 2022
22c2d2f
Add testing for PA optional inputs (#4613)
matthewkotila Jul 20, 2022
896995c
Move tensorflow default version from 1 to 2 (#4601)
krishung5 Jul 21, 2022
88d5a8c
Add a note about string data type when using base64 (#4676)
Tabrizian Jul 21, 2022
56d7f1e
Add new option to run stress and memory growth tests longer (#3889)
GuanLuo Jul 21, 2022
799f6ec
Check errors on startup models and condense lifecycle test (#4681)
rmccorm4 Jul 22, 2022
e69d7b4
Fix L0_backend_python (#4680)
Tabrizian Jul 22, 2022
737c219
Add Tracing to Perf Analyzer GRPC/HTTP Client (#4684)
the-david-oy Jul 22, 2022
a1ed241
Lifecycle test fixes (#4686)
rmccorm4 Jul 26, 2022
9405d4d
Fix PA test stability (#4694)
matthewkotila Jul 28, 2022
18b0c11
Add test coverage to check if output tensor is on GPU for Python Back…
krishung5 Jul 28, 2022
5945ddb
Support bfloat16 in client (#4705)
the-david-oy Jul 28, 2022
75ba062
Improve test coverage for init args (#4709)
krishung5 Jul 29, 2022
7a5bcb1
Escape double quote for trace JSON byte tensor data output (#4717)
kthui Jul 29, 2022
11e5f8c
Modify protobuf usage to reflect version upgrade (#4699)
GuanLuo Jul 30, 2022
59d98ad
Update README and versions for 22.07 branch
mc-nv Jul 5, 2022
a4c2433
Enable ORT 1.12.0 support
mc-nv Jul 12, 2022
b6c26be
Add testing for tf ops initialization (#4624)
mc-nv Jul 12, 2022
714a79e
fix formatting and L0 copyright
jbkyang-nvi Jul 18, 2022
22107aa
Update README for 22.07 release
mc-nv Jul 21, 2022
ed8b209
Add end-to-end config tuning doc (#4706)
rmccorm4 Aug 3, 2022
e2c8593
Add cmdline option to set GPU limit for loading (#4707)
GuanLuo Aug 4, 2022
2955fdd
Fix dead links (#4738)
Tabrizian Aug 4, 2022
8898071
Break response cache doc into sections, add note about min/max cache …
rmccorm4 Aug 4, 2022
dcca854
Fix model generation for tf parameters (#4741)
Tabrizian Aug 4, 2022
1c74300
Fix error handling for TritonJson APIs (#4723)
krishung5 Aug 5, 2022
b17698f
Backend Autocompletion of Custom Backends (#4740)
the-david-oy Aug 5, 2022
60b72eb
changed L0_infer timeout to allow for slower jetson machines (#4746)
nv-kmcgill53 Aug 5, 2022
761e900
Add cloud storage credential management (#4695)
kthui Aug 6, 2022
b0e024e
Updating scripts to accept default variables
mc-nv Jul 5, 2022
01817a0
adding missed model directory
mc-nv Aug 3, 2022
90b408b
Excluding 'qa/L0_trt_dla_jetson/trt_dla_model_store' modelsf form ver…
mc-nv Aug 8, 2022
2a8c71e
Allow multiple servers to bind to the same http/grpc port (#4732)
krishung5 Aug 9, 2022
151e474
Fix instance group setting link (#4755)
Tabrizian Aug 10, 2022
5a24bed
Server changes for new logging extension (#4640)
fpetrini15 Aug 10, 2022
75e06c2
Update master to track development for 2.26.0 / r22.09
mc-nv Aug 10, 2022
638f850
Add bls_undefined model to model repo and add to c_api test (#4758)
debermudez Aug 11, 2022
e8980c7
Add set +e and -e to the capi test addition (#4762)
debermudez Aug 12, 2022
d16ce93
Add backend support matrices for different platforms (#4760)
tanmayv25 Aug 16, 2022
de6a92b
fix: update link to backend_platform_support_matrix.md (#4771)
theHamsta Aug 16, 2022
171b1e8
Remove beta tag from response cache doc (#4768)
rmccorm4 Aug 16, 2022
916f312
Fix MacOS ARM docker building (#4770)
alxmamaev Aug 16, 2022
1ea74c0
Removing unused peace of code
mc-nv Aug 15, 2022
795a128
Load Shared Libraries Dynamically (#4793)
the-david-oy Aug 19, 2022
1587dd3
Migrate OV to 2022.1 (#4751)
kthui Aug 19, 2022
e723279
Remove tagged openvino backend (#4805)
kthui Aug 23, 2022
32f9ca6
Increase SERVER_TIMEOUT for L0_infer_valgrind (#4693)
krishung5 Aug 24, 2022
68f9a5b
Add some version dirs in L0_model_config for deferred validation. Rev…
GuanLuo Aug 24, 2022
1b3f651
Fix inferentia gen_pytorch_model (#4794)
kthui Aug 24, 2022
a30f51c
Add testing for Python backend logging (#4802)
fpetrini15 Aug 26, 2022
ec6e1a3
Update LICENSE (#4692)
masguit42 Aug 26, 2022
221c73b
Update README and versions for 22.08 branch
mc-nv Aug 4, 2022
fe576bc
Add CPU metrics CLI options and docs (#4803)
rmccorm4 Aug 29, 2022
feb1613
Add testing to ensure grpc time is not zeroed out (#4823)
debermudez Aug 30, 2022
3bd8d70
Add environment variable in SM entrypoint to specify TF version (#4835)
nikhil-sk Sep 2, 2022
d8a45e1
Refactor L0_infer for easier usage (#4736)
jbkyang-nvi Sep 2, 2022
6274b2a
Fix L0_perf_resnet script (#4852)
GuanLuo Sep 8, 2022
b10480b
[Temporary Fix] TensorRT Plugin Generation (#4859)
the-david-oy Sep 8, 2022
6070448
Add OpenVINO autocomplete tests (#4830)
kthui Sep 8, 2022
7d39ad7
restructured user guide (#4773)
tanayvarshney Sep 8, 2022
1a2c498
Fix broken links after refactor (#4861)
rmccorm4 Sep 9, 2022
0e1257c
Update master to track development for 2.27.0 / r22.10
mc-nv Sep 9, 2022
c787771
Uplift GO version
mc-nv Sep 9, 2022
a68c52d
Install kafka lib
fpetrini15 Aug 16, 2022
85c8661
Adding boost library
fpetrini15 Aug 16, 2022
b8763a4
New kafka files
fpetrini15 Aug 18, 2022
13ee61e
Intermediate Checkin
fpetrini15 Sep 2, 2022
ec3004b
Add Kakfa Option
fpetrini15 Sep 7, 2022
6859117
Container and compile changes
fpetrini15 Sep 7, 2022
b100633
Fix gitlab warnings
fpetrini15 Sep 7, 2022
7a51e50
Build kafka
fpetrini15 Sep 7, 2022
8a4e337
Cleanup
fpetrini15 Sep 9, 2022
6cbc2de
Restore http_server.cc
fpetrini15 Sep 9, 2022
55b6378
Adding comments
fpetrini15 Sep 9, 2022
2abddda
Manually adding back CPU Metrics flags
fpetrini15 Sep 9, 2022
ee6d02e
Review comments
fpetrini15 Sep 9, 2022
cfe9209
Pushing in case credentials expire
fpetrini15 Sep 10, 2022
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
BasedOnStyle: Google

IndentWidth: 2
ContinuationIndentWidth: 2
ContinuationIndentWidth: 4
UseTab: Never
MaxEmptyLinesToKeep: 2

Expand Down
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Description**
A clear and concise description of what the bug is.

**Triton Information**
What version of Triton are you using?

Are you using the Triton container or did you build it yourself?

**To Reproduce**
Steps to reproduce the behavior.

Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).

**Expected behavior**
A clear and concise description of what you expected to happen.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
14 changes: 3 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
/bazel-bin
/bazel-ci_build-cache
/bazel-genfiles
/bazel-trtserver
/bazel-out
/bazel-serving
/bazel-tensorflow
/bazel-tensorflow_serving
/bazel-testlogs
/bazel-tf
/bazel-workspace
/builddir
/.vscode
*.so
246 changes: 246 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
# Copyright 2020-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of NVIDIA CORPORATION nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

cmake_minimum_required(VERSION 3.18)

project(tritonserver LANGUAGES C CXX)

include(CMakeDependentOption)

set(TRITON_VERSION "0.0.0" CACHE STRING "The version of the Triton shared library" )

option(TRITON_ENABLE_LOGGING "Include logging support in server" ON)
option(TRITON_ENABLE_STATS "Include statistics collections in server" ON)
option(TRITON_ENABLE_TRACING "Include tracing support in server" OFF)
option(TRITON_ENABLE_NVTX "Include NVTX support in server" OFF)
option(TRITON_ENABLE_GPU "Enable GPU support in server" ON)
option(TRITON_ENABLE_MALI_GPU "Enable Arm Mali GPU support in server" OFF)
set(TRITON_MIN_COMPUTE_CAPABILITY "6.0" CACHE STRING
"The minimum CUDA compute capability supported by Triton" )
set(TRITON_EXTRA_LIB_PATHS "" CACHE PATH "Extra library paths for Triton Server build")

# Ensemble
option(TRITON_ENABLE_ENSEMBLE "Include ensemble support in server" OFF)

# Endpoints
option(TRITON_ENABLE_HTTP "Include HTTP API in server" ON)
option(TRITON_ENABLE_GRPC "Include GRPC API in server" ON)
option(TRITON_ENABLE_KAFKA "Include Kafka API in server" ON)

@rmccorm4 rmccorm4 Sep 9, 2022

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be OFF by default? @GuanLuo

and if so, we might need to update some gitlab-ci.yaml or build.py arg to set it to ON explicitly for CI.

option(TRITON_ENABLE_SAGEMAKER "Include AWS SageMaker API in server" OFF)
option(TRITON_ENABLE_VERTEX_AI "Include Vertex AI API in server" OFF)

# Metrics
option(TRITON_ENABLE_METRICS "Include metrics support in server" ON)
option(TRITON_ENABLE_METRICS_GPU "Include GPU metrics support in server" ON)
option(TRITON_ENABLE_METRICS_CPU "Include CPU metrics support in server" ON)

# Cloud storage
option(TRITON_ENABLE_GCS "Include GCS Filesystem support in server" OFF)
option(TRITON_ENABLE_S3 "Include S3 Filesystem support in server" OFF)
option(TRITON_ENABLE_AZURE_STORAGE "Include Azure Storage Filesystem support in server" OFF)

# Need to know if TensorRT is available when building unit tests
option(TRITON_ENABLE_TENSORRT "Include TensorRT backend in server" OFF)

# ASAN
option(TRITON_ENABLE_ASAN "Build with address sanitizer" OFF)

# Repo tags
set(TRITON_THIRD_PARTY_REPO_TAG "main" CACHE STRING
"Tag for triton-inference-server/third_party repo")
set(TRITON_COMMON_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/common repo")
set(TRITON_CORE_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/core repo")
set(TRITON_BACKEND_REPO_TAG "main" CACHE STRING "Tag for triton-inference-server/backend repo")

# Third-party location
set(TRITON_THIRD_PARTY_INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/third-party" CACHE STRING "Location of third-party build")
set(TRITON_THIRD_PARTY_SRC_INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/third-party-src" CACHE STRING "Location of third-party source")

if(TRITON_ENABLE_METRICS AND NOT TRITON_ENABLE_STATS)
message(FATAL_ERROR "TRITON_ENABLE_METRICS=ON requires TRITON_ENABLE_STATS=ON")
endif()

if(TRITON_ENABLE_TRACING AND NOT TRITON_ENABLE_STATS)
message(FATAL_ERROR "TRITON_ENABLE_TRACING=ON requires TRITON_ENABLE_STATS=ON")
endif()

if (TRITON_ENABLE_METRICS_CPU AND NOT TRITON_ENABLE_METRICS)
message(FATAL_ERROR "TRITON_ENABLE_METRICS_CPU=ON requires TRITON_ENABLE_METRICS=ON")
endif()

if (TRITON_ENABLE_METRICS_GPU AND NOT TRITON_ENABLE_METRICS)
message(FATAL_ERROR "TRITON_ENABLE_METRICS_GPU=ON requires TRITON_ENABLE_METRICS=ON")
endif()

if (TRITON_ENABLE_METRICS_GPU AND NOT TRITON_ENABLE_GPU)
message(FATAL_ERROR "TRITON_ENABLE_METRICS_GPU=ON requires TRITON_ENABLE_GPU=ON")
endif()

if(TRITON_ENABLE_ASAN AND TRITON_ENABLE_GPU)
message(FATAL_ERROR "TRITON_ENABLE_ASAN=ON requires TRITON_ENABLE_GPU=OFF")
endif()

#
# Dependencies
#
include(FetchContent)

FetchContent_Declare(
repo-core
GIT_REPOSITORY https://github.com/triton-inference-server/core.git
GIT_TAG ${TRITON_CORE_REPO_TAG}
)
FetchContent_Declare(
repo-third-party
GIT_REPOSITORY https://github.com/triton-inference-server/third_party.git
GIT_TAG ${TRITON_THIRD_PARTY_REPO_TAG}
)

set(TRITON_CORE_HEADERS_ONLY OFF)

FetchContent_MakeAvailable(repo-third-party repo-core)

#
# Triton server executable and examples
#

# Need to use ExternalProject for our builds so that we can get the
# correct dependencies between Triton executable and the
# ExternalProject dependencies (found in the third_party repo)
include(ExternalProject)

# If CMAKE_TOOLCHAIN_FILE is set, propagate that hint path to the external
# projects.
set(_CMAKE_ARGS_CMAKE_TOOLCHAIN_FILE "")
if (CMAKE_TOOLCHAIN_FILE)
set(_CMAKE_ARGS_CMAKE_TOOLCHAIN_FILE "-DCMAKE_TOOLCHAIN_FILE:PATH=${CMAKE_TOOLCHAIN_FILE}")
endif()

# If VCPKG_TARGET_TRIPLET is set, propagate that hint path to the external
# projects.
set(_CMAKE_ARGS_VCPKG_TARGET_TRIPLET "")
if (VCPKG_TARGET_TRIPLET)
set(_CMAKE_ARGS_VCPKG_TARGET_TRIPLET "-DVCPKG_TARGET_TRIPLET:STRING=${VCPKG_TARGET_TRIPLET}")
endif()

# If OPENSSL_ROOT_DIR is set, propagate that hint path to the external
# projects with OpenSSL dependency.
set(_CMAKE_ARGS_OPENSSL_ROOT_DIR "")
if (OPENSSL_ROOT_DIR)
set(_CMAKE_ARGS_OPENSSL_ROOT_DIR "-DOPENSSL_ROOT_DIR:PATH=${OPENSSL_ROOT_DIR}")
endif()

# Location where protobuf-config.cmake will be installed varies by
# platform
if (WIN32)
set(_FINDPACKAGE_PROTOBUF_CONFIG_DIR "${TRITON_THIRD_PARTY_INSTALL_PREFIX}/protobuf/cmake")
else()
set(_FINDPACKAGE_PROTOBUF_CONFIG_DIR "${TRITON_THIRD_PARTY_INSTALL_PREFIX}/protobuf/lib/cmake/protobuf")
endif()

if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(TRITON_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/install)
else()
set(TRITON_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
endif()

set(TRITON_DEPENDS triton-core protobuf googletest)
if(${TRITON_ENABLE_GCS})
set(TRITON_DEPENDS ${TRITON_DEPENDS} google-cloud-cpp)
endif() # TRITON_ENABLE_GCS
if(${TRITON_ENABLE_S3})
set(TRITON_DEPENDS ${TRITON_DEPENDS} aws-sdk-cpp)
endif() # TRITON_ENABLE_S3
if(${TRITON_ENABLE_AZURE_STORAGE})
set(TRITON_DEPENDS ${TRITON_DEPENDS} azure-storage-cpplite)
endif() # TRITON_ENABLE_AZURE_STORAGE
if(${TRITON_ENABLE_HTTP} OR ${TRITON_ENABLE_METRICS} OR ${TRITON_ENABLE_SAGEMAKER} OR ${TRITON_ENABLE_VERTEX_AI})
set(TRITON_DEPENDS ${TRITON_DEPENDS} libevent libevhtp)
endif() # TRITON_ENABLE_HTTP || TRITON_ENABLE_METRICS || TRITON_ENABLE_SAGEMAKER || TRITON_ENABLE_VERTEX_AI
if(${TRITON_ENABLE_GRPC})
set(TRITON_DEPENDS ${TRITON_DEPENDS} grpc)
endif() # TRITON_ENABLE_GRPC
if(${TRITON_ENABLE_KAFKA})
set(TRITON_DEPENDS ${TRITON_DEPENDS} modern-cpp-kafka)
endif() # TRITON_ENABLE_KAFKA

ExternalProject_Add(triton-server
PREFIX triton-server
SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/src"
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/triton-server"
CMAKE_CACHE_ARGS
-DProtobuf_DIR:PATH=${_FINDPACKAGE_PROTOBUF_CONFIG_DIR}
${_CMAKE_ARGS_OPENSSL_ROOT_DIR}
${_CMAKE_ARGS_CMAKE_TOOLCHAIN_FILE}
${_CMAKE_ARGS_VCPKG_TARGET_TRIPLET}
-DGTEST_ROOT:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/googletest
-DgRPC_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/grpc/lib/cmake/grpc
-Dc-ares_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/c-ares/lib/cmake/c-ares
-Dabsl_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/absl/lib/cmake/absl
-Dnlohmann_json_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/nlohmann_json/lib/cmake/nlohmann_json
-DLibevent_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/libevent/lib/cmake/libevent
-Dlibevhtp_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/libevhtp/lib/cmake/libevhtp
-Dstorage_client_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/google-cloud-cpp/lib/cmake/storage_client
-Dazure-storage-cpplite_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/azure-storage-cpplite
-Dgoogle_cloud_cpp_common_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/google-cloud-cpp/lib/cmake/google_cloud_cpp_common
-DCrc32c_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/crc32c/lib/cmake/Crc32c
-DAWSSDK_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/aws-sdk-cpp/lib/cmake/AWSSDK
-Daws-cpp-sdk-core_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/aws-sdk-cpp/lib/cmake/aws-cpp-sdk-core
-Daws-cpp-sdk-s3_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/aws-sdk-cpp/lib/cmake/aws-cpp-sdk-s3
-Daws-c-event-stream_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/aws-sdk-cpp/lib/aws-c-event-stream/cmake
-Daws-c-common_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/aws-sdk-cpp/lib/aws-c-common/cmake
-Daws-checksums_DIR:PATH=${TRITON_THIRD_PARTY_INSTALL_PREFIX}/aws-sdk-cpp/lib/aws-checksums/cmake
-DTRITON_THIRD_PARTY_REPO_TAG:STRING=${TRITON_THIRD_PARTY_REPO_TAG}
-DTRITON_COMMON_REPO_TAG:STRING=${TRITON_COMMON_REPO_TAG}
-DTRITON_CORE_REPO_TAG:STRING=${TRITON_CORE_REPO_TAG}
-DTRITON_BACKEND_REPO_TAG:STRING=${TRITON_BACKEND_REPO_TAG}
-DTRITON_EXTRA_LIB_PATHS:PATH=${TRITON_EXTRA_LIB_PATHS}
-DTRITON_ENABLE_ASAN:BOOL=${TRITON_ENABLE_ASAN}
-DTRITON_ENABLE_NVTX:BOOL=${TRITON_ENABLE_NVTX}
-DTRITON_ENABLE_TRACING:BOOL=${TRITON_ENABLE_TRACING}
-DTRITON_ENABLE_LOGGING:BOOL=${TRITON_ENABLE_LOGGING}
-DTRITON_ENABLE_STATS:BOOL=${TRITON_ENABLE_STATS}
-DTRITON_ENABLE_GPU:BOOL=${TRITON_ENABLE_GPU}
-DTRITON_ENABLE_MALI_GPU:BOOL=${TRITON_ENABLE_MALI_GPU}
-DTRITON_ENABLE_HTTP:BOOL=${TRITON_ENABLE_HTTP}
-DTRITON_ENABLE_KAFKA:BOOL=${TRITON_ENABLE_KAFKA}
-DTRITON_ENABLE_SAGEMAKER:BOOL=${TRITON_ENABLE_SAGEMAKER}
-DTRITON_ENABLE_VERTEX_AI:BOOL=${TRITON_ENABLE_VERTEX_AI}
-DTRITON_ENABLE_GRPC:BOOL=${TRITON_ENABLE_GRPC}
-DTRITON_MIN_COMPUTE_CAPABILITY:STRING=${TRITON_MIN_COMPUTE_CAPABILITY}
-DTRITON_ENABLE_METRICS:BOOL=${TRITON_ENABLE_METRICS}
-DTRITON_ENABLE_METRICS_GPU:BOOL=${TRITON_ENABLE_METRICS_GPU}
-DTRITON_ENABLE_METRICS_CPU:BOOL=${TRITON_ENABLE_METRICS_CPU}
-DTRITON_ENABLE_GCS:BOOL=${TRITON_ENABLE_GCS}
-DTRITON_ENABLE_AZURE_STORAGE:BOOL=${TRITON_ENABLE_AZURE_STORAGE}
-DTRITON_ENABLE_S3:BOOL=${TRITON_ENABLE_S3}
-DTRITON_ENABLE_TENSORRT:BOOL=${TRITON_ENABLE_TENSORRT}
-DTRITON_ENABLE_ENSEMBLE:BOOL=${TRITON_ENABLE_ENSEMBLE}
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
-DCMAKE_INSTALL_PREFIX:PATH=${TRITON_INSTALL_PREFIX}
-DTRITON_VERSION:STRING=${TRITON_VERSION}
DEPENDS ${TRITON_DEPENDS}
)
Loading