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

[DOCS][Layer Tests] Update layer test documentation #23485

Merged

Conversation

rkazants
Copy link
Contributor

Details: Update layer test documentation. It will be used by external developers and mentioned in GFIs.

Ticket: TBD

Signed-off-by: Kazantsev, Roman <[email protected]>
@rkazants rkazants requested a review from a team as a code owner March 15, 2024 14:44
@rkazants rkazants requested review from zKulesza, mvafin and popovaan and removed request for a team March 15, 2024 14:44
@github-actions github-actions bot added the category: docs OpenVINO documentation label Mar 15, 2024
tests/layer_tests/README.md Outdated Show resolved Hide resolved
Co-authored-by: Anastasiia Pnevskaia <[email protected]>
@popovaan
Copy link
Contributor

Should we ask doc maintainers to review?

@rkazants
Copy link
Contributor Author

rkazants commented Mar 15, 2024

Should we ask doc maintainers to review?

I think we are docs maintainers for developers documentation:)
I wait for Maxim's response also.

@rkazants rkazants added this pull request to the merge queue Mar 15, 2024
@rkazants rkazants removed this pull request from the merge queue due to a manual request Mar 15, 2024
tests/layer_tests/README.md Outdated Show resolved Hide resolved
tests/layer_tests/README.md Outdated Show resolved Hide resolved
tests/layer_tests/README.md Outdated Show resolved Hide resolved
tests/layer_tests/README.md Outdated Show resolved Hide resolved
@rkazants rkazants enabled auto-merge March 15, 2024 15:53
@rkazants rkazants added this pull request to the merge queue Mar 15, 2024
Comment on lines +41 to +46
Example to run the PyTorch layer test for the `torch.linalg.cross` operation on CPU and GPU with `FP16` and `FP32` inference precisions:
```sh
cd tests/layer_tests
export TEST_DEVICE="CPU;GPU"
export TEST_PRECISION="FP32;FP16"
pytest pytorch_tests/test_cross.py
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Example to run the PyTorch layer test for the `torch.linalg.cross` operation on CPU and GPU with `FP16` and `FP32` inference precisions:
```sh
cd tests/layer_tests
export TEST_DEVICE="CPU;GPU"
export TEST_PRECISION="FP32;FP16"
pytest pytorch_tests/test_cross.py
Example to run the PyTorch layer test for the `torch.linalg.cross` operation on GPU with `FP16` inference precisions:
```sh
cd tests/layer_tests
export TEST_DEVICE=GPU
export TEST_PRECISION=FP16
pytest pytorch_tests/test_cross.py

I wouldn't recommend running GPU with FP32, it won't work now, because it currently will only change thresholds, not actual precision.

Merged via the queue into openvinotoolkit:master with commit 217afee Mar 15, 2024
74 checks passed
@rkazants rkazants deleted the rkazants/layer_test_documentation branch March 15, 2024 16:43
bbielawx pushed a commit to bbielawx/openvino that referenced this pull request Apr 12, 2024
…23485)

**Details:** Update layer test documentation. It will be used by
external developers and mentioned in GFIs.

**Ticket:** TBD

---------

Signed-off-by: Kazantsev, Roman <[email protected]>
Co-authored-by: Anastasiia Pnevskaia <[email protected]>
alvoron pushed a commit to alvoron/openvino that referenced this pull request Apr 29, 2024
…23485)

**Details:** Update layer test documentation. It will be used by
external developers and mentioned in GFIs.

**Ticket:** TBD

---------

Signed-off-by: Kazantsev, Roman <[email protected]>
Co-authored-by: Anastasiia Pnevskaia <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: docs OpenVINO documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants