From 9c739651cd05ee69daab8d7b99c0c26d082783af Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Mon, 12 Aug 2024 14:08:38 +0200 Subject: [PATCH] Upgrade fbgemm (#2398) * Upgrade fbgemm * Fix fbgemm version --- .../models/test_grammar_response_format_llama.py | 4 ++-- server/Makefile-fbgemm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/models/test_grammar_response_format_llama.py b/integration-tests/models/test_grammar_response_format_llama.py index ea25fa1c..25bf9d98 100644 --- a/integration-tests/models/test_grammar_response_format_llama.py +++ b/integration-tests/models/test_grammar_response_format_llama.py @@ -98,6 +98,6 @@ async def test_grammar_response_format_llama_error_if_tools_not_installed( # 422 means the server was unable to process the request because it contains invalid data. assert response.status_code == 422 assert response.json() == { - "error": "Grammar and tools are mutually exclusive", - "error_type": "grammar and tools", + "error": "Tool error: Grammar and tools are mutually exclusive", + "error_type": "tool_error", } diff --git a/server/Makefile-fbgemm b/server/Makefile-fbgemm index 57526577..5f3c0eaa 100644 --- a/server/Makefile-fbgemm +++ b/server/Makefile-fbgemm @@ -1,4 +1,4 @@ -fbgemm_commit := ddac8dd9fc0bee70a3f456df68b8aac38576c856 +fbgemm_commit := v0.8.0 build-fbgemm: git clone https://github.com/pytorch/FBGEMM.git fbgemm && \