Support building GPU-capable sherpa-onnx on Linux aarch64. (#1500)
Thanks to @Peakyxh for providing pre-built onnxruntime libraries with CUDA support for Linux aarch64. Tested on Jetson nano b01
This commit is contained in:
@@ -188,7 +188,7 @@ class OfflineWhisperModel::Impl {
|
||||
return {std::move(n_layer_self_k_cache), std::move(n_layer_self_v_cache)};
|
||||
}
|
||||
|
||||
OrtAllocator *Allocator() const { return allocator_; }
|
||||
OrtAllocator *Allocator() { return allocator_; }
|
||||
|
||||
const std::vector<int64_t> &GetInitialTokens() const { return sot_sequence_; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user