{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":419490750,"defaultBranch":"main","name":"envpool","ownerLogin":"sail-sg","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-10-20T21:11:03.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/85740051?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1698694220.0","currentOid":""},"activityList":{"items":[{"before":"ebd17eecee6317936ddfb1b367ba2f364fbc8921","after":"f411fc26c8999ba5b9c39974344903b164486d1a","ref":"refs/heads/main","pushedAt":"2023-10-30T19:27:47.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"Update dependency (#286)","shortMessageHtmlLink":"Update dependency (#286)"}},{"before":"a866c2b9fef029c0ed2342dd33358500aa4f1ac8","after":null,"ref":"refs/heads/fix-ci","pushedAt":"2023-10-29T16:55:39.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"}},{"before":"a1249e0bafa43ea3b5c3575cd658022409744f70","after":"ebd17eecee6317936ddfb1b367ba2f364fbc8921","ref":"refs/heads/main","pushedAt":"2023-10-29T16:55:38.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"fix ci (#285)\n\n- upgrade lint to 3.11\r\n- upgrade test docker image to cuda 12.2\r\n- fix rtfd\r\n- bump version","shortMessageHtmlLink":"fix ci (#285)"}},{"before":"e77613f9a92e33ec17ff8f3a61c3646800c5c9c9","after":"a866c2b9fef029c0ed2342dd33358500aa4f1ac8","ref":"refs/heads/fix-ci","pushedAt":"2023-10-29T16:53:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"revert","shortMessageHtmlLink":"revert"}},{"before":"9090ebe3fcda74e9d99f1685d36d89ffb584ba9c","after":"e77613f9a92e33ec17ff8f3a61c3646800c5c9c9","ref":"refs/heads/fix-ci","pushedAt":"2023-10-29T16:42:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"upgrade some","shortMessageHtmlLink":"upgrade some"}},{"before":"d746de6ad6f80fd39444ba4b0740d244ad589a44","after":"9090ebe3fcda74e9d99f1685d36d89ffb584ba9c","ref":"refs/heads/fix-ci","pushedAt":"2023-10-29T16:22:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"upgrade","shortMessageHtmlLink":"upgrade"}},{"before":"542aa8b17c11eca90e37fc072260d860d606fe0c","after":"d746de6ad6f80fd39444ba4b0740d244ad589a44","ref":"refs/heads/fix-ci","pushedAt":"2023-10-29T15:53:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"lint 3.11","shortMessageHtmlLink":"lint 3.11"}},{"before":"0ca1a516ba9e801db0be949ce878f7299d9858e8","after":"542aa8b17c11eca90e37fc072260d860d606fe0c","ref":"refs/heads/fix-ci","pushedAt":"2023-10-29T15:50:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"fix","shortMessageHtmlLink":"fix"}},{"before":null,"after":"0ca1a516ba9e801db0be949ce878f7299d9858e8","ref":"refs/heads/fix-ci","pushedAt":"2023-10-29T15:47:35.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"fix","shortMessageHtmlLink":"fix"}},{"before":"61ae1017e6cbedb56721ff84d9a5d4853f0addc9","after":null,"ref":"refs/heads/fix_segfault","pushedAt":"2023-10-26T16:50:58.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"}},{"before":"a9d2ec93b225a00283221d53254ba20d8501d28c","after":"a1249e0bafa43ea3b5c3575cd658022409744f70","ref":"refs/heads/main","pushedAt":"2023-10-26T16:50:57.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"fix segfault issue #283 (#284)\n\nThis closes #283\r\n\r\nThe `XlaSend` call requires `envpool` to make a copy of the `action` to\r\nprevent `action` from being recycled by the XLA runtime before `envpool`\r\nfinishes using it. Originally, I used `cudaMemcpy` to make sure the copy\r\nwas finished synchronously. However, it seems to cause a problem with\r\nissue #283.\r\n\r\nHere, I replace the original `cudaMemcpy` call with the async version, and\r\nan explicit `streamSynchronize`.\r\n\r\nIt is not clear how `cudaMemcpy` in the default stream in a custom call\r\ninteracts with the stream managed by pjrt. However, from the code\r\n[here](https://github.com/tensorflow/tensorflow/blob/0d2d79e84c9bdf71c737ad17a7b1dc04d9efc24f/tensorflow/compiler/xla/g3doc/custom_call.md),\r\nI can hypothesize that an explicit stream synchronization in the custom\r\ncall is safe.","shortMessageHtmlLink":"fix segfault issue #283 (#284)"}},{"before":"d478cda217a9bcc5a6c89f72f68b1cd9daf9cab5","after":"61ae1017e6cbedb56721ff84d9a5d4853f0addc9","ref":"refs/heads/fix_segfault","pushedAt":"2023-10-26T15:24:41.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"Merge branch 'main' into fix_segfault","shortMessageHtmlLink":"Merge branch 'main' into fix_segfault"}},{"before":"47ad258713ec89f874819ed8318ed77ae4d4b1e8","after":"a9d2ec93b225a00283221d53254ba20d8501d28c","ref":"refs/heads/main","pushedAt":"2023-10-26T15:24:04.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"Fix deprecated usage of JAX symbols. (#282)\n\n## Description\r\n\r\nRemove deprecated JAX symbols.\r\n\r\n## Motivation and Context\r\n\r\n* `jax.abstract_array.ShapedArray` is removed for jax>=0.4.16. See\r\n\r\n\r\nhttps://github.com/google/jax/blob/main/CHANGELOG.md#jax-0416-sept-18-2023\r\n\r\n* `xla_client.register_cpu_custom_call_target` is removed in\r\n\r\n\r\nhttps://github.com/openxla/xla/commit/0ab5486fcc477453f963c54549cd7614b1b06dd6\r\n\r\nclose #281\r\n\r\n- [x] I have raised an issue to propose this change\r\n([required](https://envpool.readthedocs.io/en/latest/pages/contributing.html)\r\nfor new features and bug fixes)\r\n\r\n## Types of changes\r\n\r\nWhat types of changes does your code introduce? Put an `x` in all the\r\nboxes that apply:\r\n\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds core functionality)\r\n- [x] New environment (non-breaking change which adds 3rd-party\r\nenvironment)\r\n- [x] Breaking change (fix or feature that would cause existing\r\nfunctionality to change)\r\n- [x] Documentation (update in the documentation)\r\n- [x] Example (update in the folder of example)\r\n\r\n## Implemented Tasks\r\n\r\n- [x] Fix deprecated symbol\r\n\r\n## Checklist\r\n\r\nGo over all the following points, and put an `x` in all the boxes that\r\napply.\r\nIf you are unsure about any of these, don't hesitate to ask. We are here\r\nto help!\r\n\r\n- [x] I have read the\r\n[CONTRIBUTION](https://envpool.readthedocs.io/en/latest/pages/contributing.html)\r\nguide (**required**)\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the tests accordingly (*required for a bug fix or a\r\nnew feature*).\r\n- [ ] I have updated the documentation accordingly.\r\n- [x] I have reformatted the code using `make format` (**required**)\r\n- [x] I have checked the code using `make lint` (**required**)\r\n- [x] I have ensured `make bazel-test` pass. (**required**)","shortMessageHtmlLink":"Fix deprecated usage of JAX symbols. (#282)"}},{"before":"eac02cdcde06a0ed599d0ebf45ef03cb16a2008e","after":null,"ref":"refs/heads/debug","pushedAt":"2023-10-26T07:12:21.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mavenlin","name":"mavenlin","path":"/mavenlin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1367713?s=80&v=4"}},{"before":null,"after":"d478cda217a9bcc5a6c89f72f68b1cd9daf9cab5","ref":"refs/heads/fix_segfault","pushedAt":"2023-10-26T06:47:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mavenlin","name":"mavenlin","path":"/mavenlin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1367713?s=80&v=4"},"commit":{"message":"fix segfault issue #283","shortMessageHtmlLink":"fix segfault issue #283"}},{"before":"abf2432004d377ce95e81f34deb0c892b29cb47d","after":"eac02cdcde06a0ed599d0ebf45ef03cb16a2008e","ref":"refs/heads/debug","pushedAt":"2023-10-26T05:54:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mavenlin","name":"mavenlin","path":"/mavenlin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1367713?s=80&v=4"},"commit":{"message":"debug","shortMessageHtmlLink":"debug"}},{"before":null,"after":"abf2432004d377ce95e81f34deb0c892b29cb47d","ref":"refs/heads/debug","pushedAt":"2023-10-26T05:53:20.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mavenlin","name":"mavenlin","path":"/mavenlin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1367713?s=80&v=4"},"commit":{"message":"debug","shortMessageHtmlLink":"debug"}},{"before":"85e81ffd0e1f088b05dc95a52d0469e3349fb8b6","after":null,"ref":"refs/heads/revive-test","pushedAt":"2023-09-07T05:12:35.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"}},{"before":"aacf06f694ead2eb75331f085f00dad71eec1a08","after":"47ad258713ec89f874819ed8318ed77ae4d4b1e8","ref":"refs/heads/main","pushedAt":"2023-09-07T05:12:34.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"fix test (#278)","shortMessageHtmlLink":"fix test (#278)"}},{"before":"f214a1102ca548a2e55b2b12edf409d808781db2","after":"85e81ffd0e1f088b05dc95a52d0469e3349fb8b6","ref":"refs/heads/revive-test","pushedAt":"2023-09-07T05:10:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"bump version","shortMessageHtmlLink":"bump version"}},{"before":"38795f9131a69c109a012e6a7ad1a83cdfb1d579","after":"f214a1102ca548a2e55b2b12edf409d808781db2","ref":"refs/heads/revive-test","pushedAt":"2023-09-07T04:13:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"fix","shortMessageHtmlLink":"fix"}},{"before":"7b03965da5ef878c70511dbdabe9c8890d37b0d7","after":"38795f9131a69c109a012e6a7ad1a83cdfb1d579","ref":"refs/heads/revive-test","pushedAt":"2023-09-07T04:09:08.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"torch version skip 2.0.1","shortMessageHtmlLink":"torch version skip 2.0.1"}},{"before":null,"after":"7b03965da5ef878c70511dbdabe9c8890d37b0d7","ref":"refs/heads/revive-test","pushedAt":"2023-09-07T04:01:36.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"fix","shortMessageHtmlLink":"fix"}},{"before":"bdd65bc6dbb97e0e54004415aad45b258ef757e5","after":"c65ca4a06b8b9c74fa9bb452d718fea3bc9d702e","ref":"refs/heads/shared_thread_pool","pushedAt":"2023-05-31T07:32:29.211Z","pushType":"push","commitsCount":1,"pusher":{"login":"mavenlin","name":"mavenlin","path":"/mavenlin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1367713?s=80&v=4"},"commit":{"message":"trigger release wheel","shortMessageHtmlLink":"trigger release wheel"}},{"before":"bdd65bc6dbb97e0e54004415aad45b258ef757e5","after":null,"ref":"refs/tags/vshared_thread_pool","pushedAt":"2023-05-31T07:30:45.669Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mavenlin","name":"mavenlin","path":"/mavenlin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1367713?s=80&v=4"}},{"before":null,"after":"bdd65bc6dbb97e0e54004415aad45b258ef757e5","ref":"refs/heads/shared_thread_pool","pushedAt":"2023-05-31T07:23:43.171Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mavenlin","name":"mavenlin","path":"/mavenlin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1367713?s=80&v=4"},"commit":{"message":"shared thread pool","shortMessageHtmlLink":"shared thread pool"}},{"before":"51f468604fd0f21ae19a970e88f893433dc4b4ec","after":"aacf06f694ead2eb75331f085f00dad71eec1a08","ref":"refs/heads/main","pushedAt":"2023-05-28T04:10:54.464Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mavenlin","name":"mavenlin","path":"/mavenlin","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1367713?s=80&v=4"},"commit":{"message":"Type checking Action/State (#265)\n\n## Description\r\n\r\n- Introduce `TArray` to have better type checking than `Array`.\r\n- Fix several bugs that can be detected when test is run in dbg mode.\r\n\r\n## Motivation and Context\r\n\r\n`Array` was a temporary design which is very unsafe. e.g. in atari\r\n`state[\"done\"_]` has integer type, while the return value of\r\n`game_over()` is subject to change in the thirdparty code. We need\r\nautomatic type casting rather than manually checking them.\r\n\r\n- [x] I have NOT raised an issue to propose this change\r\n([required](https://envpool.readthedocs.io/en/latest/pages/contributing.html)\r\nfor new features and bug fixes)\r\n\r\n## Types of changes\r\n\r\nWhat types of changes does your code introduce? Put an `x` in all the\r\nboxes that apply:\r\n\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds core functionality)\r\n- [ ] New environment (non-breaking change which adds 3rd-party\r\nenvironment)\r\n- [ ] Breaking change (fix or feature that would cause existing\r\nfunctionality to change)\r\n- [ ] Documentation (update in the documentation)\r\n- [ ] Example (update in the folder of example)\r\n\r\n## Implemented Tasks\r\n\r\n- [x] TArray.\r\n- [x] Utilities to cast `std::vector` to `Dict`.\r\n- [x] Fix several bugs.\r\n- [x] Replace `State`/`Action` in `Env` to be the type safe version.\r\n- [x] Replace all uses of `Array` to `TArray`\r\n\r\n## Checklist\r\n\r\nGo over all the following points, and put an `x` in all the boxes that\r\napply.\r\nIf you are unsure about any of these, don't hesitate to ask. We are here\r\nto help!\r\n\r\n- [x] I have read the\r\n[CONTRIBUTION](https://envpool.readthedocs.io/en/latest/pages/contributing.html)\r\nguide (**required**)\r\n- [ ] My change requires a change to the documentation.\r\n- [x] I have updated the tests accordingly (*required for a bug fix or a\r\nnew feature*).\r\n- [ ] I have updated the documentation accordingly.\r\n- [x] I have reformatted the code using `make format` (**required**)\r\n- [x] I have checked the code using `make lint` (**required**)\r\n- [x] I have ensured `make bazel-test` pass. (**required**)","shortMessageHtmlLink":"Type checking Action/State (#265)"}},{"before":"f42b2e1ed51fee51623e15d37f0fc2ea5c6ed30c","after":"51f468604fd0f21ae19a970e88f893433dc4b4ec","ref":"refs/heads/main","pushedAt":"2023-03-29T15:46:46.758Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"Trinkle23897","name":"Jiayi Weng","path":"/Trinkle23897","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8189182?s=80&v=4"},"commit":{"message":"Use the latest neurips citation (#256)","shortMessageHtmlLink":"Use the latest neurips citation (#256)"}},{"before":"a596abba6ad144b151e70a1189ee301a68cf7bee","after":null,"ref":"refs/heads/update-arxiv","pushedAt":"2023-03-29T14:01:35.630Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"vwxyzjn","name":"Costa Huang","path":"/vwxyzjn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5555347?s=80&v=4"}},{"before":null,"after":"a596abba6ad144b151e70a1189ee301a68cf7bee","ref":"refs/heads/update-arxiv","pushedAt":"2023-03-29T14:01:13.900Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"vwxyzjn","name":"Costa Huang","path":"/vwxyzjn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5555347?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADo2A2mAA","startCursor":null,"endCursor":null}},"title":"Activity ยท sail-sg/envpool"}