Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions container/Dockerfile.sglang
Original file line number Diff line number Diff line change
Expand Up @@ -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 []

Expand Down
3 changes: 3 additions & 0 deletions container/Dockerfile.trtllm
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down
4 changes: 4 additions & 0 deletions container/Dockerfile.vllm
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down
12 changes: 5 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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*",
Expand Down Expand Up @@ -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
]


Expand Down Expand Up @@ -243,14 +243,12 @@ ignore_missing_imports = true

[tool.sphinx]

# extra-content-head
extra_content_head = [
'''
<script src="https://assets.adobedtm.com/5d4962a43b79/c1061d2c5e7b/launch-191c2462b890.min.js" ></script>
''',
]

#extra-content-footer
extra_content_footer = [
'''
<script type="text/javascript">if (typeof _satellite !== "undefined") {_satellite.pageBottom();}</script>
Expand Down
Loading