From db8fb59ee945f8c1ce997544eb21d0f74b7db683 Mon Sep 17 00:00:00 2001 From: jfrery Date: Wed, 17 Apr 2024 19:57:00 +0200 Subject: [PATCH] chore: clean makefiles --- .../cifar/cifar_brevitas_finetuning/Makefile | 2 -- use_case_examples/cifar/cifar_brevitas_training/Makefile | 8 -------- use_case_examples/credit_scoring/Makefile | 2 -- use_case_examples/disease_prediction/Makefile | 2 -- use_case_examples/federated_learning/Makefile | 9 +-------- use_case_examples/hybrid_model/Makefile | 6 ------ use_case_examples/llm/Makefile | 2 -- .../sentiment_analysis_with_transformer/Makefile | 2 -- use_case_examples/titanic/Makefile | 2 -- 9 files changed, 1 insertion(+), 34 deletions(-) diff --git a/use_case_examples/cifar/cifar_brevitas_finetuning/Makefile b/use_case_examples/cifar/cifar_brevitas_finetuning/Makefile index 5efd613709..fe7f8a39b7 100644 --- a/use_case_examples/cifar/cifar_brevitas_finetuning/Makefile +++ b/use_case_examples/cifar/cifar_brevitas_finetuning/Makefile @@ -2,8 +2,6 @@ export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 -EXAMPLE_NAME=cifar_brevitas_finetuning -JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh" run_example: four diff --git a/use_case_examples/cifar/cifar_brevitas_training/Makefile b/use_case_examples/cifar/cifar_brevitas_training/Makefile index 5c0837fabb..c605d5cc2e 100644 --- a/use_case_examples/cifar/cifar_brevitas_training/Makefile +++ b/use_case_examples/cifar/cifar_brevitas_training/Makefile @@ -1,11 +1,3 @@ -# Useful for jupyter notebooks -export LC_ALL=en_US.UTF-8 -export LANG=en_US.UTF-8 - -EXAMPLE_NAME=cifar_brevitas_training -JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute -TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh" - run_example: one two one: diff --git a/use_case_examples/credit_scoring/Makefile b/use_case_examples/credit_scoring/Makefile index 60bc03f90b..1d23a80721 100644 --- a/use_case_examples/credit_scoring/Makefile +++ b/use_case_examples/credit_scoring/Makefile @@ -2,8 +2,6 @@ export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 -EXAMPLE_NAME=credit_scoring -JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh" run_example: one diff --git a/use_case_examples/disease_prediction/Makefile b/use_case_examples/disease_prediction/Makefile index f9c290c6f1..ad95cb1c92 100644 --- a/use_case_examples/disease_prediction/Makefile +++ b/use_case_examples/disease_prediction/Makefile @@ -2,8 +2,6 @@ export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 -EXAMPLE_NAME=disease_prediction -JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh" run_example: one diff --git a/use_case_examples/federated_learning/Makefile b/use_case_examples/federated_learning/Makefile index 2f8985dea3..41e531ceef 100644 --- a/use_case_examples/federated_learning/Makefile +++ b/use_case_examples/federated_learning/Makefile @@ -1,10 +1,3 @@ -# Useful for jupyter notebooks -export LC_ALL=en_US.UTF-8 -export LANG=en_US.UTF-8 - -EXAMPLE_NAME=federated_learning -PYTHON_RUN=python - run_example: run_sh load_to_cml run_sh: @@ -13,4 +6,4 @@ run_sh: load_to_cml: @echo "Loading and compiling the model with Concrete ML..." - @$(PYTHON_RUN) load_to_cml.py + @python load_to_cml.py diff --git a/use_case_examples/hybrid_model/Makefile b/use_case_examples/hybrid_model/Makefile index a7defbc7fb..cf06778760 100644 --- a/use_case_examples/hybrid_model/Makefile +++ b/use_case_examples/hybrid_model/Makefile @@ -1,9 +1,3 @@ -# Useful for jupyter notebooks -export LC_ALL=en_US.UTF-8 -export LANG=en_US.UTF-8 - -EXAMPLE_NAME=hybrid_model - run_example: compile_model serve_model compile_model: diff --git a/use_case_examples/llm/Makefile b/use_case_examples/llm/Makefile index aa8bb65eb6..3504ad7327 100644 --- a/use_case_examples/llm/Makefile +++ b/use_case_examples/llm/Makefile @@ -2,8 +2,6 @@ export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 -EXAMPLE_NAME=llm -JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh" run_example: one diff --git a/use_case_examples/sentiment_analysis_with_transformer/Makefile b/use_case_examples/sentiment_analysis_with_transformer/Makefile index dde11d706e..bce8e4238f 100644 --- a/use_case_examples/sentiment_analysis_with_transformer/Makefile +++ b/use_case_examples/sentiment_analysis_with_transformer/Makefile @@ -2,8 +2,6 @@ export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 -EXAMPLE_NAME=sentiment_analysis_with_transformers -JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh" run_example: one diff --git a/use_case_examples/titanic/Makefile b/use_case_examples/titanic/Makefile index 71556d2578..238cdb4ed0 100644 --- a/use_case_examples/titanic/Makefile +++ b/use_case_examples/titanic/Makefile @@ -2,8 +2,6 @@ export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 -EXAMPLE_NAME=titanic -JUPYTER_RUN=jupyter nbconvert --to notebook --inplace --execute TIME_NB="${USE_CASE_DIR}/time_notebook_execution.sh" run_example: one