Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR fixes #2903 . We reduce the memory foot print by `3.5x` and speeds up the add_data by `557x` and also allows us to not be limited in the size of edges we can save. (Time is in seconds vs ms) Before PR: ```python3 Name (time in s, mem in bytes) Mean GPU mem GPU Leaked mem Rounds GPU Rounds ---------------------------------------------------------------------------------------------------------------------------------------------- bench_add_edge_data[15000000] 2.3044 (1.0) 2,160,000,064 (1.0) 0 (1.0) 1 1 bench_add_edge_data[30000000] 4.7941 (2.08) 4,320,000,064 (2.00) 0 (1.0) 1 1 bench_add_edge_data[60000000] 8.7235 (3.79) 8,640,000,064 (4.00) 0 (1.0) 1 1 bench_add_edge_data[120000000] FAILED ---------------------------------------------------------------------------------------------------------------------------------------------- ``` After PR ```python -------------------------------------------------------------- benchmark: 4 tests -------------------------------------------------------------- Name (time in ms, mem in bytes) Mean GPU mem GPU Leaked mem Rounds GPU Rounds ------------------------------------------------------------------------------------------------------------------------------------------------ bench_add_edge_data[15000000] 16.3785 (1.0) 615,000,080 (1.0) 0 (1.0) 1 1 bench_add_edge_data[30000000] 17.3631 (1.06) 1,230,000,080 (2.00) 0 (1.0) 1 1 bench_add_edge_data[60000000] 22.2947 (1.36) 2,460,000,080 (4.00) 0 (1.0) 1 1 bench_add_edge_data[120000000] 26.9747 (1.65) 4,920,000,080 (8.00) 0 (1.0) 1 1 ------------------------------------------------------------------------------------------------------------------------------------------------ ``` Authors: - Vibhu Jawa (https://github.com/VibhuJawa) Approvers: - Joseph Nke (https://github.com/jnke2016) - Brad Rees (https://github.com/BradReesWork) URL: #2924
- Loading branch information