From c5037b459e117b9286c611092f38663f6cb763b0 Mon Sep 17 00:00:00 2001 From: Zach Mueller Date: Thu, 9 Nov 2023 10:20:12 -0500 Subject: [PATCH] Use editable install for git deps (#27404) * Use editable install * Full command --- .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 6dda676126..4104fd477f 100644 --- a/.circleci/create_circleci_config.py +++ b/.circleci/create_circleci_config.py @@ -283,7 +283,7 @@ torch_and_tf_job = CircleCIJob( "pip install --upgrade --upgrade-strategy eager pip", "pip install -U --upgrade-strategy eager .[sklearn,tf-cpu,torch,testing,sentencepiece,torch-speech,vision]", "pip install -U --upgrade-strategy eager tensorflow_probability", - "pip install -U --upgrade-strategy eager git+https://github.com/huggingface/accelerate", + "pip install -U -e --upgrade-strategy eager git+https://github.com/huggingface/accelerate@main#egg=accelerate", ], marker="is_pt_tf_cross_test", pytest_options={"rA": None, "durations": 0},