Skip to content

Instantly share code, notes, and snippets.

@asadoughi
Created August 15, 2024 22:44
Show Gist options
  • Save asadoughi/ded4ea2ad14766da4f578b560f185a1d to your computer and use it in GitHub Desktop.
Save asadoughi/ded4ea2ad14766da4f578b560f185a1d to your computer and use it in GitHub Desktop.
...
Training ResidualQuantizer, with 4 steps on 3000 32D vectors
[0.009 s, 0.008 s clustering] train stage 0, 6 bits, kmeans objective 33217.3, total distance 200231, beam_size 1->5 (batch size 3000)
[0.048 s, 0.044 s clustering] train stage 1, 6 bits, kmeans objective 155050, total distance 143425, beam_size 5->5 (batch size 3000)
[0.088 s, 0.079 s clustering] train stage 2, 6 bits, kmeans objective 112965, total distance 107746, beam_size 5->5 (batch size 3000)
[0.127 s, 0.115 s clustering] train stage 3, 6 bits, kmeans objective 85549.6, total distance 81995.9, beam_size 5->5 (batch size 3000)
[0.001 s] encode stage 0, 6 bits, total error 67433, beam_size 5
[0.002 s] encode stage 1, 6 bits, total error 51657.3, beam_size 5
[0.004 s] encode stage 2, 6 bits, total error 40562.2, beam_size 5
[0.005 s] encode stage 3, 6 bits, total error 32055.1, beam_size 5
============================= test session starts ==============================
platform linux -- Python 3.11.9, pytest-7.4.4, pluggy-1.0.0
rootdir: /__w/faiss/faiss
plugins: typeguard-4.3.0
collected 18 items
tests/torch_test_contrib.py .......... [ 55%]
tests/torch_test_neural_net.py ........ [100%]
-- generated xml file: /__w/faiss/faiss/test-results/pytest/results-torch.xml --
============================== 18 passed in 1.54s ==============================
============================= test session starts ==============================
platform linux -- Python 3.11.9, pytest-7.4.4, pluggy-1.0.0
rootdir: /__w/faiss/faiss
plugins: typeguard-4.3.0
collected 73 items
faiss/gpu/test/test_cagra.py ssss [ 5%]
faiss/gpu/test/test_contrib_gpu.py ......... [ 17%]
faiss/gpu/test/test_gpu_basics.py .................. [ 42%]
faiss/gpu/test/test_gpu_index.py ................. [ 65%]
faiss/gpu/test/test_gpu_index_ivfflat.py . [ 67%]
faiss/gpu/test/test_gpu_index_ivfsq.py ....... [ 76%]
faiss/gpu/test/test_gpu_index_serialize.py . [ 78%]
faiss/gpu/test/test_index_cpu_to_gpu.py .... [ 83%]
faiss/gpu/test/test_multi_gpu.py .......... [ 97%]
faiss/gpu/test/test_raft.py ss [100%]
--- generated xml file: /__w/faiss/faiss/test-results/pytest/results-gpu.xml ---
================== 67 passed, 6 skipped in 152.30s (0:02:32) ===================
============================= test session starts ==============================
platform linux -- Python 3.11.9, pytest-7.4.4, pluggy-1.0.0
rootdir: /__w/faiss/faiss
plugins: typeguard-4.3.0
collected 13 items
faiss/gpu/test/torch_test_contrib_gpu.py ...........s. [100%]
- generated xml file: /__w/faiss/faiss/test-results/pytest/results-gpu-torch.xml -
======================== 12 passed, 1 skipped in 4.79s =========================
pStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
swig/python detected a memory leak of type 'hipStream_t *', no destructor found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment