{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":263081863,"defaultBranch":"main","name":"csprng","ownerLogin":"pytorch","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-05-11T15:26:41.000Z","ownerAvatar":"https://github.com/avatars/u/21003710?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1693602632.0","currentOid":""},"activityList":{"items":[{"before":"987755945415c1a95378d0f9c915c8e984ed5e16","after":"155edb6754f25f011a143c60088b796b4978d23a","ref":"refs/heads/main","pushedAt":"2024-05-14T17:32:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://github.com/avatars/u/6422482?s=80&v=4"},"commit":{"message":"c10::optional -> std::optional in pytorch/audio/src/libtorio/ffmpeg/stream_reader/stream_processor.h +20\n\nSummary:\nX-link: https://github.com/pytorch/audio/pull/3792\n\n`c10::optional` was switched to be `std::optional` after PyTorch moved to C++17. Let's eliminate `c10::optional`, if we can.\n\nReviewed By: albanD\n\nDifferential Revision: D57294285\n\nfbshipit-source-id: b29f8f3d7ac8aee0546dcad71c1b0197278fa0e5","shortMessageHtmlLink":"c10::optional -> std::optional in pytorch/audio/src/libtorio/ffmpeg/s…"}},{"before":"b6f55637fd2db55135536bc882e0fb4b4fd0acf6","after":"987755945415c1a95378d0f9c915c8e984ed5e16","ref":"refs/heads/main","pushedAt":"2024-05-08T15:36:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://github.com/avatars/u/6422482?s=80&v=4"},"commit":{"message":"result_of -> invoke_result in pytorch/csprng/torchcsprng/csrc/kernels_body.inc\n\nSummary: `result_of` is eliminated in C++20, so we use `invoke_result` instead\n\nReviewed By: palmje\n\nDifferential Revision: D57016781\n\nfbshipit-source-id: cf7710d06a052d6d5a741de4e5bb8e56cc63cb0c","shortMessageHtmlLink":"result_of -> invoke_result in pytorch/csprng/torchcsprng/csrc/kernels…"}},{"before":"7f1837608722039c4805b7be5c25d3fe22c09a57","after":"b6f55637fd2db55135536bc882e0fb4b4fd0acf6","ref":"refs/heads/main","pushedAt":"2024-02-05T19:57:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://github.com/avatars/u/6422482?s=80&v=4"},"commit":{"message":"pytorch/csprng\n\nReviewed By: azad-meta\n\nDifferential Revision: D53401786\n\nfbshipit-source-id: 55100fd7b06806a4889a030442f693e91b60c8f5","shortMessageHtmlLink":"pytorch/csprng"}},{"before":null,"after":"73c1f82203a29cfd750665f9ffe1483ae7b77ed9","ref":"refs/heads/csl/test","pushedAt":"2023-09-01T21:10:32.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"clee2000","name":null,"path":"/clee2000","primaryAvatarUrl":"https://github.com/avatars/u/44682903?s=80&v=4"},"commit":{"message":"update","shortMessageHtmlLink":"update"}},{"before":"7820f5ddf258cd06c2487caa53a6695daa0ee644","after":"7f1837608722039c4805b7be5c25d3fe22c09a57","ref":"refs/heads/main","pushedAt":"2023-04-20T16:53:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"facebook-github-bot","name":"Facebook Community Bot","path":"/facebook-github-bot","primaryAvatarUrl":"https://github.com/avatars/u/6422482?s=80&v=4"},"commit":{"message":"Reland of \"Python binding to set/get CUDA rng state offset\" (#99565)\n\nSummary:\nWhy?\n* To reduce the latency of hot path in https://github.com/pytorch/pytorch/pull/97377\n\nConcern - I had to add `set_offset` in all instances of `GeneratorImpl`. I don't know if there is a better way.\n\n~~~~\nimport torch\ntorch.cuda.manual_seed(123)\nprint(torch.cuda.get_rng_state())\ntorch.cuda.set_rng_state_offset(40)\nprint(torch.cuda.get_rng_state())\n\ntensor([123, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n 0, 0], dtype=torch.uint8)\ntensor([123, 0, 0, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0,\n 0, 0], dtype=torch.uint8)\n~~~~\n\nReland of https://github.com/pytorch/pytorch/pull/98965\n\n(cherry picked from commit 8214fe07e8a200e0fe9ca4264bb6fca985c4911e)\n\nX-link: https://github.com/pytorch/pytorch/pull/99565\n\nReviewed By: anijain2305\n\nDifferential Revision: D45130271\n\nPulled By: malfet\n\nfbshipit-source-id: a3a49799fdaa853a28649627943af91ba1441950","shortMessageHtmlLink":"Reland of \"Python binding to set/get CUDA rng state offset\" (#99565)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAESb69EgA","startCursor":null,"endCursor":null}},"title":"Activity · pytorch/csprng"}