Fix GPU nighties test (#1901)

Summary:
This should fix the GPU nighties.

The rationale for the cp is that there is a shared file between the CPU and GPU tests.

Ideally, this file should probably moved to contrib at some point.

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1901

Reviewed By: beauby

Differential Revision: D28680898

Pulled By: mdouze

fbshipit-source-id: b9d0e1969103764ecb6f1e047c9ed4bd4a76aaba
This commit is contained in:
Matthijs Douze 2021-05-26 09:40:16 -07:00 committed by Facebook GitHub Bot
parent 8eab15eca3
commit a7d62b39b4

View File

@ -76,6 +76,7 @@ outputs:
- pytorch
commands:
- python -m unittest discover tests/
- cp tests/common_faiss_tests.py faiss/gpu/test
- python -m unittest discover faiss/gpu/test/
- sh test_cpu_dispatch.sh # [linux]
files: