Disable llama2 optimize model true or false test for now in Arc UTs (#10008)

This commit is contained in:
Yuwen Hu 2024-01-26 14:42:11 +08:00 committed by GitHub
parent a00efa0564
commit f0da0c131b

View file

@ -27,7 +27,8 @@ prompt = "Once upon a time, there existed a little girl who liked to have advent
@pytest.mark.parametrize('Model, Tokenizer, model_path',[ @pytest.mark.parametrize('Model, Tokenizer, model_path',[
(AutoModelForCausalLM, AutoTokenizer, os.environ.get('MPT_7B_ORIGIN_PATH')), (AutoModelForCausalLM, AutoTokenizer, os.environ.get('MPT_7B_ORIGIN_PATH')),
(AutoModelForCausalLM, AutoTokenizer, os.environ.get('LLAMA2_7B_ORIGIN_PATH')) # (AutoModelForCausalLM, AutoTokenizer, os.environ.get('LLAMA2_7B_ORIGIN_PATH')),
(AutoModelForCausalLM, AutoTokenizer, os.environ.get('FALCON_7B_ORIGIN_PATH')),
]) ])
def test_optimize_model(Model, Tokenizer, model_path): def test_optimize_model(Model, Tokenizer, model_path):
with torch.inference_mode(): with torch.inference_mode():