Add note about TF_PLUGIN_CACHE_DIR

This commit is contained in:
Wiktor Niesiobędzki 2022-11-12 19:37:01 +01:00
parent e6947dd6a6
commit 6527e2d4e7
1 changed files with 5 additions and 0 deletions

View File

@ -71,6 +71,11 @@ pytest tests/examples
Once everything looks good, add/commit any pending changes then push and open a PR on GitHub. We typically enforce a set of design and style conventions, so please make sure you have familiarized yourself with the following sections and implemented them in your code, to avoid lengthy review cycles. Once everything looks good, add/commit any pending changes then push and open a PR on GitHub. We typically enforce a set of design and style conventions, so please make sure you have familiarized yourself with the following sections and implemented them in your code, to avoid lengthy review cycles.
HINT: if you work on high-latency or low-bandwidth network use `TF_PLUGIN_CACHE_DIR` environment variable to dramatically speed up the tests, for example
```bash
TF_PLUGIN_CACHE_DIR=/tmp/tfcache pytest tests
```
## Developer's handbook ## Developer's handbook
Over the years we have assembled a specific set of design principles and style conventions that allow for better readability and make understanding and changing code more predictable. Over the years we have assembled a specific set of design principles and style conventions that allow for better readability and make understanding and changing code more predictable.