{"id":27949230,"url":"https://github.com/skailasa/pyrsvd","last_synced_at":"2025-05-07T15:20:43.351Z","repository":{"id":54271152,"uuid":"334953392","full_name":"skailasa/pyrsvd","owner":"skailasa","description":"Accelerated Randomised SVD in Python","archived":false,"fork":false,"pushed_at":"2021-02-27T23:05:56.000Z","size":34,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-07T06:46:31.740Z","etag":null,"topics":["cuda","numba","python3","randomised-algorithms","svd"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skailasa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-01T13:08:38.000Z","updated_at":"2022-05-15T08:41:53.000Z","dependencies_parsed_at":"2022-08-13T10:31:29.305Z","dependency_job_id":null,"html_url":"https://github.com/skailasa/pyrsvd","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skailasa%2Fpyrsvd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skailasa%2Fpyrsvd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skailasa%2Fpyrsvd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skailasa%2Fpyrsvd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skailasa","download_url":"https://codeload.github.com/skailasa/pyrsvd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252902676,"owners_count":21822276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cuda","numba","python3","randomised-algorithms","svd"],"created_at":"2025-05-07T15:20:42.583Z","updated_at":"2025-05-07T15:20:43.345Z","avatar_url":"https://github.com/skailasa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align='center'\u003e PyRSVD - Accelerated Randomised SVD in Python\u003c/h1\u003e\n\nPerform fast rSVD accelerated using the CUDA, all in Python.\n\n## Install\n\nInstall from source into a Conda/Miniconda environment.\n\n```bash\ngit clone git@github.com:skailasa/pyrsvd.git\ncd pyrsvd\n\nconda build conda.recipe\nconda install --use-local pyrsvd\n```\n\n## Usage\n\n```python\nimport numpy as np\n\nimport pyrsvd\n\n# Instantiate a 'tall' and 'thin' matrix to compress\nM = 123\nN = 45\nA = np.random.rand(M, N)\n\n# Choose a target rank\nK = 5\n\nu, s, vt = pyrsvd.svd(A, K)\n```\n\n## Benchmark\n\nBenchmarked for 'thin' and 'tall' matrices, versus NumPy implementation on a 8th generation Intel i7 CPU and an NVidia Quadro RTX 3000 Mobile GPU, including data transfer times, with a target compression rank of K=1.\n\n### 1) Dense Matrix\n\n\u003cp style=\"text-align:center;\"\u003e\n\u003cimg src=\"static/benchmark.jpg\"\n     alt=\"Dense Benchmark\"/\u003e\n\u003c/p\u003e\n\n\n## References\n\n[1] Halko, N., Martinsson, P. G., \u0026 Tropp, J. A. (2011). Finding structure with randomness: Probabilistic algorithms for constructing approximate matrix decompositions. SIAM review, 53(2), 217-288.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskailasa%2Fpyrsvd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskailasa%2Fpyrsvd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskailasa%2Fpyrsvd/lists"}