diff --git a/device.mk b/device.mk index e47d425..4c897fe 100644 --- a/device.mk +++ b/device.mk @@ -979,10 +979,12 @@ PRODUCT_SYSTEM_SERVER_JARS += modemml-tflite-service # modem ML models configs ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) PRODUCT_COPY_FILES += \ - device/google/zumapro/modem_ml/modem_ml_models_userdebug.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_models.conf + device/google/zumapro/modem_ml/modem_ml_nnapi_models_userdebug.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_models.conf \ + device/google/zumapro/modem_ml/modem_ml_tflite_models_userdebug.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_tflite_models.conf else PRODUCT_COPY_FILES += \ - device/google/zumapro/modem_ml/modem_ml_models_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_models.conf + device/google/zumapro/modem_ml/modem_ml_nnapi_models_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_models.conf \ + device/google/zumapro/modem_ml/modem_ml_tflite_models_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/modem_ml_tflite_models.conf endif # modem logging binary/configs diff --git a/modem_ml/modem_ml_models_user.conf b/modem_ml/modem_ml_nnapi_models_user.conf similarity index 100% rename from modem_ml/modem_ml_models_user.conf rename to modem_ml/modem_ml_nnapi_models_user.conf diff --git a/modem_ml/modem_ml_models_userdebug.conf b/modem_ml/modem_ml_nnapi_models_userdebug.conf similarity index 100% rename from modem_ml/modem_ml_models_userdebug.conf rename to modem_ml/modem_ml_nnapi_models_userdebug.conf diff --git a/modem_ml/modem_ml_tflite_models_user.conf b/modem_ml/modem_ml_tflite_models_user.conf new file mode 100644 index 0000000..9122b5e --- /dev/null +++ b/modem_ml/modem_ml_tflite_models_user.conf @@ -0,0 +1 @@ +#name,version,ml_type,compute_enable,compute_timer,train_enable,train_timer,monitor_enable_monitor_timer,use_nnapi,execution_preference,accelerator_name,allow_fp16_precision diff --git a/modem_ml/modem_ml_tflite_models_userdebug.conf b/modem_ml/modem_ml_tflite_models_userdebug.conf new file mode 100644 index 0000000..9122b5e --- /dev/null +++ b/modem_ml/modem_ml_tflite_models_userdebug.conf @@ -0,0 +1 @@ +#name,version,ml_type,compute_enable,compute_timer,train_enable,train_timer,monitor_enable_monitor_timer,use_nnapi,execution_preference,accelerator_name,allow_fp16_precision