This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Differential check for the Inkling arg_value_extender fix (vLLM #69267). | |
| # Streams random Inkling tool-call sequences through InklingParser and compares | |
| # against extract_tool_calls; pickles the streamed output so two trees (main vs | |
| # patched) can be diffed. Run from a vLLM checkout: | |
| # PYTHONPATH=. python differential_fuzz.py <seed> <cases> <out.pkl> | |
| import json, random, sys | |
| from unittest.mock import MagicMock | |
| from tests.parser.engine.conftest import make_mock_tokenizer | |
| from vllm.entrypoints.openai.chat_completion.protocol import ChatCompletionRequest, ChatCompletionToolsParam, FunctionDefinition |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Create an elasticearch instance | |
| **/ | |
| package main | |
| import ( | |
| "crypto/tls" | |
| "log" | |
| "net/http" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| n=$1 | |
| git for-each-ref --sort=-taggerdate | grep refs/tags/v | cut -d '/' -f 3 | head -$n | tail -1 |