diff --git a/.bumpversion.toml b/.bumpversion.toml index 2d8ed7e..54912a0 100644 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -1,5 +1,5 @@ [tool.bumpversion] -current_version = "0.2.4" +current_version = "0.2.5" commit = true tag = true tag_name = "v{new_version}" diff --git a/.env.example b/.env.example index c7e609e..800e746 100644 --- a/.env.example +++ b/.env.example @@ -32,3 +32,11 @@ NEBIUS_ENABLED=0 # NEBIUS_INSTANCE_NAME_PREFIX=cab-worker # NEBIUS_IDLE_TIMEOUT_SECONDS=600 # HF_TOKEN= + +# Intake Poller (optional) +# GOOGLE_APPLICATION_CREDENTIALS=service-account.json +# GOOGLE_SHEET_ID= +# JOB_QUEUE_URL=http://localhost:8000 +# + SENDER_EMAIL= +# AUTO_APPROVE=false diff --git a/deploy/intake-cronjob.yml b/deploy/intake-cronjob.yml index 74db114..90261b1 100644 --- a/deploy/intake-cronjob.yml +++ b/deploy/intake-cronjob.yml @@ -22,7 +22,7 @@ spec: restartPolicy: Never containers: - name: poller - image: ghcr.io/redhat-et/coding_agent_bench:v0.2.4 + image: ghcr.io/redhat-et/coding_agent_bench:v0.2.5 imagePullPolicy: Always command: ["uv", "run", "python", "-m", "coding_agent_bench.intake.poller"] env: diff --git a/deploy/job-queue-service.yml b/deploy/job-queue-service.yml index d51b95e..422f115 100644 --- a/deploy/job-queue-service.yml +++ b/deploy/job-queue-service.yml @@ -41,7 +41,7 @@ spec: securityContext: fsGroup: 1001 containers: - - image: ghcr.io/redhat-et/coding_agent_bench:v0.2.4 + - image: ghcr.io/redhat-et/coding_agent_bench:v0.2.5 name: job-queue command: ["/bin/sh", "-c"] args: diff --git a/pyproject.toml b/pyproject.toml index b7694a7..1bcf4f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "coding-agent-bench" -version = "0.2.4" +version = "0.2.5" description = "Add your description here" readme = "README.md" requires-python = ">=3.12" diff --git a/src/coding_agent_bench/models/__init__.py b/src/coding_agent_bench/models/__init__.py index e729db2..1f8fdee 100644 --- a/src/coding_agent_bench/models/__init__.py +++ b/src/coding_agent_bench/models/__init__.py @@ -2,6 +2,7 @@ from coding_agent_bench.models.configs import ( Qwen_Qwen3_8_27B, Qwen_Qwen3_8_27B_FP8, + RedHatAI_Qwen3_8_27B_INT4, RedHatAI_gemma_4_31B_it_FP8_block, RedHatAI_gpt_oss_120b, RedHatAI_Mistral_Small_4_119B_2603_NVFP4, @@ -12,6 +13,7 @@ MODEL_CONFIGS: list[type[ModelConfig]] = [ Qwen_Qwen3_8_27B, Qwen_Qwen3_8_27B_FP8, + RedHatAI_Qwen3_8_27B_INT4, RedHatAI_gemma_4_31B_it_FP8_block, RedHatAI_gpt_oss_120b, RedHatAI_Mistral_Small_4_119B_2603_NVFP4, diff --git a/src/coding_agent_bench/models/configs.py b/src/coding_agent_bench/models/configs.py index f84c964..114e9d2 100644 --- a/src/coding_agent_bench/models/configs.py +++ b/src/coding_agent_bench/models/configs.py @@ -28,6 +28,20 @@ class Qwen_Qwen3_8_27B_FP8(ModelConfig): "--mm-encoder-tp-mode", "data", ] +class RedHatAI_Qwen3_8_27B_INT4(ModelConfig): + + name = "RedHatAI/Qwen3.8-27B-INT4" + model_max_len = 262144 + args = [ + "--model", "RedHatAI/Qwen3.8-27B-INT4", + "--max-model-len", "262144", + "--kv-cache-dtype", "fp8", + "--enable-auto-tool-choice", + "--tool-call-parser", "qwen3_coder", + "--reasoning-parser", "qwen3", + "--mm-encoder-tp-mode", "data", + ] + class RedHatAI_gemma_4_31B_it_FP8_block(ModelConfig): name = "RedHatAI/gemma-4-31B-it-FP8-block" diff --git a/tests/test_models.py b/tests/test_models.py new file mode 100644 index 0000000..a78d372 --- /dev/null +++ b/tests/test_models.py @@ -0,0 +1,22 @@ +from coding_agent_bench.models import get_model_config + + +def test_qwen38_int4_model_config(): + config = get_model_config("RedHatAI/Qwen3.8-27B-INT4") + + assert config.model_max_len == 262144 + assert config.args == [ + "--model", + "RedHatAI/Qwen3.8-27B-INT4", + "--max-model-len", + "262144", + "--kv-cache-dtype", + "fp8", + "--enable-auto-tool-choice", + "--tool-call-parser", + "qwen3_coder", + "--reasoning-parser", + "qwen3", + "--mm-encoder-tp-mode", + "data", + ] diff --git a/uv.lock b/uv.lock index 721d2b4..c2fb79c 100644 --- a/uv.lock +++ b/uv.lock @@ -393,7 +393,7 @@ wheels = [ [[package]] name = "coding-agent-bench" -version = "0.2.4" +version = "0.2.5" source = { editable = "." } dependencies = [ { name = "awscli" },