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

Add bert benchmark #570

Closed
wants to merge 3 commits into from
Closed

Conversation

lrq619
Copy link
Contributor

@lrq619 lrq619 commented Jul 2, 2023

Add bert as a standalone benchmark and also a document on how to write and test standalone benchmark locally.

Copy link
Member

@ustiugov ustiugov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! the code quality is good, well structured.

  • update the dependabot config
  • add CI for docker-compose and Knative
  • make recommendations on configuration of the benchmark. The default configs should be easy to test in CI (e.g., w/o GPUs, 1 req instead of 100)
  • create a PR for Adding a new benchmark to vSwarm (rename the file to adding_new_benchmark.md)

benchmarks/bert/README.md Outdated Show resolved Hide resolved
benchmarks/bert/docker/Dockerfile Outdated Show resolved Hide resolved
benchmarks/bert/python/config/user.conf Show resolved Hide resolved
reservations:
devices:
- driver: nvidia
count: 2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we are to test it, it should work on CPU only.

docs/adding_standalone_benchmark.md Outdated Show resolved Hide resolved
docs/adding_standalone_benchmark.md Outdated Show resolved Hide resolved
@@ -0,0 +1,58 @@
# Adding Standalone Benchmarks in vSwarm
This is a detailed document of how to add a standalone benchmark in vSwarm.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why "standalone", is it different for multi-function apps?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this document is just for adding standalone benchmark, because multi-function apps might have different development procedure, for example, vSwarm-proto only contains protobuf for standalone functions, and multi-function benchmark doesn't rely on the relay docker instance, etc.

@lrq619 lrq619 closed this Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants