From d6f7d75cdbb03a08983586a1b5d851ea520ea350 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Tue, 16 Dec 2025 16:49:08 -0800 Subject: [PATCH 1/4] demo docker --- docs/llvm/Dockerfile | 52 +++++++++++++++++++++++++++ docs/llvm/build_clang_for_corpus.sh | 15 ++++++++ docs/llvm/build_clang_for_training.sh | 11 ++++++ docs/llvm/extract_corpus.sh | 9 +++++ docs/llvm/generate_default_trace.sh | 10 ++++++ docs/llvm/generate_vocab.sh | 7 ++++ docs/llvm/init.sh | 4 +++ docs/llvm/run_everything.sh | 9 +++++ docs/llvm/train_with_es.sh | 11 ++++++ 9 files changed, 128 insertions(+) create mode 100644 docs/llvm/Dockerfile create mode 100755 docs/llvm/build_clang_for_corpus.sh create mode 100755 docs/llvm/build_clang_for_training.sh create mode 100755 docs/llvm/extract_corpus.sh create mode 100755 docs/llvm/generate_default_trace.sh create mode 100755 docs/llvm/generate_vocab.sh create mode 100755 docs/llvm/init.sh create mode 100755 docs/llvm/run_everything.sh create mode 100755 docs/llvm/train_with_es.sh diff --git a/docs/llvm/Dockerfile b/docs/llvm/Dockerfile new file mode 100644 index 00000000..27cfbe83 --- /dev/null +++ b/docs/llvm/Dockerfile @@ -0,0 +1,52 @@ +FROM ubuntu:24.04 + +ARG USERID + +RUN apt-get update && \ + apt-get install -y \ + cmake \ + git \ + ninja-build \ + clang-19 \ + lld-19 \ + sudo \ + adduser \ + tmux \ + bzip2 \ + curl \ + vim \ + software-properties-common + +RUN add-apt-repository ppa:deadsnakes/ppa +RUN apt-get update && \ + apt-get install -y \ + python3.11 \ + python3.11-venv + +RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.11 1 +RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 +RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang-19 100 +RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-19 100 +RUN update-alternatives --install /usr/bin/ld ld /usr/bin/lld-19 100 + +RUN python -m ensurepip + +RUN mkdir -p /work/tflite +WORKDIR /work/tflite +RUN curl https://raw.githubusercontent.com/google/ml-compiler-opt/main/buildbot/build_tflite.sh | bash -s + +WORKDIR /work + +RUN git clone https://github.com/llvm/llvm-project.git +RUN git clone https://github.com/google/ml-compiler-opt + +WORKDIR /work/llvm-project +WORKDIR /work/ml-compiler-opt + +# we want a venv to avoid clashing with py3.11 system packages. +RUN python -m venv /work/pyenv +ENV PATH="/work/pyenv/bin:$PATH" + +RUN python -m pip install pipenv +RUN ./versioned_pipenv sync --system --categories "packages dev-packages ci" + diff --git a/docs/llvm/build_clang_for_corpus.sh b/docs/llvm/build_clang_for_corpus.sh new file mode 100755 index 00000000..be2021fe --- /dev/null +++ b/docs/llvm/build_clang_for_corpus.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +mkdir -p /work/llvm-corpus +cmake -B /work/llvm-corpus \ + -GNinja \ + -DCMAKE_EXPORT_COMPILE_COMMANDS=On \ + -DCMAKE_BUILD_TYPE=Release \ + -DLLVM_ENABLE_PROJECTS=clang \ + -DCMAKE_C_COMPILER=/work/llvm-train/bin/clang \ + -DCMAKE_CXX_COMPILER=/work/llvm-train/bin/clang++ \ + -DCMAKE_C_FLAGS="-Xclang=-fembed-bitcode=all" \ + -DCMAKE_CXX_FLAGS="-Xclang=-fembed-bitcode=all" \ + /work/llvm-project/llvm + +ninja -C /work/llvm-corpus \ No newline at end of file diff --git a/docs/llvm/build_clang_for_training.sh b/docs/llvm/build_clang_for_training.sh new file mode 100755 index 00000000..fdec1adf --- /dev/null +++ b/docs/llvm/build_clang_for_training.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +mkdir -p /work/llvm-train +cmake -B /work/llvm-train \ + -GNinja \ + -C /work/tflite/tflite.cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DLLVM_ENABLE_PROJECTS=clang \ + /work/llvm-project/llvm + +ninja -C /work/llvm-train \ No newline at end of file diff --git a/docs/llvm/extract_corpus.sh b/docs/llvm/extract_corpus.sh new file mode 100755 index 00000000..552d8c4c --- /dev/null +++ b/docs/llvm/extract_corpus.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +PYTHONPATH=/work/llvm-project/llvm/utils/mlgo-utils:$PYTHONPATH \ + python /work/llvm-project/llvm/utils/mlgo-utils/extract_ir.py \ + --input /work/llvm-corpus/compile_commands.json \ + --input_type json \ + --output_dir /work/corpus/modules \ + --llvm_objcopy_path /work/llvm-train/bin/llvm-objcopy \ + --obj_base_dir /work/llvm-corpus \ No newline at end of file diff --git a/docs/llvm/generate_default_trace.sh b/docs/llvm/generate_default_trace.sh new file mode 100755 index 00000000..4f24bf5f --- /dev/null +++ b/docs/llvm/generate_default_trace.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +TF_CPP_MIN_LOG_LEVEL=3 PYTHONPATH=/work/ml-compiler-opt:$PYTHONPATH \ + python /work/ml-compiler-opt/compiler_opt/tools/generate_default_trace.py \ + --data_path /work/corpus/modules \ + --gin_files /work/ml-compiler-opt/compiler_opt/rl/inlining/gin_configs/common.gin \ + --gin_bindings clang_path="'/work/llvm-train/bin/clang'" \ + --gin_bindings llvm_size_path="'/work/llvm-train/bin/llvm-size'" \ + --compilation_timeout=600 \ + --output_path /work/corpus/default_trace \ No newline at end of file diff --git a/docs/llvm/generate_vocab.sh b/docs/llvm/generate_vocab.sh new file mode 100755 index 00000000..5848544f --- /dev/null +++ b/docs/llvm/generate_vocab.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +TF_CPP_MIN_LOG_LEVEL=3 PYTHONPATH=/work/ml-compiler-opt:$PYTHONPATH \ + python /work/ml-compiler-opt/compiler_opt/tools/generate_vocab.py \ + --gin_files /work/ml-compiler-opt/compiler_opt/rl/inlining/gin_configs/common.gin \ + --input /work/corpus/default_trace \ + --output_dir /work/corpus/vocab \ No newline at end of file diff --git a/docs/llvm/init.sh b/docs/llvm/init.sh new file mode 100755 index 00000000..9f37e488 --- /dev/null +++ b/docs/llvm/init.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd /work/llvm-project +git fetch origin && git checkout 1ea201d73be2fdf03347e9c6be09ebed5f8e0e00 \ No newline at end of file diff --git a/docs/llvm/run_everything.sh b/docs/llvm/run_everything.sh new file mode 100755 index 00000000..b81ea8db --- /dev/null +++ b/docs/llvm/run_everything.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +./init.sh +./build_clang_for_training.sh +./build_clang_for_corpus.sh +./extract_corpus.sh +./generate_default_trace.sh +./generate_vocab.sh +./train_with_es.sh \ No newline at end of file diff --git a/docs/llvm/train_with_es.sh b/docs/llvm/train_with_es.sh new file mode 100755 index 00000000..3ebc6006 --- /dev/null +++ b/docs/llvm/train_with_es.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +TF_CPP_MIN_LOG_LEVEL=3 PYTHONPATH=/work/ml-compiler-opt:$PYTHONPATH \ + python /work/ml-compiler-opt/compiler_opt/es/es_trainer.py \ + --gin_files /work/ml-compiler-opt/compiler_opt/es/inlining/gin_configs/inlining.gin \ + --gin_files /work/ml-compiler-opt/compiler_opt/es/inlining/gin_configs/blackbox_learner.gin \ + --train_corpora /work/corpus/modules \ + --gin_bindings clang_path="'/work/llvm-train/bin/clang'" \ + --gin_bindings llvm_size_path="'/work/llvm-train/bin/llvm-size'" \ + --gin_bindings inlining.config.get_observation_processing_layer_creator.quantile_file_dir="'/work/corpus/vocab'" \ + --output_path /work/corpus/trained_model_es \ No newline at end of file From 8113e816cfc65ad0ced5e9e1e6dd87ac134aa102 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 17 Dec 2025 22:08:08 -0800 Subject: [PATCH 2/4] fix run_everything.sh --- docs/llvm/run_everything.sh | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/docs/llvm/run_everything.sh b/docs/llvm/run_everything.sh index b81ea8db..439e2d5b 100755 --- a/docs/llvm/run_everything.sh +++ b/docs/llvm/run_everything.sh @@ -1,9 +1,16 @@ #!/bin/bash -./init.sh -./build_clang_for_training.sh -./build_clang_for_corpus.sh -./extract_corpus.sh -./generate_default_trace.sh -./generate_vocab.sh -./train_with_es.sh \ No newline at end of file +SCRIPT_DIR="$(dirname -- "${BASH_SOURCE[0]}")" + +SCRIPT_DIR="$(cd -- "$SCRIPT_DIR" && pwd)" +if [[ -z "$SCRIPT_DIR" ]] ; then + exit 1 +fi + +"${SCRIPT_DIR}/init.sh" +"${SCRIPT_DIR}/build_clang_for_training.sh" +"${SCRIPT_DIR}/build_clang_for_corpus.sh" +"${SCRIPT_DIR}/extract_corpus.sh" +"${SCRIPT_DIR}/generate_default_trace.sh" +"${SCRIPT_DIR}/generate_vocab.sh" +"${SCRIPT_DIR}/train_with_es.sh" \ No newline at end of file From 6d95733c997c3f488eb412bf25e38f2327001209 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Thu, 18 Dec 2025 06:40:52 -0800 Subject: [PATCH 3/4] license --- docs/llvm/build_clang_for_corpus.sh | 14 ++++++++++++++ docs/llvm/build_clang_for_training.sh | 14 ++++++++++++++ docs/llvm/extract_corpus.sh | 14 ++++++++++++++ docs/llvm/generate_default_trace.sh | 14 ++++++++++++++ docs/llvm/generate_vocab.sh | 14 ++++++++++++++ docs/llvm/init.sh | 14 ++++++++++++++ docs/llvm/run_everything.sh | 14 ++++++++++++++ docs/llvm/train_with_es.sh | 14 ++++++++++++++ 8 files changed, 112 insertions(+) diff --git a/docs/llvm/build_clang_for_corpus.sh b/docs/llvm/build_clang_for_corpus.sh index be2021fe..becb6dbe 100755 --- a/docs/llvm/build_clang_for_corpus.sh +++ b/docs/llvm/build_clang_for_corpus.sh @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash mkdir -p /work/llvm-corpus diff --git a/docs/llvm/build_clang_for_training.sh b/docs/llvm/build_clang_for_training.sh index fdec1adf..472f21f5 100755 --- a/docs/llvm/build_clang_for_training.sh +++ b/docs/llvm/build_clang_for_training.sh @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash mkdir -p /work/llvm-train diff --git a/docs/llvm/extract_corpus.sh b/docs/llvm/extract_corpus.sh index 552d8c4c..806a0ecb 100755 --- a/docs/llvm/extract_corpus.sh +++ b/docs/llvm/extract_corpus.sh @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash PYTHONPATH=/work/llvm-project/llvm/utils/mlgo-utils:$PYTHONPATH \ diff --git a/docs/llvm/generate_default_trace.sh b/docs/llvm/generate_default_trace.sh index 4f24bf5f..c85fb5b7 100755 --- a/docs/llvm/generate_default_trace.sh +++ b/docs/llvm/generate_default_trace.sh @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash TF_CPP_MIN_LOG_LEVEL=3 PYTHONPATH=/work/ml-compiler-opt:$PYTHONPATH \ diff --git a/docs/llvm/generate_vocab.sh b/docs/llvm/generate_vocab.sh index 5848544f..89f207dc 100755 --- a/docs/llvm/generate_vocab.sh +++ b/docs/llvm/generate_vocab.sh @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash TF_CPP_MIN_LOG_LEVEL=3 PYTHONPATH=/work/ml-compiler-opt:$PYTHONPATH \ diff --git a/docs/llvm/init.sh b/docs/llvm/init.sh index 9f37e488..e0df6a9a 100755 --- a/docs/llvm/init.sh +++ b/docs/llvm/init.sh @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash cd /work/llvm-project diff --git a/docs/llvm/run_everything.sh b/docs/llvm/run_everything.sh index 439e2d5b..c6e15cdd 100755 --- a/docs/llvm/run_everything.sh +++ b/docs/llvm/run_everything.sh @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash SCRIPT_DIR="$(dirname -- "${BASH_SOURCE[0]}")" diff --git a/docs/llvm/train_with_es.sh b/docs/llvm/train_with_es.sh index 3ebc6006..a7069985 100755 --- a/docs/llvm/train_with_es.sh +++ b/docs/llvm/train_with_es.sh @@ -1,3 +1,17 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + #!/bin/bash TF_CPP_MIN_LOG_LEVEL=3 PYTHONPATH=/work/ml-compiler-opt:$PYTHONPATH \ From 79d386e44d7ba57b2bab8635f658f674e12e81ff Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Thu, 18 Dec 2025 06:55:30 -0800 Subject: [PATCH 4/4] eof newline --- docs/llvm/Dockerfile | 1 - docs/llvm/build_clang_for_corpus.sh | 2 +- docs/llvm/build_clang_for_training.sh | 2 +- docs/llvm/extract_corpus.sh | 2 +- docs/llvm/generate_default_trace.sh | 2 +- docs/llvm/generate_vocab.sh | 2 +- docs/llvm/init.sh | 2 +- docs/llvm/run_everything.sh | 2 +- docs/llvm/train_with_es.sh | 2 +- 9 files changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/llvm/Dockerfile b/docs/llvm/Dockerfile index 27cfbe83..f28dbc97 100644 --- a/docs/llvm/Dockerfile +++ b/docs/llvm/Dockerfile @@ -49,4 +49,3 @@ ENV PATH="/work/pyenv/bin:$PATH" RUN python -m pip install pipenv RUN ./versioned_pipenv sync --system --categories "packages dev-packages ci" - diff --git a/docs/llvm/build_clang_for_corpus.sh b/docs/llvm/build_clang_for_corpus.sh index becb6dbe..f293933b 100755 --- a/docs/llvm/build_clang_for_corpus.sh +++ b/docs/llvm/build_clang_for_corpus.sh @@ -26,4 +26,4 @@ cmake -B /work/llvm-corpus \ -DCMAKE_CXX_FLAGS="-Xclang=-fembed-bitcode=all" \ /work/llvm-project/llvm -ninja -C /work/llvm-corpus \ No newline at end of file +ninja -C /work/llvm-corpus diff --git a/docs/llvm/build_clang_for_training.sh b/docs/llvm/build_clang_for_training.sh index 472f21f5..3ff85f9a 100755 --- a/docs/llvm/build_clang_for_training.sh +++ b/docs/llvm/build_clang_for_training.sh @@ -22,4 +22,4 @@ cmake -B /work/llvm-train \ -DLLVM_ENABLE_PROJECTS=clang \ /work/llvm-project/llvm -ninja -C /work/llvm-train \ No newline at end of file +ninja -C /work/llvm-train diff --git a/docs/llvm/extract_corpus.sh b/docs/llvm/extract_corpus.sh index 806a0ecb..1c72d795 100755 --- a/docs/llvm/extract_corpus.sh +++ b/docs/llvm/extract_corpus.sh @@ -20,4 +20,4 @@ PYTHONPATH=/work/llvm-project/llvm/utils/mlgo-utils:$PYTHONPATH \ --input_type json \ --output_dir /work/corpus/modules \ --llvm_objcopy_path /work/llvm-train/bin/llvm-objcopy \ - --obj_base_dir /work/llvm-corpus \ No newline at end of file + --obj_base_dir /work/llvm-corpus diff --git a/docs/llvm/generate_default_trace.sh b/docs/llvm/generate_default_trace.sh index c85fb5b7..2432ad36 100755 --- a/docs/llvm/generate_default_trace.sh +++ b/docs/llvm/generate_default_trace.sh @@ -21,4 +21,4 @@ TF_CPP_MIN_LOG_LEVEL=3 PYTHONPATH=/work/ml-compiler-opt:$PYTHONPATH \ --gin_bindings clang_path="'/work/llvm-train/bin/clang'" \ --gin_bindings llvm_size_path="'/work/llvm-train/bin/llvm-size'" \ --compilation_timeout=600 \ - --output_path /work/corpus/default_trace \ No newline at end of file + --output_path /work/corpus/default_trace diff --git a/docs/llvm/generate_vocab.sh b/docs/llvm/generate_vocab.sh index 89f207dc..8468836f 100755 --- a/docs/llvm/generate_vocab.sh +++ b/docs/llvm/generate_vocab.sh @@ -18,4 +18,4 @@ TF_CPP_MIN_LOG_LEVEL=3 PYTHONPATH=/work/ml-compiler-opt:$PYTHONPATH \ python /work/ml-compiler-opt/compiler_opt/tools/generate_vocab.py \ --gin_files /work/ml-compiler-opt/compiler_opt/rl/inlining/gin_configs/common.gin \ --input /work/corpus/default_trace \ - --output_dir /work/corpus/vocab \ No newline at end of file + --output_dir /work/corpus/vocab diff --git a/docs/llvm/init.sh b/docs/llvm/init.sh index e0df6a9a..23ba8d2f 100755 --- a/docs/llvm/init.sh +++ b/docs/llvm/init.sh @@ -15,4 +15,4 @@ #!/bin/bash cd /work/llvm-project -git fetch origin && git checkout 1ea201d73be2fdf03347e9c6be09ebed5f8e0e00 \ No newline at end of file +git fetch origin && git checkout 1ea201d73be2fdf03347e9c6be09ebed5f8e0e00 diff --git a/docs/llvm/run_everything.sh b/docs/llvm/run_everything.sh index c6e15cdd..f10e1741 100755 --- a/docs/llvm/run_everything.sh +++ b/docs/llvm/run_everything.sh @@ -27,4 +27,4 @@ fi "${SCRIPT_DIR}/extract_corpus.sh" "${SCRIPT_DIR}/generate_default_trace.sh" "${SCRIPT_DIR}/generate_vocab.sh" -"${SCRIPT_DIR}/train_with_es.sh" \ No newline at end of file +"${SCRIPT_DIR}/train_with_es.sh" diff --git a/docs/llvm/train_with_es.sh b/docs/llvm/train_with_es.sh index a7069985..53c4bf6d 100755 --- a/docs/llvm/train_with_es.sh +++ b/docs/llvm/train_with_es.sh @@ -22,4 +22,4 @@ TF_CPP_MIN_LOG_LEVEL=3 PYTHONPATH=/work/ml-compiler-opt:$PYTHONPATH \ --gin_bindings clang_path="'/work/llvm-train/bin/clang'" \ --gin_bindings llvm_size_path="'/work/llvm-train/bin/llvm-size'" \ --gin_bindings inlining.config.get_observation_processing_layer_creator.quantile_file_dir="'/work/corpus/vocab'" \ - --output_path /work/corpus/trained_model_es \ No newline at end of file + --output_path /work/corpus/trained_model_es