From 0341da8bd256b40d912ba17245ee589f1f71d515 Mon Sep 17 00:00:00 2001 From: Arthur Zucker Date: Sun, 28 Apr 2024 16:54:19 +0200 Subject: [PATCH] update --- .circleci/create_circleci_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/create_circleci_config.py b/.circleci/create_circleci_config.py index 5a94a500393b77..f50ca12c2eb08f 100644 --- a/.circleci/create_circleci_config.py +++ b/.circleci/create_circleci_config.py @@ -105,7 +105,7 @@ def to_dict(self): {"attach_workspace": {"at": "~/transformers/test_preparation"}}, ] steps.extend([{"run": l} for l in self.install_steps]) - steps.append({"run": {"name": "Show installed libraries and their versions", "command": """du -h -d 1 "$(pip -V | cut -d ' ' -f 4 | sed 's/pip//g')" | grep -vE "dist-info|_distutils_hack|__pycache__" | sort -h | head 10 | tee installed.txt"""}}) + steps.append({"run": {"name": "Show installed libraries and their versions", "command": """du -h -d 1 "$(pip -V | cut -d ' ' -f 4 | sed 's/pip//g')" | grep -vE "dist-info|_distutils_hack|__pycache__" | sort -h | head -10 | tee installed.txt"""}}) steps.append({"run":{"name":"Show biggest libraries","command":"""dpkg-query --show --showformat='${Installed-Size}\t${Package}\n' | sort -rh | head -25 | sort -h | awk '{ printf("%.5f GB %s\n",$1/1024/1024, $2)}'"""}}) steps.append({"store_artifacts": {"path": "~/transformers/installed.txt"}})