extension-script
extension-script copied to clipboard
Example repository for custom C++/CUDA operators for TorchScript
The current Dockerfile is broken because pytorch changed the names of package `pytorch-nightly-cpu`; see here: https://github.com/pytorch/pytorch/issues/23778
This is pull request was created automatically because we noticed your project was missing a Code of Conduct file. Code of Conduct files facilitate respectful and constructive communities by establishing...
This is pull request was created automatically because we noticed your project was missing a Contributing file. CONTRIBUTING files explain how a developer can contribute to the project - which...
I tried the following: **### 1. Build on Host** gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 first I got `#error You need C++14 to compile PyTorch` So I set c++ 14 in...
OSError: /home/huang/vsopencv/extension-script/example_app/build/warp_perspective/libwarp_perspective.so: undefined symbol: _ZN3c1017RegisterOperators25checkSchemaAndRegisterOp_ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEONS0_7OptionsE
Hello, The instructions worked for me right up until `make -j`. When I run that, I get: ``` Scanning dependencies of target warp_perspective [ 25%] Building CXX object warp_perspective/CMakeFiles/warp_perspective.dir/op.cpp.o /home/example_app/warp_perspective/op.cpp:23:78:...
The custom layer uses JIT mechanism to invoke on the c++ side, which seems to require registration in scripts, such as: .# include Torch:: Tensor warp_perspective (torch:: Tensor image, torch::...
The pytorch build pointed too in the Instructions is no longer valid. I've updated that package.