From cecca90bea4d2c719697372a0204087366574ffd Mon Sep 17 00:00:00 2001 From: Min Xu <24926999+min-xu-ai@users.noreply.github.com> Date: Sun, 12 Sep 2021 21:11:45 -0700 Subject: [PATCH] [DOCS] update installation doc and add gitignore (#279) Co-authored-by: Min Xu --- .gitignore | 6 ++++++ docs/getting-started/installation.rst | 3 ++- python/requirements-test.txt | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 python/requirements-test.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..c10863ae9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +__pycache__ +.pytest_cache + +python/build/ +python/triton.egg-info/ +python/triton/_C/libtriton.so diff --git a/docs/getting-started/installation.rst b/docs/getting-started/installation.rst index e687cc1da..658276db5 100644 --- a/docs/getting-started/installation.rst +++ b/docs/getting-started/installation.rst @@ -44,6 +44,7 @@ You can then test your installation by running the unit tests: .. code-block:: bash + pip install -r requirements-test.txt pytest -vs . and the benchmarks @@ -51,4 +52,4 @@ and the benchmarks .. code-block:: bash cd bench/ - python -m run --with-plots --result-dir /tmp/triton-bench \ No newline at end of file + python -m run --with-plots --result-dir /tmp/triton-bench diff --git a/python/requirements-test.txt b/python/requirements-test.txt new file mode 100644 index 000000000..4a1b49122 --- /dev/null +++ b/python/requirements-test.txt @@ -0,0 +1 @@ +scipy >= 1.7.1