diff --git a/container/Dockerfile.sglang b/container/Dockerfile.sglang
index c9feef50ae..56134b4820 100644
--- a/container/Dockerfile.sglang
+++ b/container/Dockerfile.sglang
@@ -383,6 +383,9 @@ COPY --chown=dynamo: benchmarks /workspace/benchmarks
COPY --chown=dynamo: deploy /workspace/deploy
COPY --chown=dynamo: components/ /workspace/components/
+# Copy pyproject.toml for pytest configuration (markers, etc.)
+COPY --chown=dynamo: pyproject.toml /workspace/pyproject.toml
+
ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"]
CMD []
diff --git a/container/Dockerfile.trtllm b/container/Dockerfile.trtllm
index b5cc3154a6..7fbdfaa0b2 100644
--- a/container/Dockerfile.trtllm
+++ b/container/Dockerfile.trtllm
@@ -330,6 +330,9 @@ COPY --chown=dynamo: deploy /workspace/deploy
COPY --chown=dynamo: components/ /workspace/components/
COPY --chown=dynamo: recipes/ /workspace/recipes/
+# Copy pyproject.toml for pytest configuration (markers, etc.)
+COPY --chown=dynamo: pyproject.toml /workspace/pyproject.toml
+
# Copy attribution files with correct ownership
COPY --chown=dynamo: ATTRIBUTION* LICENSE /workspace/
diff --git a/container/Dockerfile.vllm b/container/Dockerfile.vllm
index d3b04a00d6..f87d414f92 100644
--- a/container/Dockerfile.vllm
+++ b/container/Dockerfile.vllm
@@ -287,9 +287,13 @@ RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requi
--requirement /tmp/requirements.txt \
--requirement /tmp/requirements.test.txt
+# FIXME: Copy directories more selectively instead of copying everything
# Copy benchmarks, examples, and tests for CI with correct ownership
COPY --chown=dynamo: . /workspace/
+# Copy pyproject.toml for pytest configuration (markers, etc.)
+COPY --chown=dynamo: pyproject.toml /workspace/pyproject.toml
+
# Copy attribution files
COPY --chown=dynamo: ATTRIBUTION* LICENSE /workspace/
diff --git a/pyproject.toml b/pyproject.toml
index 0cfe596a11..e44fb641a7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -135,16 +135,14 @@ known_first_party = ["dynamo"]
minversion = "8.0"
tmp_path_retention_policy = "failed"
-# NOTE
-# We ignore model.py explcitly here to avoid mypy errors with duplicate modules
-# pytest overrides the default mypy exclude configuration and so we exclude here as well
addopts = [
"-ra",
+ "-s",
+ "-v",
"--showlocals",
"--strict-markers",
"--strict-config",
- "--mypy",
- "--ignore-glob=*model.py",
+ #"--mypy",
"--ignore-glob=*vllm_integration*",
"--ignore-glob=*trtllm_integration*",
"--ignore-glob=*kvbm/python/kvbm*",
@@ -175,6 +173,8 @@ filterwarnings = [
"ignore:Support for class-based `config`.*:pydantic.warnings.PydanticDeprecatedSince20",
"ignore:Using extra keyword arguments on `Field`.*:pydantic.warnings.PydanticDeprecatedSince20",
"ignore:The `schema` method is deprecated.*:pydantic.warnings.PydanticDeprecatedSince20",
+ "ignore:.*transformers version.*incompatible with nvidia-modelopt.*:UserWarning", # Ignore transformers/nvidia-modelopt version compatibility warning, we don't currently control nvidia-modelopt install.
+ "ignore:.*TORCH_CUDA_ARCH_LIST is not set.*:UserWarning", # Ignore TORCH_CUDA_ARCH_LIST compilation warning
]
@@ -243,14 +243,12 @@ ignore_missing_imports = true
[tool.sphinx]
-# extra-content-head
extra_content_head = [
'''
''',
]
-#extra-content-footer
extra_content_footer = [
'''