File tree 2 files changed +0
-8
lines changed
2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ class CompressionType(str, Enum):
58
58
INT8 = "int8"
59
59
INT8_PTQ = "int8_ptq"
60
60
INT8_ACQ = "int8_acq"
61
- POT = "pot"
62
- NNCF = "nncf"
63
61
64
62
65
63
class InferenceModel (nn .Module ):
Original file line number Diff line number Diff line change @@ -915,7 +915,6 @@ def export(
915
915
916
916
Raises:
917
917
ValueError: If Dataset, Datamodule, and transform are not provided.
918
- ValueError: If an unsupported compression type is specified for non-OpenVINO export types.
919
918
TypeError: If path to the transform file is not a string or Path.
920
919
921
920
CLI Usage:
@@ -976,11 +975,6 @@ def export(
976
975
else :
977
976
logging .error (f"Export type { export_type } is not supported yet." )
978
977
979
- if compression_type and export_type != ExportType .OPENVINO :
980
- msg = f"Compression type { compression_type } is only applicable for OpenVIVO Export Type."
981
- logging .error (f"Compression type { compression_type } is only applicable for OpenVIVO Export Type." )
982
- raise ValueError (msg )
983
-
984
978
if exported_model_path :
985
979
logging .info (f"Exported model to { exported_model_path } " )
986
980
return exported_model_path
You can’t perform that action at this time.
0 commit comments