Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc improvements for sid_visualization example #1751

Merged
Merged
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
9 changes: 2 additions & 7 deletions examples/sid_visualization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ Inside the container, compile Morpheus:
BUILD_DIR=build-docker ./scripts/compile.sh
```

Install Morpheus with an extra dependency:
```bash
pip install -e .
```

Verify Morpheus is installed:
```bash
morpheus --version
Expand All @@ -105,7 +100,7 @@ git lfs install
After the GUI has been launched, Morpheus now needs to be started. In the same shell used to build Morpheus (the one running the Morpheus Dev container), run the following:
```bash
python examples/sid_visualization/run.py \
--debug --use_cpp=False --num_threads=1 \
--debug \
--triton_server_url=triton:8001 \
--input_file=./examples/data/sid_visualization/group1-benign-2nodes.jsonlines \
--input_file=./examples/data/sid_visualization/group2-benign-50nodes.jsonlines \
Expand Down Expand Up @@ -153,7 +148,7 @@ DEMO_DATASET="examples/data/sid_visualization/group1-benign-2nodes.jsonlines"

```bash
morpheus --log_level=DEBUG \
run --num_threads=1 --pipeline_batch_size=1024 --model_max_batch_size=32 --edge_buffer_size=4 --use_cpp=False \
run --pipeline_batch_size=1024 --model_max_batch_size=32 --edge_buffer_size=4 \
pipeline-nlp --model_seq_length=256 \
from-file --filename=${DEMO_DATASET} \
deserialize \
Expand Down
2 changes: 1 addition & 1 deletion examples/sid_visualization/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _generate_frames(self):

@click.command()
@click.option("--debug/--no-debug", default=False)
@click.option('--use_cpp', default=False)
@click.option('--use_cpp', default=True)
@click.option(
"--num_threads",
default=os.cpu_count(),
Expand Down
Loading