romanbredehoft-zama commited on
Commit
ec21179
1 Parent(s): 34030cc

Enable cross-platform deployment

Browse files
deployment_files/client.zip CHANGED
Binary files a/deployment_files/client.zip and b/deployment_files/client.zip differ
 
deployment_files/pre_processor_third_party.pkl CHANGED
Binary files a/deployment_files/pre_processor_third_party.pkl and b/deployment_files/pre_processor_third_party.pkl differ
 
deployment_files/pre_processor_user.pkl CHANGED
Binary files a/deployment_files/pre_processor_user.pkl and b/deployment_files/pre_processor_user.pkl differ
 
deployment_files/server.zip CHANGED
Binary files a/deployment_files/server.zip and b/deployment_files/server.zip differ
 
deployment_files/versions.json CHANGED
@@ -1 +1 @@
1
- {"concrete-python": "2.5.0rc1", "concrete-ml": "1.3.0", "python": "3.10.12"}
 
1
+ {"concrete-python": "2.5.0rc1", "concrete-ml": "1.3.0", "python": "3.10.11"}
development.py CHANGED
@@ -83,9 +83,9 @@ print(f"Concrete ML accuracy score (simulated) : {accuracy_score(y_test, y_pred_
83
 
84
  print("\nSave deployment files")
85
 
86
- # Save files needed for deployment
87
  fhe_dev = MultiInputsFHEModelDev(DEPLOYMENT_PATH, model)
88
- fhe_dev.save()
89
 
90
  # Save pre-processors
91
  with PRE_PROCESSOR_USER_PATH.open('wb') as file:
 
83
 
84
  print("\nSave deployment files")
85
 
86
+ # Save files needed for deployment (and enable cross-platform deployment)
87
  fhe_dev = MultiInputsFHEModelDev(DEPLOYMENT_PATH, model)
88
+ fhe_dev.save(via_mlir=True)
89
 
90
  # Save pre-processors
91
  with PRE_PROCESSOR_USER_PATH.open('wb') as file: