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

Improved CM commands #2013

Closed
wants to merge 31 commits into from
Closed

Improved CM commands #2013

wants to merge 31 commits into from

Conversation

sahilavaran
Copy link
Contributor

No description provided.

@sahilavaran sahilavaran requested a review from a team as a code owner January 5, 2025 18:26
Copy link

github-actions bot commented Jan 5, 2025

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@@ -55,7 +55,8 @@ The below CM command will launch the SUT server

```
cm run script --tags=generate-run-cmds,inference --model=bert-99 --backend=pytorch \
--mode=performance --device=cuda --quiet --test_query_count=1000 --network=sut
--mode=performance --device=cuda --quiet --test_query_count=1000 --network=sut \
--outdirname=results/bert-99-performance
Copy link
Contributor

Choose a reason for hiding this comment

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

Whats the use of --outdirname here?


**`fp32`**
```
rclone copy mlc-inference:mlcommons-inference-wg-public/stable_diffusion_fp32 ./stable_diffusion_fp32 -P
rclone copy mlc-inference:mlcommons-inference-wg-public/stable_diffusion_fp32 $MODEL_PATH -P
Copy link
Contributor

Choose a reason for hiding this comment

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

We are already inside $MODEL_PATH after cd $MODEL_PATH

@@ -317,7 +317,7 @@ def showAnns(self, anns):
v = kp[2::3]
for sk in sks:
if np.all(v[sk] > 0):
plt.plot(x[sk], y[sk], linewidth=3, color=c)
plt.plot(x[sk], y[sk], linewidth=3, color=c,label=f"keypoint {sk}")
Copy link
Contributor

Choose a reason for hiding this comment

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

what's the change done here?

@@ -317,7 +317,17 @@ def showAnns(self, anns):
v = kp[2::3]
for sk in sks:
if np.all(v[sk] > 0):


<< << << < HEAD
Copy link
Contributor

Choose a reason for hiding this comment

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

Came while resolving merge conflict?

@@ -318,6 +318,15 @@ def showAnns(self, anns):
for sk in sks:
if np.all(v[sk] > 0):
plt.plot(x[sk], y[sk], linewidth=3, color=c)


== == == =
Copy link
Contributor

Choose a reason for hiding this comment

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

Here?

color=c)


>>>>>> > 6bc50d8f7c0ee1c553aabe2d40c9534e7529b620
Copy link
Contributor

Choose a reason for hiding this comment

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

Here?

@@ -318,6 +318,14 @@ def showAnns(self, anns):
for sk in sks:
if np.all(v[sk] > 0):
plt.plot(x[sk], y[sk], linewidth=3, color=c)
plt.plot(
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @sahilavaran , is there a particular reason we need to duplicate line 320 and 321?

@sahilavaran
Copy link
Contributor Author

There are some issues here, i am creating a new one.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants