Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
fcac394a
Commit
fcac394a
authored
Mar 12, 2025
by
Neelay Shah
Committed by
GitHub
Mar 12, 2025
Browse files
test: add basic support for pytest codeblocks (#117)
parent
1fd24d78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
14 deletions
+30
-14
README.md
README.md
+29
-14
container/deps/requirements.test.txt
container/deps/requirements.test.txt
+1
-0
No files found.
README.md
View file @
fcac394a
...
...
@@ -23,13 +23,12 @@ limitations under the License.
[

](https://github.com/ai-dynamo/dynamo/releases/latest)
Dynamo is a flexible, component based, data center scale
inference serving framework designed to leverage the strengths of the
standalone Dynamo Inference Server while expanding its capabilities
to meet the demands of complex use cases including those of Generative
AI. It is designed to enable developers to implement and customize
routing, load balancing, scaling and workflow definitions at the data
center scale without sacrificing performance or ease of use.
Dynamo is a flexible, component based, data center scale inference
serving framework designed to meet the demands of complex use cases
including those of Generative AI. It is designed to enable developers
to implement and customize routing, load balancing, scaling and
workflow definitions at the data center scale without sacrificing
performance or ease of use.
> [!NOTE]
> This project is currently in the alpha / experimental /
...
...
@@ -58,7 +57,10 @@ We provide 3 types of builds:
For example, if you want to build a container for the
`STANDARD`
backends you can run
`./container/build.sh`
<!--pytest.mark.skip-->
```
bash
./container/build.sh
```
Please see the instructions in the corresponding example for specific build instructions.
...
...
@@ -71,24 +73,37 @@ The run script offers a few common workflows:
1.
Running a command in a container and exiting.
```
<!--pytest.mark.skip-->
```
bash
./container/run.sh
--
python3
-c
"import dynamo.runtime; help(dynamo.runtime)"
```
<!--
2.
Starting an interactive shell.
# This tests the above the line but from within the container
# using pytest-codeblocks
```
bash
python3
-c
"import dynamo.runtime; help(dynamo.runtime)"
```
-- >
2.
Starting an interactive shell.
<!--pytest.mark.skip-->
```
bash
./container/run.sh
-it
```
3.
Mounting the local workspace and Starting an interactive shell.
```
<!--pytest.mark.skip-->
```
bash
./container/run.sh
-it
--mount-workspace
```
The last command also passes common environment variables (
``
`-e
HF_TOKEN`
``
) and mounts common directories such as
``
`/tmp:/tmp`
``
,
``
`
/mnt:/mnt`
``
.
The last command also passes common environment variables (
`-e
HF_TOKEN`
) and mounts common directories such as
`/tmp:/tmp`
,
`/mnt:/mnt`
.
Please see the instructions in the corresponding example for specific
deployment instructions.
...
...
container/deps/requirements.test.txt
View file @
fcac394a
...
...
@@ -17,6 +17,7 @@ pyright
pytest
pytest-asyncio
pytest-benchmark
pytest-codeblocks
pytest-cov
pytest-md-report
pytest-mypy
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment