Metadata-Version: 2.4
Name: ovperf-remote
Version: 0.1.3
Summary: Remote execution transport layer for ovperf
License-Expression: Apache-2.0
License-File: EXTERNAL-MATERIALS-NOTICE.txt
License-File: LICENSE
Requires-Dist: ovperf-runner>=0.1.4.dev0
Requires-Dist: pytest>=9.0.3,<9.1
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# ovperf-remote

`ovperf-remote` runs your project's ovperf performance tests on machines you
reach over SSH and combines their results into one report.

## Before installation or external downloads

Read this notice before installing dependencies or running remote setup that retrieves packages, tools or workload materials on a host.

NOTICE AND DISCLAIMER: This software automatically retrieves, accesses or interacts with external materials. Those retrieved materials are not distributed with this software and are governed solely by separate terms, conditions and licenses. You are solely responsible for finding, reviewing and complying with all applicable terms, conditions, and licenses, and for verifying the security, integrity and suitability of any retrieved materials for your specific use case. This software is provided "AS IS", without warranty of any kind. The author makes no representations or warranties regarding any retrieved materials, and assumes no liability for any losses, damages, liabilities or legal consequences from your use or inability to use this software or any retrieved materials. Use this software and the retrieved materials at your own risk.

## What you can do with it

- Run your project's ovperf tests on Linux machines over SSH, and by default on your own machine too.
- Let each run copy the project to the workers and build its Python environment there with `uv`.
- Get one combined report, `ovperf-report.json`, plus each worker's own report.
- Send `.env` and login files to the workers only when you name them.
- Reach machines in other ways, for example through a lab scheduler, by installing an executor plugin.

## Install

```console
pip install ovperf-remote
```

Needs Python 3.10 or newer; use 3.10.12+, 3.11.4+ or 3.12+, because
collecting results needs `tarfile.data_filter`, which earlier patch releases
may lack. The machine you start it from must be Linux with glibc 2.35 or
newer (x86_64 or aarch64) or Windows (x64).

pip does not install an SSH client or anything on the workers. Workers are
Linux machines you reach with key-based SSH; they need `python3`, GNU `tar`
and a few standard tools, and an NVIDIA GPU with its driver unless you pass
`--no-gpu`.

## Quick start

Run it from the folder of a uv project (one with a `pyproject.toml`) whose
dependencies include `ovperf-runner`, in a Python environment that has the
project's test dependencies:

```console
ovperf-remote --ssh-host user@worker-1 --no-localhost tests/perf
```

This copies the project to `worker-1`, runs the tests under `tests/perf`
there and writes the combined report to `ovperf-results/ovperf-report.json`.

## Reference

Everything else is in `docs/reference.md` in this package's source folder:
what a run does on the workers, what the workers need, credentials and files
sent to workers, every setting, executors and exit status.
`ovperf-remote --help` describes every option, and `CHANGELOG.md` lists the
changes.

## License

The ovperf-remote implementation is licensed under Apache-2.0. The wheel includes
the complete NVIDIA license in its `.dist-info/licenses/LICENSE` file and NVIDIA
copyright/SPDX notices in its Python modules. It contains no bundled third-party
library implementation; separately installed dependencies supply their own
licenses and notices.

## Contributions

This project is currently not accepting contributions.
