Commit 11e22ee
committed
[BugFix] Fix TDLambdaEstimator for torch.compile compatibility
Make vectorized property return False during compile to avoid vectorized
code paths that may cause issues. Also ensure lmbda device matches the
input reward tensor device.
ghstack-source-id: bcbffdb
Pull-Request: #33021 parent d57fdec commit 11e22ee
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1081 | 1081 | | |
1082 | 1082 | | |
1083 | 1083 | | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
1084 | 1094 | | |
1085 | 1095 | | |
1086 | 1096 | | |
| |||
1206 | 1216 | | |
1207 | 1217 | | |
1208 | 1218 | | |
| 1219 | + | |
| 1220 | + | |
1209 | 1221 | | |
1210 | 1222 | | |
1211 | 1223 | | |
| |||
0 commit comments