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:
@@ -48,7 +48,7 @@ class OfflineZipformerCtcModel::Impl {
|
||||
int32_t VocabSize() const { return vocab_size_; }
|
||||
int32_t SubsamplingFactor() const { return 4; }
|
||||
|
||||
OrtAllocator *Allocator() const { return allocator_; }
|
||||
OrtAllocator *Allocator() { return allocator_; }
|
||||
|
||||
private:
|
||||
void Init(void *model_data, size_t model_data_length) {
|
||||
|
||||
Reference in New Issue
Block a user