ext/torch/utils.h in torch-rb-0.15.0 vs ext/torch/utils.h in torch-rb-0.16.0
- old
+ new
@@ -4,10 +4,10 @@
#include <rice/rice.hpp>
#include <rice/stl.hpp>
static_assert(
- TORCH_VERSION_MAJOR == 2 && TORCH_VERSION_MINOR == 2,
+ TORCH_VERSION_MAJOR == 2 && TORCH_VERSION_MINOR == 3,
"Incompatible LibTorch version"
);
inline void handle_global_error(const torch::Error& ex) {
throw Rice::Exception(rb_eRuntimeError, ex.what_without_backtrace());