Skip to content

Cannot compile dali_backend with older version of triton #199

@spotnate

Description

@spotnate

Hi!

I'd like to compile dali with an older version of triton because I am forced to use tritonserver 21.10. This is due to nvidia driver versions, and the inability to upgrade the drivers to a newer version.

When attempting to build dali_backend for 21.10 after setting the triton version to 21.10 and the API version to 21.05 in the Dockerfile.release file, this is the failure that shows up

/dali/src/config_tools/config_tools.cc: In function 'void triton::backend::dali::AutofillIOConfig(triton::common::TritonJson::Value&, triton::common::TritonJson::Value&, const triton::backend::dali::IOConfig&, bool)':
/dali/src/config_tools/config_tools.cc:237:22: error: 'class triton::common::TritonJson::Value' has no member named 'SetString'; did you mean 'AddString'?
  237 |     config_data_type.SetString(new_data_type);
      |                      ^~~~~~~~~
      |                      AddString
make[2]: *** [src/CMakeFiles/triton-dali-backend-utils.dir/build.make:95: src/CMakeFiles/triton-dali-backend-utils.dir/config_tools/config_tools.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:458: src/CMakeFiles/triton-dali-backend-utils.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

When attempting to build dali_backend using tag r21.10, after replacing the initial apt-get to fix the public key problem, it has even more failures than the one described. So therefore, it is currently impossible to build tag 21.10.

Would appreciate some help! Thank you very much.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions