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 the shark_downloader for the torch_models. #184

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

pashu123
Copy link
Collaborator

Also, update the minilm_jit example.

The results are:
Copying gs://shark_tank/microsoft_MiniLM-L12-H384-uncased/function_name.npy...
Copying gs://shark_tank/microsoft_MiniLM-L12-H384-uncased/golden_out.npz...
Copying gs://shark_tank/microsoft_MiniLM-L12-H384-uncased/inputs.npz...
Copying gs://shark_tank/microsoft_MiniLM-L12-H384-uncased/microsoft_MiniLM-L12-H384-uncased.mlir...

  • [4 files][254.7 MiB/254.7 MiB]
    Operation completed over 4 objects/254.7 MiB.
    Target triple found:x86_64-linux-gnu
    The obtained result via shark is: [[ 0.00985309 -0.00083516]]
    The golden result is: (array([ 0.00985307, -0.00083515], dtype=float32),)
    Running shark_module with random_inputs is: [[0.00674547 0.00371962]]

Also, update the minilm_jit example.

The results are:
Copying gs://shark_tank/microsoft_MiniLM-L12-H384-uncased/function_name.npy...
Copying gs://shark_tank/microsoft_MiniLM-L12-H384-uncased/golden_out.npz...
Copying gs://shark_tank/microsoft_MiniLM-L12-H384-uncased/inputs.npz...
Copying gs://shark_tank/microsoft_MiniLM-L12-H384-uncased/microsoft_MiniLM-L12-H384-uncased.mlir...
- [4 files][254.7 MiB/254.7 MiB]
Operation completed over 4 objects/254.7 MiB.
Target triple found:x86_64-linux-gnu
The obtained result via shark is:  [[ 0.00985309 -0.00083516]]
The golden result is: (array([ 0.00985307, -0.00083515], dtype=float32),)
Running shark_module with random_inputs is:  [[0.00674547 0.00371962]]
Copy link
Collaborator

@monorimet monorimet left a comment

Choose a reason for hiding this comment

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

LGTM!

@powderluv powderluv merged commit 1191f53 into nod-ai:main Jul 14, 2022
gpetters94 pushed a commit to gpetters-amd/SHARK that referenced this pull request Jul 27, 2022
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.

3 participants