Compare commits

...

389 commits

Author SHA1 Message Date
b8d4d64f04 Implementing approach from a new paper read last night (pytorch) 2024-12-23 03:50:00 +01:00
096a336cc1 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2024-12-23 08:16:00 +01:00
fe30c02f9f Minor doc updates: linking to article on quantization (pytorch) 2024-12-23 18:44:00 +01:00
0962bb8dfe Minor doc updates: linking to article on quantization (pytorch) 2024-11-23 23:51:00 +01:00
3b6fb62cf1 Implementing approach from a new paper read last night (pytorch) 2024-11-14 19:10:00 +01:00
9c0fd892ab Implementing approach from a new paper read last night (pytorch) 2024-11-14 04:25:00 +01:00
cda59165b2 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2024-11-14 22:28:00 +01:00
a5ba4e6d6f Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2024-11-14 20:01:00 +01:00
11f2314bf7 Implementing approach from a new paper read last night (pytorch) 2024-10-27 18:58:00 +01:00
dea9212685 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2024-10-27 22:01:00 +01:00
89210c26ab Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2024-09-29 01:49:00 +02:00
2f37447653 Late-night bugfix on financial RL environment (pytorch) 2024-09-29 07:14:00 +02:00
f0b53b689b Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2024-09-29 02:56:00 +02:00
932056fbf9 Quick fix, referencing a known issue from the official repo (pytorch) 2024-09-20 18:01:00 +02:00
16b7da68c1 Refactor for clarity, might break a few tests though (pytorch) 2024-09-20 01:01:00 +02:00
fd4c798bfe Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2024-07-21 00:51:00 +02:00
4bfa6a7162 Implementing approach from a new paper read last night (pytorch) 2024-07-21 23:29:00 +02:00
dd36f3a071 Refactor for clarity, might break a few tests though (pytorch) 2024-07-20 17:10:00 +02:00
bf27d8fb2b Implementing approach from a new paper read last night (pytorch) 2024-07-20 04:05:00 +02:00
97cbc3d97c Quick fix, referencing a known issue from the official repo (pytorch) 2024-07-20 22:50:00 +02:00
a5855e1357 Quick fix, referencing a known issue from the official repo (pytorch) 2024-07-20 07:01:00 +02:00
dd832a69bd Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2024-07-10 03:09:00 +02:00
1b093184f4 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2024-06-07 07:24:00 +02:00
fd0bcf93ad Quick fix, referencing a known issue from the official repo (pytorch) 2024-06-05 07:10:00 +02:00
60b95f86d2 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2024-06-05 17:16:00 +02:00
38189f6fd5 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2024-06-05 04:59:00 +02:00
5a1c75a5bc Minor doc updates: linking to article on quantization (pytorch) 2024-06-05 23:31:00 +02:00
a00eae9cb0 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2024-03-04 07:55:00 +01:00
2421e36f51 Implementing approach from a new paper read last night (pytorch) 2024-03-04 22:31:00 +01:00
367af4879b Minor doc updates: linking to article on quantization (pytorch) 2024-03-04 18:48:00 +01:00
689e6de63d Quick fix, referencing a known issue from the official repo (pytorch) 2024-03-04 20:30:00 +01:00
bb5ebad147 Late-night bugfix on financial RL environment (pytorch) 2024-01-24 03:17:00 +01:00
5f5cabb9c1 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2024-01-24 08:02:00 +01:00
215b531ead Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2024-01-24 03:33:00 +01:00
488f72f6c0 Refactor for clarity, might break a few tests though (pytorch) 2024-03-04 21:52:00 +01:00
f47a8cece8 Implementing approach from a new paper read last night (pytorch) 2024-03-04 05:22:00 +01:00
e15d073416 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2024-02-01 17:49:00 +01:00
86dfb5e442 Late-night bugfix on financial RL environment (pytorch) 2024-02-01 19:39:00 +01:00
25f88ddb99 Late-night bugfix on financial RL environment (pytorch) 2024-02-01 23:24:00 +01:00
58fc46413a Late-night bugfix on financial RL environment (pytorch) 2024-02-01 07:18:00 +01:00
0a5016fd36 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2024-01-08 08:46:00 +01:00
56e0fa3d09 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2024-01-08 06:44:00 +01:00
c3776fea12 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2024-01-08 22:34:00 +01:00
b381fd96bf Refactor for clarity, might break a few tests though (pytorch) 2023-10-02 05:27:00 +02:00
dda4facd6d Minor doc updates: linking to article on quantization (pytorch) 2023-10-02 19:36:00 +02:00
437c7e27fa Refactor for clarity, might break a few tests though (pytorch) 2023-10-02 19:59:00 +02:00
5ba9946bdb Late-night bugfix on financial RL environment (pytorch) 2023-10-02 07:42:00 +02:00
d9c1957d84 Minor doc updates: linking to article on quantization (pytorch) 2023-07-30 00:04:00 +02:00
fda6e5a60c Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2023-06-28 08:25:00 +02:00
88d344442e Quick fix, referencing a known issue from the official repo (pytorch) 2023-06-28 03:26:00 +02:00
4dbb7219d0 Implementing approach from a new paper read last night (pytorch) 2023-06-24 17:59:00 +02:00
73fbb35536 Quick fix, referencing a known issue from the official repo (pytorch) 2023-06-24 23:24:00 +02:00
07069ffa88 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2023-06-24 21:17:00 +02:00
972eb57bf1 Minor doc updates: linking to article on quantization (pytorch) 2023-06-24 06:40:00 +02:00
589b9d7eed Implementing approach from a new paper read last night (pytorch) 2023-03-21 19:10:00 +01:00
cc7f2c82ea Late-night bugfix on financial RL environment (pytorch) 2023-03-21 18:09:00 +01:00
4536b78abe Minor doc updates: linking to article on quantization (pytorch) 2023-03-21 01:10:00 +01:00
0d10b8d95a Refactor for clarity, might break a few tests though (pytorch) 2023-03-21 21:55:00 +01:00
c250e86b2e Late-night bugfix on financial RL environment (pytorch) 2023-02-15 20:39:00 +01:00
c6c80bb53f Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2023-01-18 07:10:00 +01:00
98df2ff800 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2023-01-18 04:49:00 +01:00
88118f11da Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2022-12-22 18:38:00 +01:00
0bc1af7ab5 Minor doc updates: linking to article on quantization (pytorch) 2022-12-22 01:19:00 +01:00
716f8ddc6b Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2022-12-22 21:48:00 +01:00
9db265ed39 Implementing approach from a new paper read last night (pytorch) 2022-12-13 07:29:00 +01:00
91ea5bc986 Minor doc updates: linking to article on quantization (pytorch) 2022-12-13 03:31:00 +01:00
ada51b46f6 Refactor for clarity, might break a few tests though (pytorch) 2022-12-13 22:29:00 +01:00
e5f69df05c Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2022-12-13 21:15:00 +01:00
9eb71c71d4 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2022-12-05 18:44:00 +01:00
e28aefac5a Minor doc updates: linking to article on quantization (pytorch) 2022-12-05 08:09:00 +01:00
75eaebd1b6 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2022-11-12 00:41:00 +01:00
47b95ce3e9 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2022-11-12 21:53:00 +01:00
028df3b96a Implementing approach from a new paper read last night (pytorch) 2022-11-12 23:40:00 +01:00
a06b106858 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2022-11-12 00:49:00 +01:00
2adb421b43 Refactor for clarity, might break a few tests though (pytorch) 2022-08-26 05:15:00 +02:00
b23f374d1c Implementing approach from a new paper read last night (pytorch) 2022-08-26 23:36:00 +02:00
a08f760c65 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2022-07-25 22:07:00 +02:00
f6e889082d Implementing approach from a new paper read last night (pytorch) 2022-07-25 20:35:00 +02:00
e8158ffff1 Refactor for clarity, might break a few tests though (pytorch) 2022-07-25 22:08:00 +02:00
c881ab9a51 Quick fix, referencing a known issue from the official repo (pytorch) 2022-06-21 03:42:00 +02:00
77adb40c4b Quick fix, referencing a known issue from the official repo (pytorch) 2022-06-21 02:04:00 +02:00
8ba85098fa Quick fix, referencing a known issue from the official repo (pytorch) 2022-06-21 22:02:00 +02:00
856f61404a Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2022-06-06 23:50:00 +02:00
23c71cab65 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2022-06-06 19:43:00 +02:00
ab6aff7632 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2022-06-06 08:27:00 +02:00
1eda50e9df Implementing approach from a new paper read last night (pytorch) 2022-06-05 17:44:00 +02:00
0a40441a5b Refactor for clarity, might break a few tests though (pytorch) 2022-06-05 07:41:00 +02:00
f8c1ff72d3 Implementing approach from a new paper read last night (pytorch) 2022-06-05 06:15:00 +02:00
d5f562be45 Late-night bugfix on financial RL environment (pytorch) 2022-05-31 07:24:00 +02:00
8ca4411d09 Quick fix, referencing a known issue from the official repo (pytorch) 2022-05-31 07:15:00 +02:00
7b510d451e Implementing approach from a new paper read last night (pytorch) 2022-05-31 22:57:00 +02:00
7d50fd1995 Late-night bugfix on financial RL environment (pytorch) 2022-05-15 08:07:00 +02:00
de2460ae1e Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2022-05-15 02:00:00 +02:00
9fe75ed59b Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2022-04-09 05:07:00 +02:00
205280ffc8 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2022-04-09 17:34:00 +02:00
8ab9129fe7 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2022-04-09 19:42:00 +02:00
3a53fd218d Quick fix, referencing a known issue from the official repo (pytorch) 2022-04-09 19:58:00 +02:00
4b5899b407 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2022-04-05 00:57:00 +02:00
949ddacc73 Late-night bugfix on financial RL environment (pytorch) 2022-04-05 22:58:00 +02:00
7c026ede9d Minor doc updates: linking to article on quantization (pytorch) 2022-04-05 00:37:00 +02:00
18a944006d Late-night bugfix on financial RL environment (pytorch) 2022-03-25 21:07:00 +01:00
acfad10356 Refactor for clarity, might break a few tests though (pytorch) 2022-03-25 00:45:00 +01:00
0f41e2c943 Late-night bugfix on financial RL environment (pytorch) 2022-03-25 17:20:00 +01:00
e8c5027694 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2022-03-09 05:43:00 +01:00
9978038498 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2022-03-09 21:04:00 +01:00
96f759c632 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2022-03-09 07:31:00 +01:00
23dc7ee222 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2022-03-09 19:05:00 +01:00
00144d9ea7 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2022-03-06 20:19:00 +01:00
455e0f5940 Refactor for clarity, might break a few tests though (pytorch) 2022-03-06 06:47:00 +01:00
1ba4360aed Implementing approach from a new paper read last night (pytorch) 2022-03-06 20:41:00 +01:00
e5d70fe29b Refactor for clarity, might break a few tests though (pytorch) 2022-02-03 18:37:00 +01:00
db69de1b27 Refactor for clarity, might break a few tests though (pytorch) 2022-02-03 21:15:00 +01:00
b6338c813f Quick fix, referencing a known issue from the official repo (pytorch) 2022-02-03 17:51:00 +01:00
64f8d95f81 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2021-12-30 00:13:00 +01:00
41c2150554 Late-night bugfix on financial RL environment (pytorch) 2021-12-30 21:26:00 +01:00
11278043cf Late-night bugfix on financial RL environment (pytorch) 2021-12-28 06:08:00 +01:00
618df82e0d Late-night bugfix on financial RL environment (pytorch) 2021-11-27 18:24:00 +01:00
40c8ac07a4 Minor doc updates: linking to article on quantization (pytorch) 2021-11-27 06:04:00 +01:00
9067111266 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2021-11-27 01:18:00 +01:00
c38475d861 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2021-11-27 07:25:00 +01:00
97e70be7e7 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2021-11-18 19:19:00 +01:00
60aafa3ff8 Implementing approach from a new paper read last night (pytorch) 2021-11-18 18:09:00 +01:00
47a4abc318 Refactor for clarity, might break a few tests though (pytorch) 2021-11-15 08:22:00 +01:00
2f2410d33f Quick fix, referencing a known issue from the official repo (pytorch) 2021-11-15 02:41:00 +01:00
0aa5f251cd Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2021-11-15 08:46:00 +01:00
f2844c75e8 Implementing approach from a new paper read last night (pytorch) 2021-11-08 23:05:00 +01:00
64b7178d87 Quick fix, referencing a known issue from the official repo (pytorch) 2021-11-08 00:23:00 +01:00
97db66d135 Late-night bugfix on financial RL environment (pytorch) 2021-11-08 18:07:00 +01:00
9fb64b447d Refactor for clarity, might break a few tests though (pytorch) 2021-11-08 03:55:00 +01:00
8d19da3473 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2021-11-06 02:44:00 +01:00
a0cf0a32b2 Minor doc updates: linking to article on quantization (pytorch) 2021-10-29 19:38:00 +02:00
ac8a76c4b7 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2021-10-25 19:29:00 +02:00
4d187e9177 Quick fix, referencing a known issue from the official repo (pytorch) 2021-10-25 08:18:00 +02:00
02c848d226 Implementing approach from a new paper read last night (pytorch) 2021-10-25 21:56:00 +02:00
0396c0c674 Implementing approach from a new paper read last night (pytorch) 2021-09-12 07:41:00 +02:00
27c7979d8c Late-night bugfix on financial RL environment (pytorch) 2021-09-12 00:14:00 +02:00
35f57fbe06 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2021-09-12 20:55:00 +02:00
4fcdb6763a Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2021-08-29 18:44:00 +02:00
e7945070c6 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2021-08-29 08:04:00 +02:00
e7cb6710b0 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2021-08-29 22:40:00 +02:00
ae61d85dbc Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2021-08-14 19:06:00 +02:00
52b45659c3 Late-night bugfix on financial RL environment (pytorch) 2021-07-31 08:45:00 +02:00
459d7b848c Minor doc updates: linking to article on quantization (pytorch) 2021-06-11 04:40:00 +02:00
71bbb3c045 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2021-06-11 05:02:00 +02:00
99d039627b Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2021-05-06 00:45:00 +02:00
4bc7165c13 Refactor for clarity, might break a few tests though (pytorch) 2021-03-26 19:07:00 +01:00
7c9b50b8f5 Minor doc updates: linking to article on quantization (pytorch) 2021-03-09 05:50:00 +01:00
53bf20e07c Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2021-03-09 18:27:00 +01:00
166c8c2559 Refactor for clarity, might break a few tests though (pytorch) 2021-03-09 21:49:00 +01:00
703aaec281 Refactor for clarity, might break a few tests though (pytorch) 2021-03-09 05:36:00 +01:00
7b1045e51b Quick fix, referencing a known issue from the official repo (pytorch) 2021-03-07 04:34:00 +01:00
8ccb1cf185 Minor doc updates: linking to article on quantization (pytorch) 2021-03-07 03:59:00 +01:00
441891c64b Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2021-03-07 21:14:00 +01:00
fbdfd3db54 Implementing approach from a new paper read last night (pytorch) 2021-03-07 02:13:00 +01:00
c1e1406efa Quick fix, referencing a known issue from the official repo (pytorch) 2021-02-25 04:52:00 +01:00
8f78aba2c4 Refactor for clarity, might break a few tests though (pytorch) 2021-02-25 17:07:00 +01:00
8dde1a3822 Late-night bugfix on financial RL environment (pytorch) 2021-02-25 08:58:00 +01:00
fb9d2a5292 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2021-02-05 19:48:00 +01:00
6082d992b9 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2021-02-05 02:20:00 +01:00
582f61dbde Refactor for clarity, might break a few tests though (pytorch) 2021-02-05 22:47:00 +01:00
cfcb5877ff Late-night bugfix on financial RL environment (pytorch) 2020-12-20 18:26:00 +01:00
c9ffd46f42 Implementing approach from a new paper read last night (pytorch) 2020-12-20 18:00:00 +01:00
17eb2d11db Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2020-12-20 23:21:00 +01:00
06bf848561 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2020-11-23 02:12:00 +01:00
6b924515f6 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2020-11-23 19:54:00 +01:00
37ae138e45 Minor doc updates: linking to article on quantization (pytorch) 2020-11-23 07:35:00 +01:00
094cc050ba Quick fix, referencing a known issue from the official repo (pytorch) 2020-11-18 07:41:00 +01:00
ae181724e5 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2020-11-18 04:54:00 +01:00
54be7f9c1f Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2020-11-18 20:40:00 +01:00
21370fec85 Implementing approach from a new paper read last night (pytorch) 2020-10-30 02:10:00 +01:00
f46e203938 Minor doc updates: linking to article on quantization (pytorch) 2020-10-30 22:56:00 +01:00
31bfdd6216 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2020-10-14 07:37:00 +02:00
5e816d1968 Minor doc updates: linking to article on quantization (pytorch) 2020-10-14 04:18:00 +02:00
fffe52bb3b Refactor for clarity, might break a few tests though (pytorch) 2020-10-14 07:57:00 +02:00
82858df048 Minor doc updates: linking to article on quantization (pytorch) 2020-09-11 02:28:00 +02:00
0161a00ebd Refactor for clarity, might break a few tests though (pytorch) 2020-09-11 04:42:00 +02:00
c7a0c787ee Minor doc updates: linking to article on quantization (pytorch) 2020-09-08 19:15:00 +02:00
45c3eb46f2 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2020-09-07 08:06:00 +02:00
a2c1b09fe9 Late-night bugfix on financial RL environment (pytorch) 2020-07-05 18:22:00 +02:00
da40844dae Late-night bugfix on financial RL environment (pytorch) 2020-07-05 19:20:00 +02:00
eccce5da01 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2020-07-05 04:10:00 +02:00
cb5bd0cc60 Late-night bugfix on financial RL environment (pytorch) 2020-06-23 18:38:00 +02:00
a7a0adf29e Refactor for clarity, might break a few tests though (pytorch) 2020-06-23 08:36:00 +02:00
4e761395ee Implementing approach from a new paper read last night (pytorch) 2020-06-06 22:09:00 +02:00
454383b3f7 Late-night bugfix on financial RL environment (pytorch) 2020-06-04 21:17:00 +02:00
1c23ac39ce Minor doc updates: linking to article on quantization (pytorch) 2020-06-04 06:29:00 +02:00
28215f4e50 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2020-06-04 00:56:00 +02:00
3b92998f84 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2020-06-04 07:08:00 +02:00
cc253f3804 Late-night bugfix on financial RL environment (pytorch) 2020-05-22 19:13:00 +02:00
6b1957bed9 Refactor for clarity, might break a few tests though (pytorch) 2020-05-03 04:18:00 +02:00
dfb1e51e2d Implementing approach from a new paper read last night (pytorch) 2020-05-03 05:52:00 +02:00
07fd5465e5 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2020-05-03 04:55:00 +02:00
86e1c644e6 Implementing approach from a new paper read last night (pytorch) 2020-04-09 20:59:00 +02:00
c3378eaeff Implementing approach from a new paper read last night (pytorch) 2020-04-09 18:45:00 +02:00
ab6eae7221 Quick fix, referencing a known issue from the official repo (pytorch) 2020-04-06 19:30:00 +02:00
c06a6d2a5b Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2020-04-06 05:04:00 +02:00
4696ce4d3e Late-night bugfix on financial RL environment (pytorch) 2020-04-06 20:06:00 +02:00
1d2afc23d3 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2020-04-06 21:46:00 +02:00
f3e7b4bd1e Late-night bugfix on financial RL environment (pytorch) 2020-03-22 18:22:00 +01:00
098fb19d86 Implementing approach from a new paper read last night (pytorch) 2020-03-22 23:54:00 +01:00
5e07ccf4cf Minor doc updates: linking to article on quantization (pytorch) 2020-03-22 07:22:00 +01:00
0a309091d8 Minor doc updates: linking to article on quantization (pytorch) 2020-03-22 05:13:00 +01:00
95cdca7429 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2020-03-15 20:26:00 +01:00
e0b2f729a3 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2020-03-09 04:27:00 +01:00
c680a65076 Late-night bugfix on financial RL environment (pytorch) 2020-03-09 20:36:00 +01:00
ba555800e0 Quick fix, referencing a known issue from the official repo (pytorch) 2020-03-09 20:25:00 +01:00
1633fc2217 Implementing approach from a new paper read last night (pytorch) 2020-03-09 17:17:00 +01:00
758cc0c31e Minor doc updates: linking to article on quantization (pytorch) 2019-11-24 04:17:00 +01:00
7c70df136a Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2019-11-24 04:31:00 +01:00
7464970eb1 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2019-11-24 18:24:00 +01:00
4d2af27222 Implementing approach from a new paper read last night (pytorch) 2019-11-09 23:09:00 +01:00
a0b635338b Implementing approach from a new paper read last night (pytorch) 2019-10-31 06:53:00 +01:00
d9f8571c36 Quick fix, referencing a known issue from the official repo (pytorch) 2019-10-31 06:38:00 +01:00
9f2e7acce0 Late-night bugfix on financial RL environment (pytorch) 2019-10-29 08:29:00 +01:00
a38bf106f4 Implementing approach from a new paper read last night (pytorch) 2019-10-29 06:53:00 +01:00
14a7d502bb Quick fix, referencing a known issue from the official repo (pytorch) 2019-10-29 17:11:00 +01:00
d12adf2eea Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2019-10-29 06:48:00 +01:00
daaead1715 Refactor for clarity, might break a few tests though (pytorch) 2019-09-11 07:23:00 +02:00
070d8411c7 Minor doc updates: linking to article on quantization (pytorch) 2019-09-11 02:25:00 +02:00
03f4b295ed Minor doc updates: linking to article on quantization (pytorch) 2019-08-15 08:18:00 +02:00
88ef09311d Refactor for clarity, might break a few tests though (pytorch) 2019-08-15 18:14:00 +02:00
64946cb1c1 Implementing approach from a new paper read last night (pytorch) 2019-08-15 03:49:00 +02:00
72315fa98d Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2019-08-11 08:42:00 +02:00
1af4fe4ecb Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2019-08-11 19:17:00 +02:00
30a460ee5f Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2019-08-11 00:13:00 +02:00
69f3ad5cc7 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2019-08-11 03:11:00 +02:00
b8a6bc73c4 Refactor for clarity, might break a few tests though (pytorch) 2019-08-10 04:41:00 +02:00
b340e283b8 Minor doc updates: linking to article on quantization (pytorch) 2019-07-28 18:48:00 +02:00
7be19238e2 Late-night bugfix on financial RL environment (pytorch) 2019-06-09 20:00:00 +02:00
2a8bc82605 Refactor for clarity, might break a few tests though (pytorch) 2019-06-09 00:07:00 +02:00
1999fce1d6 Quick fix, referencing a known issue from the official repo (pytorch) 2019-03-20 07:23:00 +01:00
4d2c864223 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2019-03-20 18:03:00 +01:00
5bb59dd08c Implementing approach from a new paper read last night (pytorch) 2019-03-03 00:07:00 +01:00
9b1402f245 Late-night bugfix on financial RL environment (pytorch) 2019-02-25 02:42:00 +01:00
1d4f08bffb Quick fix, referencing a known issue from the official repo (pytorch) 2019-01-13 20:16:00 +01:00
16734719d8 Minor doc updates: linking to article on quantization (pytorch) 2019-01-13 05:16:00 +01:00
d87f4b57df Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2019-01-02 23:01:00 +01:00
1a14964beb Quick fix, referencing a known issue from the official repo (pytorch) 2019-01-02 01:30:00 +01:00
b3e40797a4 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2019-01-02 17:12:00 +01:00
bed3bc4093 Minor doc updates: linking to article on quantization (pytorch) 2018-12-16 00:27:00 +01:00
b53218ca92 Minor doc updates: linking to article on quantization (pytorch) 2018-12-16 18:48:00 +01:00
7ecb4e4ef4 Implementing approach from a new paper read last night (pytorch) 2018-12-16 20:49:00 +01:00
6bde058d37 Minor doc updates: linking to article on quantization (pytorch) 2018-12-16 02:43:00 +01:00
5370cb6a01 Refactor for clarity, might break a few tests though (pytorch) 2018-11-14 23:58:00 +01:00
1c220d698e Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2018-11-14 03:18:00 +01:00
1b0b73cea9 Late-night bugfix on financial RL environment (pytorch) 2018-11-14 05:21:00 +01:00
d2901432f3 Implementing approach from a new paper read last night (pytorch) 2018-11-14 01:50:00 +01:00
ceb7d73dd3 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2018-10-25 06:39:00 +02:00
3cdca53adc Late-night bugfix on financial RL environment (pytorch) 2018-10-25 22:23:00 +02:00
58363e35c6 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2018-10-25 07:11:00 +02:00
1de2900cdf Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2018-09-20 07:14:00 +02:00
9af713ee99 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2018-07-03 21:29:00 +02:00
e6f879b8d4 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2018-07-03 21:50:00 +02:00
cbfc766eb6 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2018-07-03 01:23:00 +02:00
00b389c4c5 Quick fix, referencing a known issue from the official repo (pytorch) 2018-06-17 05:13:00 +02:00
fff49454bf Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2018-06-10 00:44:00 +02:00
de9b0f0cbf Refactor for clarity, might break a few tests though (pytorch) 2018-06-10 17:33:00 +02:00
3227d2b5c9 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2018-06-10 03:20:00 +02:00
18b9bc5347 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2018-06-10 20:39:00 +02:00
1722c3f9ad Minor doc updates: linking to article on quantization (pytorch) 2018-04-27 21:30:00 +02:00
65c788fd09 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2018-04-27 21:58:00 +02:00
d7f8a52f79 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2018-02-20 17:47:00 +01:00
61e538d3b3 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2018-02-20 07:25:00 +01:00
d899ad2bbc Minor doc updates: linking to article on quantization (pytorch) 2018-02-20 22:26:00 +01:00
05c675239a Refactor for clarity, might break a few tests though (pytorch) 2018-02-20 18:41:00 +01:00
7bf51bfd08 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2018-02-19 22:30:00 +01:00
9c88641d3f Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2018-02-19 00:19:00 +01:00
7ef0642e83 Late-night bugfix on financial RL environment (pytorch) 2018-02-19 22:55:00 +01:00
1279ddbca0 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2018-02-19 03:32:00 +01:00
53bcbb1ca5 Minor doc updates: linking to article on quantization (pytorch) 2018-02-03 21:32:00 +01:00
51b31edcec Late-night bugfix on financial RL environment (pytorch) 2017-12-22 21:46:00 +01:00
2685b28a80 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2017-12-02 17:54:00 +01:00
02e2c3311e Refactor for clarity, might break a few tests though (pytorch) 2017-12-02 03:40:00 +01:00
8b7c267a31 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2017-12-02 03:36:00 +01:00
6d3b5beb5a Late-night bugfix on financial RL environment (pytorch) 2017-11-25 00:43:00 +01:00
0e941f3178 Late-night bugfix on financial RL environment (pytorch) 2017-11-18 19:53:00 +01:00
c138c54cdd Late-night bugfix on financial RL environment (pytorch) 2017-10-24 04:21:00 +02:00
8cec6e17a5 Minor doc updates: linking to article on quantization (pytorch) 2017-10-24 08:57:00 +02:00
edc7afcb6a Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2017-10-24 04:13:00 +02:00
acfe418dc9 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2017-08-28 22:00:00 +02:00
3e187d8b53 Implementing approach from a new paper read last night (pytorch) 2017-08-05 05:46:00 +02:00
d7f16ed0d7 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2017-08-02 22:07:00 +02:00
7729fc27e4 Late-night bugfix on financial RL environment (pytorch) 2017-08-02 06:09:00 +02:00
6466d5584f Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2017-04-25 04:17:00 +02:00
b5e2f58c41 Late-night bugfix on financial RL environment (pytorch) 2017-04-25 03:42:00 +02:00
2069dca742 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2017-04-25 01:34:00 +02:00
1aed454788 Refactor for clarity, might break a few tests though (pytorch) 2017-02-22 04:16:00 +01:00
7cc4662d8a Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2017-02-22 21:56:00 +01:00
5d7cfef3b7 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2017-01-25 03:18:00 +01:00
27cc911030 Implementing approach from a new paper read last night (pytorch) 2017-01-25 07:37:00 +01:00
843eda5148 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2017-01-25 06:53:00 +01:00
b39a1f4ad2 Late-night bugfix on financial RL environment (pytorch) 2017-01-25 22:51:00 +01:00
08077db9b3 Implementing approach from a new paper read last night (pytorch) 2017-01-15 22:35:00 +01:00
a9aa428722 Quick fix, referencing a known issue from the official repo (pytorch) 2017-01-15 05:38:00 +01:00
2aed355665 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2017-01-15 03:35:00 +01:00
7fb8a17c5d Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2017-01-15 17:00:00 +01:00
666aea569d Implementing approach from a new paper read last night (pytorch) 2017-01-08 03:46:00 +01:00
8e0810a044 Minor doc updates: linking to article on quantization (pytorch) 2016-12-27 01:21:00 +01:00
096bbc1e37 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2016-12-27 02:07:00 +01:00
fb3b844110 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2016-12-27 01:28:00 +01:00
307eedd107 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2016-12-27 20:56:00 +01:00
4ca44b92dd Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2016-11-22 23:19:00 +01:00
05ff0f9615 Minor doc updates: linking to article on quantization (pytorch) 2016-11-17 17:04:00 +01:00
92ba09d5c6 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2016-08-04 02:06:00 +02:00
872758d0b6 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2016-08-04 23:32:00 +02:00
7701d78f5e Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2016-08-04 23:42:00 +02:00
b4f15683f3 Minor doc updates: linking to article on quantization (pytorch) 2016-08-04 03:37:00 +02:00
8f36dd4663 Refactor for clarity, might break a few tests though (pytorch) 2016-04-27 04:38:00 +02:00
bd8ffd894d Minor doc updates: linking to article on quantization (pytorch) 2016-04-26 08:33:00 +02:00
4cbdd8e197 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2016-04-26 23:19:00 +02:00
9cd9e9c86b Late-night bugfix on financial RL environment (pytorch) 2016-02-04 23:54:00 +01:00
c526c0da9f Implementing approach from a new paper read last night (pytorch) 2016-02-04 23:28:00 +01:00
10a6376c10 Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2016-02-04 04:33:00 +01:00
0790de6746 Late-night bugfix on financial RL environment (pytorch) 2016-02-04 21:52:00 +01:00
f6db02ea2c Minor doc updates: linking to article on quantization (pytorch) 2015-12-20 20:20:00 +01:00
dc95c27654 Quick fix, referencing a known issue from the official repo (pytorch) 2015-12-20 03:44:00 +01:00
6cdf5aba3b Late-night bugfix on financial RL environment (pytorch) 2015-12-20 17:04:00 +01:00
16a51adb4d Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2015-12-20 04:23:00 +01:00
f4192c9acb Quick fix, referencing a known issue from the official repo (pytorch) 2015-12-08 05:14:00 +01:00
25e78c5c6e Refactor for clarity, might break a few tests though (pytorch) 2015-12-08 21:12:00 +01:00
3dca5daf78 Quick fix, referencing a known issue from the official repo (pytorch) 2015-12-08 19:24:00 +01:00
775728503e Minor doc updates: linking to article on quantization (pytorch) 2015-12-08 03:48:00 +01:00
9eafe19418 Implementing approach from a new paper read last night (pytorch) 2015-10-24 03:46:00 +02:00
929795bcea Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2015-10-24 02:26:00 +02:00
17c83b2523 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2015-10-24 03:41:00 +02:00
48a60ce484 Implementing approach from a new paper read last night (pytorch) 2015-09-21 01:56:00 +02:00
f3db95c04d Implementing approach from a new paper read last night (pytorch) 2015-09-21 08:29:00 +02:00
70898ed07f Implementing approach from a new paper read last night (pytorch) 2015-09-18 22:58:00 +02:00
0e321fbb8a Late-night bugfix on financial RL environment (pytorch) 2015-09-18 02:22:00 +02:00
4af8d7c8ae Implementing approach from a new paper read last night (pytorch) 2015-03-29 23:51:00 +02:00
a1f2885f0b Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2015-03-29 19:49:00 +02:00
fd0a569013 Quick fix, referencing a known issue from the official repo (pytorch) 2015-03-29 19:07:00 +02:00
d9242a8ebe Quick fix, referencing a known issue from the official repo (pytorch) 2015-03-18 04:51:00 +01:00
8a8cd94720 Minor doc updates: linking to article on quantization (pytorch) 2015-02-25 21:29:00 +01:00
aa9f9da991 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2015-02-25 18:43:00 +01:00
fd7f0b498e Late-night bugfix on financial RL environment (pytorch) 2015-02-25 20:10:00 +01:00
1011736886 Minor doc updates: linking to article on quantization (pytorch) 2015-01-20 18:16:00 +01:00
ebd0871f1c Late-night bugfix on financial RL environment (pytorch) 2015-01-20 21:42:00 +01:00
e833cadb5e Quick fix, referencing a known issue from the official repo (pytorch) 2015-01-20 23:25:00 +01:00
d55b60fada Late-night bugfix on financial RL environment (pytorch) 2014-12-17 04:07:00 +01:00
77e7f8cd4b Refactor for clarity, might break a few tests though (pytorch) 2014-12-17 04:39:00 +01:00
aaaf3e8f25 Minor doc updates: linking to article on quantization (pytorch) 2014-12-17 00:05:00 +01:00
6329f35b03 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2014-11-13 04:22:00 +01:00
33acdf243d Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2014-11-13 00:38:00 +01:00
5c85baf61f Minor doc updates: linking to article on quantization (pytorch) 2014-11-13 17:28:00 +01:00
09eca0a896 Minor doc updates: linking to article on quantization (pytorch) 2014-09-30 01:10:00 +02:00
cef720c745 Minor doc updates: linking to article on quantization (pytorch) 2014-09-30 19:25:00 +02:00
4c7f2784ee Minor doc updates: linking to article on quantization (pytorch) 2014-09-15 04:19:00 +02:00
9038a0d558 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2014-09-15 07:29:00 +02:00
0f9392009c Implementing approach from a new paper read last night (pytorch) 2014-08-14 02:24:00 +02:00
ee92cf2a8a Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2014-08-14 23:15:00 +02:00
da1f74ff29 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2014-08-14 08:37:00 +02:00
f62f467391 Minor doc updates: linking to article on quantization (pytorch) 2014-07-24 17:45:00 +02:00
9344d9d16b Late-night bugfix on financial RL environment (pytorch) 2014-07-24 18:07:00 +02:00
0c45aba1ae Quick fix, referencing a known issue from the official repo (pytorch) 2014-07-24 17:06:00 +02:00
2cb60a4cd1 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2014-06-17 03:03:00 +02:00
2323733af0 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2014-06-17 02:33:00 +02:00
a017c85ec6 Implementing approach from a new paper read last night (pytorch) 2014-06-17 21:15:00 +02:00
6f337f6376 Late-night bugfix on financial RL environment (pytorch) 2014-05-26 01:20:00 +02:00
4bc1b755ee Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2014-05-26 18:49:00 +02:00
bc7efb37d7 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2014-05-10 03:54:00 +02:00
b8027f0f96 Late-night bugfix on financial RL environment (pytorch) 2014-05-10 03:47:00 +02:00
3a0e75d9af Minor doc updates: linking to article on quantization (pytorch) 2014-05-10 02:21:00 +02:00
45e603a242 Minor doc updates: linking to article on quantization (pytorch) 2014-04-22 02:46:00 +02:00
4d99e5598a Implementing approach from a new paper read last night (pytorch) 2014-04-22 08:19:00 +02:00
6181ba002b Implementing approach from a new paper read last night (pytorch) 2014-04-22 17:59:00 +02:00
522335ca4b Refactor for clarity, might break a few tests though (pytorch) 2014-04-19 07:15:00 +02:00
fc8dccb9ab Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2014-04-19 00:56:00 +02:00
72ba352028 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2014-04-19 06:24:00 +02:00
d83eaf251e Quick fix, referencing a known issue from the official repo (pytorch) 2014-04-19 04:05:00 +02:00
525e69c6f1 Refactor for clarity, might break a few tests though (pytorch) 2014-04-03 23:10:00 +02:00
a4e677ef16 Late-night bugfix on financial RL environment (pytorch) 2014-04-03 06:23:00 +02:00
fca6d22957 Late-night bugfix on financial RL environment (pytorch) 2014-04-03 07:39:00 +02:00
99267bd9dc Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch) 2014-04-03 01:39:00 +02:00
bebf513ac6 Refactor for clarity, might break a few tests though (pytorch) 2014-02-01 23:18:00 +01:00
d4942d7f6e Implementing approach from a new paper read last night (pytorch) 2014-02-01 02:35:00 +01:00
06d57552a7 Refactor for clarity, might break a few tests though (pytorch) 2014-02-01 06:23:00 +01:00
6750eb3298 Quick fix, referencing a known issue from the official repo (pytorch) 2014-01-30 22:47:00 +01:00
aad0ff916b Quick fix, referencing a known issue from the official repo (pytorch) 2014-01-24 04:16:00 +01:00
fababcc7e1 Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2014-01-24 23:53:00 +01:00
60cffecc0a Quick fix, referencing a known issue from the official repo (pytorch) 2014-01-24 07:05:00 +01:00
257fb73521 Implementing approach from a new paper read last night (pytorch) 2014-01-07 23:21:00 +01:00
0e0e0a075e Implementing approach from a new paper read last night (pytorch) 2014-01-07 18:58:00 +01:00
512be0049c Quick fix, referencing a known issue from the official repo (pytorch) 2014-01-01 05:53:00 +01:00
5980b1984b Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch) 2014-01-01 19:32:00 +01:00
8a4a2cbf80 Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch) 2014-01-01 18:22:00 +01:00
db3f5260e5 Quick fix, referencing a known issue from the official repo (pytorch) 2014-01-01 08:34:00 +01:00
Ting Lu
d0e70c4fd3 windows Magma build for cu128 (#146653)
https://github.com/pytorch/pytorch/issues/145570

removing `.ci/pytorch/windows/internal/cuda_install.bat` as it is a duplicate with` .github/scripts/windows/cuda_install.bat`. The later one is the one in use - https://github.com/pytorch/pytorch/pull/146653/files#diff-613791f266f2f7b81148ca8f447b0cd6c6544f824f5f46a78a2794006c78957bR8

Pull Request resolved: https://github.com/pytorch/pytorch/pull/146653
Approved by: https://github.com/atalman

Co-authored-by: atalman <atalman@fb.com>
2025-02-10 13:48:55 +00:00
Tom Ritchford
6f15a609d3 Test typing of arithmetic operators on Tensor (see #145838) (#146426)
See #145838

Pull Request resolved: https://github.com/pytorch/pytorch/pull/146426
Approved by: https://github.com/Skylion007
2025-02-10 12:19:56 +00:00
8 changed files with 944 additions and 223 deletions

View file

@ -0,0 +1,59 @@
@echo off
set MODULE_NAME=pytorch
IF NOT EXIST "setup.py" IF NOT EXIST "%MODULE_NAME%" (
call internal\clone.bat
cd %~dp0
) ELSE (
call internal\clean.bat
)
IF ERRORLEVEL 1 goto :eof
call internal\check_deps.bat
IF ERRORLEVEL 1 goto :eof
REM Check for optional components
set USE_CUDA=
set CMAKE_GENERATOR=Visual Studio 15 2017 Win64
IF "%NVTOOLSEXT_PATH%"=="" (
IF EXIST "C:\Program Files\NVIDIA Corporation\NvToolsExt\lib\x64\nvToolsExt64_1.lib" (
set NVTOOLSEXT_PATH=C:\Program Files\NVIDIA Corporation\NvToolsExt
) ELSE (
echo NVTX ^(Visual Studio Extension ^for CUDA^) ^not installed, failing
exit /b 1
)
)
IF "%CUDA_PATH_V128%"=="" (
IF EXIST "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\bin\nvcc.exe" (
set "CUDA_PATH_V128=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8"
) ELSE (
echo CUDA 12.8 not found, failing
exit /b 1
)
)
IF "%BUILD_VISION%" == "" (
set TORCH_CUDA_ARCH_LIST=5.0;6.0;6.1;7.0;7.5;8.0;8.6;9.0;10.0;12.0
set TORCH_NVCC_FLAGS=-Xfatbin -compress-all
) ELSE (
set NVCC_FLAGS=-D__CUDA_NO_HALF_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=compute_80 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_90,code=compute_90 -gencode=arch=compute_100,code=compute_100 -gencode=arch=compute_120,code=compute_120
)
set "CUDA_PATH=%CUDA_PATH_V126%"
set "PATH=%CUDA_PATH_V126%\bin;%PATH%"
:optcheck
call internal\check_opts.bat
IF ERRORLEVEL 1 goto :eof
if exist "%NIGHTLIES_PYTORCH_ROOT%" cd %NIGHTLIES_PYTORCH_ROOT%\..
call %~dp0\internal\copy.bat
IF ERRORLEVEL 1 goto :eof
call %~dp0\internal\setup.bat
IF ERRORLEVEL 1 goto :eof

View file

@ -9,7 +9,8 @@ if "%CUDA_VERSION%" == "xpu" (
exit /b 0
)
set SRC_DIR=%NIGHTLIES_PYTORCH_ROOT%
set SRC_DIR=%~dp0\..
if not exist "%SRC_DIR%\temp_build" mkdir "%SRC_DIR%\temp_build"
set /a CUDA_VER=%CUDA_VERSION%
@ -23,9 +24,9 @@ set CUDNN_LIB_FOLDER="lib\x64"
if exist "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%\bin\nvcc.exe" goto set_cuda_env_vars
if %CUDA_VER% EQU 118 goto cuda118
if %CUDA_VER% EQU 121 goto cuda121
if %CUDA_VER% EQU 124 goto cuda124
if %CUDA_VER% EQU 126 goto cuda126
if %CUDA_VER% EQU 128 goto cuda128
echo CUDA %CUDA_VERSION_STR% is not supported
exit /b 1
@ -111,6 +112,33 @@ xcopy /Y "%SRC_DIR%\temp_build\zlib\dll_x64\*.dll" "C:\Windows\System32"
goto cuda_common
:cuda128
set CUDA_INSTALL_EXE=cuda_12.8.0_571.96_windows.exe
if not exist "%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%" (
curl -k -L "https://ossci-windows.s3.amazonaws.com/%CUDA_INSTALL_EXE%" --output "%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%"
if errorlevel 1 exit /b 1
set "CUDA_SETUP_FILE=%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%"
set "ARGS=cuda_profiler_api_12.8 thrust_12.8 nvcc_12.8 cuobjdump_12.8 nvprune_12.8 nvprof_12.8 cupti_12.8 cublas_12.8 cublas_dev_12.8 cudart_12.8 cufft_12.8 cufft_dev_12.8 curand_12.8 curand_dev_12.8 cusolver_12.8 cusolver_dev_12.8 cusparse_12.8 cusparse_dev_12.8 npp_12.8 npp_dev_12.8 nvrtc_12.8 nvrtc_dev_12.8 nvml_dev_12.8 nvjitlink_12.8 nvtx_12.8"
)
set CUDNN_FOLDER=cudnn-windows-x86_64-9.7.0.66_cuda12-archive
set CUDNN_LIB_FOLDER="lib"
set "CUDNN_INSTALL_ZIP=%CUDNN_FOLDER%.zip"
if not exist "%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%" (
curl -k -L "http://s3.amazonaws.com/ossci-windows/%CUDNN_INSTALL_ZIP%" --output "%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%"
if errorlevel 1 exit /b 1
set "CUDNN_SETUP_FILE=%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%"
)
@REM cuDNN 8.3+ required zlib to be installed on the path
echo Installing ZLIB dlls
curl -k -L "http://s3.amazonaws.com/ossci-windows/zlib123dllx64.zip" --output "%SRC_DIR%\temp_build\zlib123dllx64.zip"
7z x "%SRC_DIR%\temp_build\zlib123dllx64.zip" -o"%SRC_DIR%\temp_build\zlib"
xcopy /Y "%SRC_DIR%\temp_build\zlib\dll_x64\*.dll" "C:\Windows\System32"
goto cuda_common
:cuda_common
:: NOTE: We only install CUDA if we don't have it installed already.
:: With GHA runners these should be pre-installed as part of our AMI process

View file

@ -35,7 +35,10 @@ cd magma
mkdir build && cd build
set GPU_TARGET=All
if "%CUVER_NODOT:~0,2%" == "12" (
if "%CUVER_NODOT%" == "128" (
set CUDA_ARCH_LIST=-gencode arch=compute_50,code=sm_50 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120
)
if "%CUVER_NODOT:~0,2%" == "12" if NOT "%CUVER_NODOT%" == "128" (
set CUDA_ARCH_LIST=-gencode arch=compute_50,code=sm_50 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90
)
if "%CUVER_NODOT%" == "118" (

View file

@ -1,218 +0,0 @@
@echo on
if "%CUDA_VERSION%" == "cpu" (
echo Skipping for CPU builds
exit /b 0
)
if "%CUDA_VERSION%" == "xpu" (
echo Skipping for XPU builds
exit /b 0
)
set SRC_DIR=%~dp0\..
if not exist "%SRC_DIR%\temp_build" mkdir "%SRC_DIR%\temp_build"
set /a CUDA_VER=%CUDA_VERSION%
set CUDA_VER_MAJOR=%CUDA_VERSION:~0,-1%
set CUDA_VER_MINOR=%CUDA_VERSION:~-1,1%
set CUDA_VERSION_STR=%CUDA_VER_MAJOR%.%CUDA_VER_MINOR%
set CUDNN_FOLDER="cuda"
set CUDNN_LIB_FOLDER="lib\x64"
:: Skip all of this if we already have cuda installed
if exist "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%\bin\nvcc.exe" goto set_cuda_env_vars
if %CUDA_VER% EQU 118 goto cuda118
if %CUDA_VER% EQU 121 goto cuda121
if %CUDA_VER% EQU 124 goto cuda124
if %CUDA_VER% EQU 126 goto cuda126
echo CUDA %CUDA_VERSION_STR% is not supported
exit /b 1
:cuda118
set CUDA_INSTALL_EXE=cuda_11.8.0_522.06_windows.exe
if not exist "%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%" (
curl -k -L "https://ossci-windows.s3.amazonaws.com/%CUDA_INSTALL_EXE%" --output "%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%"
if errorlevel 1 exit /b 1
set "CUDA_SETUP_FILE=%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%"
set "ARGS=cuda_profiler_api_11.8 thrust_11.8 nvcc_11.8 cuobjdump_11.8 nvprune_11.8 nvprof_11.8 cupti_11.8 cublas_11.8 cublas_dev_11.8 cudart_11.8 cufft_11.8 cufft_dev_11.8 curand_11.8 curand_dev_11.8 cusolver_11.8 cusolver_dev_11.8 cusparse_11.8 cusparse_dev_11.8 npp_11.8 npp_dev_11.8 nvrtc_11.8 nvrtc_dev_11.8 nvml_dev_11.8 nvtx_11.8"
)
set CUDNN_FOLDER=cudnn-windows-x86_64-9.5.0.50_cuda11-archive
set CUDNN_LIB_FOLDER="lib"
set "CUDNN_INSTALL_ZIP=%CUDNN_FOLDER%.zip"
if not exist "%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%" (
curl -k -L "http://s3.amazonaws.com/ossci-windows/%CUDNN_INSTALL_ZIP%" --output "%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%"
if errorlevel 1 exit /b 1
set "CUDNN_SETUP_FILE=%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%"
)
@REM cuDNN 8.3+ required zlib to be installed on the path
echo Installing ZLIB dlls
curl -k -L "http://s3.amazonaws.com/ossci-windows/zlib123dllx64.zip" --output "%SRC_DIR%\temp_build\zlib123dllx64.zip"
7z x "%SRC_DIR%\temp_build\zlib123dllx64.zip" -o"%SRC_DIR%\temp_build\zlib"
xcopy /Y "%SRC_DIR%\temp_build\zlib\dll_x64\*.dll" "C:\Windows\System32"
goto cuda_common
:cuda121
set CUDA_INSTALL_EXE=cuda_12.1.1_531.14_windows.exe
if not exist "%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%" (
curl -k -L "https://ossci-windows.s3.amazonaws.com/%CUDA_INSTALL_EXE%" --output "%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%"
if errorlevel 1 exit /b 1
set "CUDA_SETUP_FILE=%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%"
set "ARGS=cuda_profiler_api_12.1 thrust_12.1 nvcc_12.1 cuobjdump_12.1 nvprune_12.1 nvprof_12.1 cupti_12.1 cublas_12.1 cublas_dev_12.1 cudart_12.1 cufft_12.1 cufft_dev_12.1 curand_12.1 curand_dev_12.1 cusolver_12.1 cusolver_dev_12.1 cusparse_12.1 cusparse_dev_12.1 npp_12.1 npp_dev_12.1 nvrtc_12.1 nvrtc_dev_12.1 nvml_dev_12.1 nvjitlink_12.1 nvtx_12.1"
)
set CUDNN_FOLDER=cudnn-windows-x86_64-9.5.0.50_cuda12-archive
set CUDNN_LIB_FOLDER="lib"
set "CUDNN_INSTALL_ZIP=%CUDNN_FOLDER%.zip"
if not exist "%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%" (
curl -k -L "http://s3.amazonaws.com/ossci-windows/%CUDNN_INSTALL_ZIP%" --output "%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%"
if errorlevel 1 exit /b 1
set "CUDNN_SETUP_FILE=%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%"
)
@REM cuDNN 8.3+ required zlib to be installed on the path
echo Installing ZLIB dlls
curl -k -L "http://s3.amazonaws.com/ossci-windows/zlib123dllx64.zip" --output "%SRC_DIR%\temp_build\zlib123dllx64.zip"
7z x "%SRC_DIR%\temp_build\zlib123dllx64.zip" -o"%SRC_DIR%\temp_build\zlib"
xcopy /Y "%SRC_DIR%\temp_build\zlib\dll_x64\*.dll" "C:\Windows\System32"
goto cuda_common
:cuda124
set CUDA_INSTALL_EXE=cuda_12.4.0_551.61_windows.exe
if not exist "%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%" (
curl -k -L "https://ossci-windows.s3.amazonaws.com/%CUDA_INSTALL_EXE%" --output "%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%"
if errorlevel 1 exit /b 1
set "CUDA_SETUP_FILE=%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%"
set "ARGS=cuda_profiler_api_12.4 thrust_12.4 nvcc_12.4 cuobjdump_12.4 nvprune_12.4 nvprof_12.4 cupti_12.4 cublas_12.4 cublas_dev_12.4 cudart_12.4 cufft_12.4 cufft_dev_12.4 curand_12.4 curand_dev_12.4 cusolver_12.4 cusolver_dev_12.4 cusparse_12.4 cusparse_dev_12.4 npp_12.4 npp_dev_12.4 nvrtc_12.4 nvrtc_dev_12.4 nvml_dev_12.4 nvjitlink_12.4 nvtx_12.4"
)
set CUDNN_FOLDER=cudnn-windows-x86_64-9.5.0.50_cuda12-archive
set CUDNN_LIB_FOLDER="lib"
set "CUDNN_INSTALL_ZIP=%CUDNN_FOLDER%.zip"
if not exist "%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%" (
curl -k -L "http://s3.amazonaws.com/ossci-windows/%CUDNN_INSTALL_ZIP%" --output "%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%"
if errorlevel 1 exit /b 1
set "CUDNN_SETUP_FILE=%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%"
)
@REM cuDNN 8.3+ required zlib to be installed on the path
echo Installing ZLIB dlls
curl -k -L "http://s3.amazonaws.com/ossci-windows/zlib123dllx64.zip" --output "%SRC_DIR%\temp_build\zlib123dllx64.zip"
7z x "%SRC_DIR%\temp_build\zlib123dllx64.zip" -o"%SRC_DIR%\temp_build\zlib"
xcopy /Y "%SRC_DIR%\temp_build\zlib\dll_x64\*.dll" "C:\Windows\System32"
goto cuda_common
:cuda126
set CUDA_INSTALL_EXE=cuda_12.6.2_560.94_windows.exe
if not exist "%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%" (
curl -k -L "https://ossci-windows.s3.amazonaws.com/%CUDA_INSTALL_EXE%" --output "%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%"
if errorlevel 1 exit /b 1
set "CUDA_SETUP_FILE=%SRC_DIR%\temp_build\%CUDA_INSTALL_EXE%"
set "ARGS=cuda_profiler_api_12.6 thrust_12.6 nvcc_12.6 cuobjdump_12.6 nvprune_12.6 nvprof_12.6 cupti_12.6 cublas_12.6 cublas_dev_12.6 cudart_12.6 cufft_12.6 cufft_dev_12.6 curand_12.6 curand_dev_12.6 cusolver_12.6 cusolver_dev_12.6 cusparse_12.6 cusparse_dev_12.6 npp_12.6 npp_dev_12.6 nvrtc_12.6 nvrtc_dev_12.6 nvml_dev_12.6 nvjitlink_12.6 nvtx_12.6"
)
set CUDNN_FOLDER=cudnn-windows-x86_64-9.5.0.50_cuda12-archive
set CUDNN_LIB_FOLDER="lib"
set "CUDNN_INSTALL_ZIP=%CUDNN_FOLDER%.zip"
if not exist "%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%" (
curl -k -L "http://s3.amazonaws.com/ossci-windows/%CUDNN_INSTALL_ZIP%" --output "%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%"
if errorlevel 1 exit /b 1
set "CUDNN_SETUP_FILE=%SRC_DIR%\temp_build\%CUDNN_INSTALL_ZIP%"
)
@REM cuDNN 8.3+ required zlib to be installed on the path
echo Installing ZLIB dlls
curl -k -L "http://s3.amazonaws.com/ossci-windows/zlib123dllx64.zip" --output "%SRC_DIR%\temp_build\zlib123dllx64.zip"
7z x "%SRC_DIR%\temp_build\zlib123dllx64.zip" -o"%SRC_DIR%\temp_build\zlib"
xcopy /Y "%SRC_DIR%\temp_build\zlib\dll_x64\*.dll" "C:\Windows\System32"
goto cuda_common
:cuda_common
:: NOTE: We only install CUDA if we don't have it installed already.
:: With GHA runners these should be pre-installed as part of our AMI process
:: If you cannot find the CUDA version you want to build for here then please
:: add it @ https://github.com/pytorch/test-infra/tree/main/aws/ami/windows
if not exist "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%\bin\nvcc.exe" (
if not exist "%SRC_DIR%\temp_build\NvToolsExt.7z" (
curl -k -L https://ossci-windows.s3.us-east-1.amazonaws.com/builder/NvToolsExt.7z --output "%SRC_DIR%\temp_build\NvToolsExt.7z"
if errorlevel 1 exit /b 1
)
if not exist "%SRC_DIR%\temp_build\gpu_driver_dlls.zip" (
curl -k -L "https://ossci-windows.s3.us-east-1.amazonaws.com/builder/additional_dlls.zip" --output "%SRC_DIR%\temp_build\gpu_driver_dlls.zip"
if errorlevel 1 exit /b 1
)
echo Installing CUDA toolkit...
7z x %CUDA_SETUP_FILE% -o"%SRC_DIR%\temp_build\cuda"
pushd "%SRC_DIR%\temp_build\cuda"
sc config wuauserv start= disabled
sc stop wuauserv
sc query wuauserv
start /wait setup.exe -s %ARGS% -loglevel:6 -log:"%cd%/cuda_install_logs"
echo %errorlevel%
popd
echo Installing VS integration...
if "%VC_YEAR%" == "2019" (
xcopy /Y "%SRC_DIR%\temp_build\cuda\CUDAVisualStudioIntegration\extras\visual_studio_integration\MSBuildExtensions\*.*" "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\BuildCustomizations"
)
if "%VC_YEAR%" == "2022" (
xcopy /Y "%SRC_DIR%\temp_build\cuda\CUDAVisualStudioIntegration\extras\visual_studio_integration\MSBuildExtensions\*.*" "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\BuildCustomizations"
)
echo Installing NvToolsExt...
7z x %SRC_DIR%\temp_build\NvToolsExt.7z -o"%SRC_DIR%\temp_build\NvToolsExt"
mkdir "%ProgramFiles%\NVIDIA Corporation\NvToolsExt\bin\x64"
mkdir "%ProgramFiles%\NVIDIA Corporation\NvToolsExt\include"
mkdir "%ProgramFiles%\NVIDIA Corporation\NvToolsExt\lib\x64"
xcopy /Y "%SRC_DIR%\temp_build\NvToolsExt\bin\x64\*.*" "%ProgramFiles%\NVIDIA Corporation\NvToolsExt\bin\x64"
xcopy /Y "%SRC_DIR%\temp_build\NvToolsExt\include\*.*" "%ProgramFiles%\NVIDIA Corporation\NvToolsExt\include"
xcopy /Y "%SRC_DIR%\temp_build\NvToolsExt\lib\x64\*.*" "%ProgramFiles%\NVIDIA Corporation\NvToolsExt\lib\x64"
echo Installing cuDNN...
7z x %CUDNN_SETUP_FILE% -o"%SRC_DIR%\temp_build\cudnn"
xcopy /Y "%SRC_DIR%\temp_build\cudnn\%CUDNN_FOLDER%\bin\*.*" "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%\bin"
xcopy /Y "%SRC_DIR%\temp_build\cudnn\%CUDNN_FOLDER%\%CUDNN_LIB_FOLDER%\*.*" "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%\lib\x64"
xcopy /Y "%SRC_DIR%\temp_build\cudnn\%CUDNN_FOLDER%\include\*.*" "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%\include"
echo Installing GPU driver DLLs
7z x %SRC_DIR%\temp_build\gpu_driver_dlls.zip -o"C:\Windows\System32"
echo Cleaning temp files
rd /s /q "%SRC_DIR%\temp_build" || ver > nul
if not exist "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%\bin\nvcc.exe" (
echo CUDA %CUDA_VERSION_STR% installed failed.
echo --------- setup.exe.log -------
type "%SRC_DIR%\temp_build\cuda\cuda_install_logs\LOG.setup.exe.log"
echo --------- RunDll32.exe.log
type "%SRC_DIR%\temp_build\cuda\cuda_install_logs\LOG.RunDll32.exe.log"
exit /b 1
)
)
goto set_cuda_env_vars
:set_cuda_env_vars
echo Setting up environment...
set "PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%\bin;%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%\libnvvp;%PATH%"
set "CUDA_PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%"
set "CUDA_PATH_V%CUDA_VER_MAJOR%_%CUDA_VER_MINOR%=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%"
set "NVTOOLSEXT_PATH=%ProgramFiles%\NVIDIA Corporation\NvToolsExt"

View file

@ -22,7 +22,7 @@ jobs:
runs-on: windows-2019
strategy:
matrix:
cuda_version: ["126", "124", "118"]
cuda_version: ["128", "126", "124", "118"]
config: ["Release", "Debug"]
env:
CUDA_VERSION: ${{ matrix.cuda_version }}
@ -33,7 +33,7 @@ jobs:
- name: Enable MSVC dev commands to enable cl.exe # FYI incompatible with shell: bash
uses: ilammy/msvc-dev-cmd@dd5e2fa0a7de1e7929605d9ecc020e749d9856a3
- name: Install CUDA Toolkit
run: .github/scripts/windows/cuda_install.bat
run: .ci/pytorch/windows/internal/cuda_install.bat
- name: Build MAGMA and push to S3
run: .github/scripts/windows/build_magma.bat
- name: Save as artifact

387
notes.md Normal file
View file

@ -0,0 +1,387 @@
2014-01-01T08:34:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2014-01-01T18:22:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2014-01-01T19:32:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2014-01-01T05:53:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2014-01-07T18:58:00 - Implementing approach from a new paper read last night (pytorch)
2014-01-07T23:21:00 - Implementing approach from a new paper read last night (pytorch)
2014-01-24T07:05:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2014-01-24T23:53:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2014-01-24T04:16:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2014-01-30T22:47:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2014-02-01T06:23:00 - Refactor for clarity, might break a few tests though (pytorch)
2014-02-01T02:35:00 - Implementing approach from a new paper read last night (pytorch)
2014-02-01T23:18:00 - Refactor for clarity, might break a few tests though (pytorch)
2014-04-03T01:39:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2014-04-03T07:39:00 - Late-night bugfix on financial RL environment (pytorch)
2014-04-03T06:23:00 - Late-night bugfix on financial RL environment (pytorch)
2014-04-03T23:10:00 - Refactor for clarity, might break a few tests though (pytorch)
2014-04-19T04:05:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2014-04-19T06:24:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2014-04-19T00:56:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2014-04-19T07:15:00 - Refactor for clarity, might break a few tests though (pytorch)
2014-04-22T17:59:00 - Implementing approach from a new paper read last night (pytorch)
2014-04-22T08:19:00 - Implementing approach from a new paper read last night (pytorch)
2014-04-22T02:46:00 - Minor doc updates: linking to article on quantization (pytorch)
2014-05-10T02:21:00 - Minor doc updates: linking to article on quantization (pytorch)
2014-05-10T03:47:00 - Late-night bugfix on financial RL environment (pytorch)
2014-05-10T03:54:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2014-05-26T18:49:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2014-05-26T01:20:00 - Late-night bugfix on financial RL environment (pytorch)
2014-06-17T21:15:00 - Implementing approach from a new paper read last night (pytorch)
2014-06-17T02:33:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2014-06-17T03:03:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2014-07-24T17:06:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2014-07-24T18:07:00 - Late-night bugfix on financial RL environment (pytorch)
2014-07-24T17:45:00 - Minor doc updates: linking to article on quantization (pytorch)
2014-08-14T08:37:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2014-08-14T23:15:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2014-08-14T02:24:00 - Implementing approach from a new paper read last night (pytorch)
2014-09-15T07:29:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2014-09-15T04:19:00 - Minor doc updates: linking to article on quantization (pytorch)
2014-09-30T19:25:00 - Minor doc updates: linking to article on quantization (pytorch)
2014-09-30T01:10:00 - Minor doc updates: linking to article on quantization (pytorch)
2014-11-13T17:28:00 - Minor doc updates: linking to article on quantization (pytorch)
2014-11-13T00:38:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2014-11-13T04:22:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2014-12-17T00:05:00 - Minor doc updates: linking to article on quantization (pytorch)
2014-12-17T04:39:00 - Refactor for clarity, might break a few tests though (pytorch)
2014-12-17T04:07:00 - Late-night bugfix on financial RL environment (pytorch)
2015-01-20T23:25:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2015-01-20T21:42:00 - Late-night bugfix on financial RL environment (pytorch)
2015-01-20T18:16:00 - Minor doc updates: linking to article on quantization (pytorch)
2015-02-25T20:10:00 - Late-night bugfix on financial RL environment (pytorch)
2015-02-25T18:43:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2015-02-25T21:29:00 - Minor doc updates: linking to article on quantization (pytorch)
2015-03-18T04:51:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2015-03-29T19:07:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2015-03-29T19:49:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2015-03-29T23:51:00 - Implementing approach from a new paper read last night (pytorch)
2015-09-18T02:22:00 - Late-night bugfix on financial RL environment (pytorch)
2015-09-18T22:58:00 - Implementing approach from a new paper read last night (pytorch)
2015-09-21T08:29:00 - Implementing approach from a new paper read last night (pytorch)
2015-09-21T01:56:00 - Implementing approach from a new paper read last night (pytorch)
2015-10-24T03:41:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2015-10-24T02:26:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2015-10-24T03:46:00 - Implementing approach from a new paper read last night (pytorch)
2015-12-08T03:48:00 - Minor doc updates: linking to article on quantization (pytorch)
2015-12-08T19:24:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2015-12-08T21:12:00 - Refactor for clarity, might break a few tests though (pytorch)
2015-12-08T05:14:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2015-12-20T04:23:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2015-12-20T17:04:00 - Late-night bugfix on financial RL environment (pytorch)
2015-12-20T03:44:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2015-12-20T20:20:00 - Minor doc updates: linking to article on quantization (pytorch)
2016-02-04T21:52:00 - Late-night bugfix on financial RL environment (pytorch)
2016-02-04T04:33:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2016-02-04T23:28:00 - Implementing approach from a new paper read last night (pytorch)
2016-02-04T23:54:00 - Late-night bugfix on financial RL environment (pytorch)
2016-04-26T23:19:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2016-04-26T08:33:00 - Minor doc updates: linking to article on quantization (pytorch)
2016-04-27T04:38:00 - Refactor for clarity, might break a few tests though (pytorch)
2016-08-04T03:37:00 - Minor doc updates: linking to article on quantization (pytorch)
2016-08-04T23:42:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2016-08-04T23:32:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2016-08-04T02:06:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2016-11-17T17:04:00 - Minor doc updates: linking to article on quantization (pytorch)
2016-11-22T23:19:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2016-12-27T20:56:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2016-12-27T01:28:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2016-12-27T02:07:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2016-12-27T01:21:00 - Minor doc updates: linking to article on quantization (pytorch)
2017-01-08T03:46:00 - Implementing approach from a new paper read last night (pytorch)
2017-01-15T17:00:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2017-01-15T03:35:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2017-01-15T05:38:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2017-01-15T22:35:00 - Implementing approach from a new paper read last night (pytorch)
2017-01-25T22:51:00 - Late-night bugfix on financial RL environment (pytorch)
2017-01-25T06:53:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2017-01-25T07:37:00 - Implementing approach from a new paper read last night (pytorch)
2017-01-25T03:18:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2017-02-22T21:56:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2017-02-22T04:16:00 - Refactor for clarity, might break a few tests though (pytorch)
2017-04-25T01:34:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2017-04-25T03:42:00 - Late-night bugfix on financial RL environment (pytorch)
2017-04-25T04:17:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2017-08-02T06:09:00 - Late-night bugfix on financial RL environment (pytorch)
2017-08-02T22:07:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2017-08-05T05:46:00 - Implementing approach from a new paper read last night (pytorch)
2017-08-28T22:00:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2017-10-24T04:13:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2017-10-24T08:57:00 - Minor doc updates: linking to article on quantization (pytorch)
2017-10-24T04:21:00 - Late-night bugfix on financial RL environment (pytorch)
2017-11-18T19:53:00 - Late-night bugfix on financial RL environment (pytorch)
2017-11-25T00:43:00 - Late-night bugfix on financial RL environment (pytorch)
2017-12-02T03:36:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2017-12-02T03:40:00 - Refactor for clarity, might break a few tests though (pytorch)
2017-12-02T17:54:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2017-12-22T21:46:00 - Late-night bugfix on financial RL environment (pytorch)
2018-02-03T21:32:00 - Minor doc updates: linking to article on quantization (pytorch)
2018-02-19T03:32:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2018-02-19T22:55:00 - Late-night bugfix on financial RL environment (pytorch)
2018-02-19T00:19:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2018-02-19T22:30:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2018-02-20T18:41:00 - Refactor for clarity, might break a few tests though (pytorch)
2018-02-20T22:26:00 - Minor doc updates: linking to article on quantization (pytorch)
2018-02-20T07:25:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2018-02-20T17:47:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2018-04-27T21:58:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2018-04-27T21:30:00 - Minor doc updates: linking to article on quantization (pytorch)
2018-06-10T20:39:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2018-06-10T03:20:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2018-06-10T17:33:00 - Refactor for clarity, might break a few tests though (pytorch)
2018-06-10T00:44:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2018-06-17T05:13:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2018-07-03T01:23:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2018-07-03T21:50:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2018-07-03T21:29:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2018-09-20T07:14:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2018-10-25T07:11:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2018-10-25T22:23:00 - Late-night bugfix on financial RL environment (pytorch)
2018-10-25T06:39:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2018-11-14T01:50:00 - Implementing approach from a new paper read last night (pytorch)
2018-11-14T05:21:00 - Late-night bugfix on financial RL environment (pytorch)
2018-11-14T03:18:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2018-11-14T23:58:00 - Refactor for clarity, might break a few tests though (pytorch)
2018-12-16T02:43:00 - Minor doc updates: linking to article on quantization (pytorch)
2018-12-16T20:49:00 - Implementing approach from a new paper read last night (pytorch)
2018-12-16T18:48:00 - Minor doc updates: linking to article on quantization (pytorch)
2018-12-16T00:27:00 - Minor doc updates: linking to article on quantization (pytorch)
2019-01-02T17:12:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2019-01-02T01:30:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2019-01-02T23:01:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2019-01-13T05:16:00 - Minor doc updates: linking to article on quantization (pytorch)
2019-01-13T20:16:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2019-02-25T02:42:00 - Late-night bugfix on financial RL environment (pytorch)
2019-03-03T00:07:00 - Implementing approach from a new paper read last night (pytorch)
2019-03-20T18:03:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2019-03-20T07:23:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2019-06-09T00:07:00 - Refactor for clarity, might break a few tests though (pytorch)
2019-06-09T20:00:00 - Late-night bugfix on financial RL environment (pytorch)
2019-07-28T18:48:00 - Minor doc updates: linking to article on quantization (pytorch)
2019-08-10T04:41:00 - Refactor for clarity, might break a few tests though (pytorch)
2019-08-11T03:11:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2019-08-11T00:13:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2019-08-11T19:17:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2019-08-11T08:42:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2019-08-15T03:49:00 - Implementing approach from a new paper read last night (pytorch)
2019-08-15T18:14:00 - Refactor for clarity, might break a few tests though (pytorch)
2019-08-15T08:18:00 - Minor doc updates: linking to article on quantization (pytorch)
2019-09-11T02:25:00 - Minor doc updates: linking to article on quantization (pytorch)
2019-09-11T07:23:00 - Refactor for clarity, might break a few tests though (pytorch)
2019-10-29T06:48:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2019-10-29T17:11:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2019-10-29T06:53:00 - Implementing approach from a new paper read last night (pytorch)
2019-10-29T08:29:00 - Late-night bugfix on financial RL environment (pytorch)
2019-10-31T06:38:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2019-10-31T06:53:00 - Implementing approach from a new paper read last night (pytorch)
2019-11-09T23:09:00 - Implementing approach from a new paper read last night (pytorch)
2019-11-24T18:24:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2019-11-24T04:31:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2019-11-24T04:17:00 - Minor doc updates: linking to article on quantization (pytorch)
2020-03-09T17:17:00 - Implementing approach from a new paper read last night (pytorch)
2020-03-09T20:25:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2020-03-09T20:36:00 - Late-night bugfix on financial RL environment (pytorch)
2020-03-09T04:27:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2020-03-15T20:26:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2020-03-22T05:13:00 - Minor doc updates: linking to article on quantization (pytorch)
2020-03-22T07:22:00 - Minor doc updates: linking to article on quantization (pytorch)
2020-03-22T23:54:00 - Implementing approach from a new paper read last night (pytorch)
2020-03-22T18:22:00 - Late-night bugfix on financial RL environment (pytorch)
2020-04-06T21:46:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2020-04-06T20:06:00 - Late-night bugfix on financial RL environment (pytorch)
2020-04-06T05:04:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2020-04-06T19:30:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2020-04-09T18:45:00 - Implementing approach from a new paper read last night (pytorch)
2020-04-09T20:59:00 - Implementing approach from a new paper read last night (pytorch)
2020-05-03T04:55:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2020-05-03T05:52:00 - Implementing approach from a new paper read last night (pytorch)
2020-05-03T04:18:00 - Refactor for clarity, might break a few tests though (pytorch)
2020-05-22T19:13:00 - Late-night bugfix on financial RL environment (pytorch)
2020-06-04T07:08:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2020-06-04T00:56:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2020-06-04T06:29:00 - Minor doc updates: linking to article on quantization (pytorch)
2020-06-04T21:17:00 - Late-night bugfix on financial RL environment (pytorch)
2020-06-06T22:09:00 - Implementing approach from a new paper read last night (pytorch)
2020-06-23T08:36:00 - Refactor for clarity, might break a few tests though (pytorch)
2020-06-23T18:38:00 - Late-night bugfix on financial RL environment (pytorch)
2020-07-05T04:10:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2020-07-05T19:20:00 - Late-night bugfix on financial RL environment (pytorch)
2020-07-05T18:22:00 - Late-night bugfix on financial RL environment (pytorch)
2020-09-07T08:06:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2020-09-08T19:15:00 - Minor doc updates: linking to article on quantization (pytorch)
2020-09-11T04:42:00 - Refactor for clarity, might break a few tests though (pytorch)
2020-09-11T02:28:00 - Minor doc updates: linking to article on quantization (pytorch)
2020-10-14T07:57:00 - Refactor for clarity, might break a few tests though (pytorch)
2020-10-14T04:18:00 - Minor doc updates: linking to article on quantization (pytorch)
2020-10-14T07:37:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2020-10-30T22:56:00 - Minor doc updates: linking to article on quantization (pytorch)
2020-10-30T02:10:00 - Implementing approach from a new paper read last night (pytorch)
2020-11-18T20:40:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2020-11-18T04:54:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2020-11-18T07:41:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2020-11-23T07:35:00 - Minor doc updates: linking to article on quantization (pytorch)
2020-11-23T19:54:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2020-11-23T02:12:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2020-12-20T23:21:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2020-12-20T18:00:00 - Implementing approach from a new paper read last night (pytorch)
2020-12-20T18:26:00 - Late-night bugfix on financial RL environment (pytorch)
2021-02-05T22:47:00 - Refactor for clarity, might break a few tests though (pytorch)
2021-02-05T02:20:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2021-02-05T19:48:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2021-02-25T08:58:00 - Late-night bugfix on financial RL environment (pytorch)
2021-02-25T17:07:00 - Refactor for clarity, might break a few tests though (pytorch)
2021-02-25T04:52:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2021-03-07T02:13:00 - Implementing approach from a new paper read last night (pytorch)
2021-03-07T21:14:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2021-03-07T03:59:00 - Minor doc updates: linking to article on quantization (pytorch)
2021-03-07T04:34:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2021-03-09T05:36:00 - Refactor for clarity, might break a few tests though (pytorch)
2021-03-09T21:49:00 - Refactor for clarity, might break a few tests though (pytorch)
2021-03-09T18:27:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2021-03-09T05:50:00 - Minor doc updates: linking to article on quantization (pytorch)
2021-03-26T19:07:00 - Refactor for clarity, might break a few tests though (pytorch)
2021-05-06T00:45:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2021-06-11T05:02:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2021-06-11T04:40:00 - Minor doc updates: linking to article on quantization (pytorch)
2021-07-31T08:45:00 - Late-night bugfix on financial RL environment (pytorch)
2021-08-14T19:06:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2021-08-29T22:40:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2021-08-29T08:04:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2021-08-29T18:44:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2021-09-12T20:55:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2021-09-12T00:14:00 - Late-night bugfix on financial RL environment (pytorch)
2021-09-12T07:41:00 - Implementing approach from a new paper read last night (pytorch)
2021-10-25T21:56:00 - Implementing approach from a new paper read last night (pytorch)
2021-10-25T08:18:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2021-10-25T19:29:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2021-10-29T19:38:00 - Minor doc updates: linking to article on quantization (pytorch)
2021-11-06T02:44:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2021-11-08T03:55:00 - Refactor for clarity, might break a few tests though (pytorch)
2021-11-08T18:07:00 - Late-night bugfix on financial RL environment (pytorch)
2021-11-08T00:23:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2021-11-08T23:05:00 - Implementing approach from a new paper read last night (pytorch)
2021-11-15T08:46:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2021-11-15T02:41:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2021-11-15T08:22:00 - Refactor for clarity, might break a few tests though (pytorch)
2021-11-18T18:09:00 - Implementing approach from a new paper read last night (pytorch)
2021-11-18T19:19:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2021-11-27T07:25:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2021-11-27T01:18:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2021-11-27T06:04:00 - Minor doc updates: linking to article on quantization (pytorch)
2021-11-27T18:24:00 - Late-night bugfix on financial RL environment (pytorch)
2021-12-28T06:08:00 - Late-night bugfix on financial RL environment (pytorch)
2021-12-30T21:26:00 - Late-night bugfix on financial RL environment (pytorch)
2021-12-30T00:13:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2022-02-03T17:51:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2022-02-03T21:15:00 - Refactor for clarity, might break a few tests though (pytorch)
2022-02-03T18:37:00 - Refactor for clarity, might break a few tests though (pytorch)
2022-03-06T20:41:00 - Implementing approach from a new paper read last night (pytorch)
2022-03-06T06:47:00 - Refactor for clarity, might break a few tests though (pytorch)
2022-03-06T20:19:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2022-03-09T19:05:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2022-03-09T07:31:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2022-03-09T21:04:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2022-03-09T05:43:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2022-03-25T17:20:00 - Late-night bugfix on financial RL environment (pytorch)
2022-03-25T00:45:00 - Refactor for clarity, might break a few tests though (pytorch)
2022-03-25T21:07:00 - Late-night bugfix on financial RL environment (pytorch)
2022-04-05T00:37:00 - Minor doc updates: linking to article on quantization (pytorch)
2022-04-05T22:58:00 - Late-night bugfix on financial RL environment (pytorch)
2022-04-05T00:57:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2022-04-09T19:58:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2022-04-09T19:42:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2022-04-09T17:34:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2022-04-09T05:07:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2022-05-15T02:00:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2022-05-15T08:07:00 - Late-night bugfix on financial RL environment (pytorch)
2022-05-31T22:57:00 - Implementing approach from a new paper read last night (pytorch)
2022-05-31T07:15:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2022-05-31T07:24:00 - Late-night bugfix on financial RL environment (pytorch)
2022-06-05T06:15:00 - Implementing approach from a new paper read last night (pytorch)
2022-06-05T07:41:00 - Refactor for clarity, might break a few tests though (pytorch)
2022-06-05T17:44:00 - Implementing approach from a new paper read last night (pytorch)
2022-06-06T08:27:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2022-06-06T19:43:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2022-06-06T23:50:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2022-06-21T22:02:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2022-06-21T02:04:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2022-06-21T03:42:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2022-07-25T22:08:00 - Refactor for clarity, might break a few tests though (pytorch)
2022-07-25T20:35:00 - Implementing approach from a new paper read last night (pytorch)
2022-07-25T22:07:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2022-08-26T23:36:00 - Implementing approach from a new paper read last night (pytorch)
2022-08-26T05:15:00 - Refactor for clarity, might break a few tests though (pytorch)
2022-11-12T00:49:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2022-11-12T23:40:00 - Implementing approach from a new paper read last night (pytorch)
2022-11-12T21:53:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2022-11-12T00:41:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2022-12-05T08:09:00 - Minor doc updates: linking to article on quantization (pytorch)
2022-12-05T18:44:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2022-12-13T21:15:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2022-12-13T22:29:00 - Refactor for clarity, might break a few tests though (pytorch)
2022-12-13T03:31:00 - Minor doc updates: linking to article on quantization (pytorch)
2022-12-13T07:29:00 - Implementing approach from a new paper read last night (pytorch)
2022-12-22T21:48:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2022-12-22T01:19:00 - Minor doc updates: linking to article on quantization (pytorch)
2022-12-22T18:38:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2023-01-18T04:49:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2023-01-18T07:10:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2023-02-15T20:39:00 - Late-night bugfix on financial RL environment (pytorch)
2023-03-21T21:55:00 - Refactor for clarity, might break a few tests though (pytorch)
2023-03-21T01:10:00 - Minor doc updates: linking to article on quantization (pytorch)
2023-03-21T18:09:00 - Late-night bugfix on financial RL environment (pytorch)
2023-03-21T19:10:00 - Implementing approach from a new paper read last night (pytorch)
2023-06-24T06:40:00 - Minor doc updates: linking to article on quantization (pytorch)
2023-06-24T21:17:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2023-06-24T23:24:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2023-06-24T17:59:00 - Implementing approach from a new paper read last night (pytorch)
2023-06-28T03:26:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2023-06-28T08:25:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2023-07-30T00:04:00 - Minor doc updates: linking to article on quantization (pytorch)
2023-10-02T07:42:00 - Late-night bugfix on financial RL environment (pytorch)
2023-10-02T19:59:00 - Refactor for clarity, might break a few tests though (pytorch)
2023-10-02T19:36:00 - Minor doc updates: linking to article on quantization (pytorch)
2023-10-02T05:27:00 - Refactor for clarity, might break a few tests though (pytorch)
2024-01-08T22:34:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2024-01-08T06:44:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2024-01-08T08:46:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2024-02-01T07:18:00 - Late-night bugfix on financial RL environment (pytorch)
2024-02-01T23:24:00 - Late-night bugfix on financial RL environment (pytorch)
2024-02-01T19:39:00 - Late-night bugfix on financial RL environment (pytorch)
2024-02-01T17:49:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2024-03-04T05:22:00 - Implementing approach from a new paper read last night (pytorch)
2024-03-04T21:52:00 - Refactor for clarity, might break a few tests though (pytorch)
2024-01-24T03:33:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2024-01-24T08:02:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2024-01-24T03:17:00 - Late-night bugfix on financial RL environment (pytorch)
2024-03-04T20:30:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2024-03-04T18:48:00 - Minor doc updates: linking to article on quantization (pytorch)
2024-03-04T22:31:00 - Implementing approach from a new paper read last night (pytorch)
2024-03-04T07:55:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2024-06-05T23:31:00 - Minor doc updates: linking to article on quantization (pytorch)
2024-06-05T04:59:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2024-06-05T17:16:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2024-06-05T07:10:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2024-06-07T07:24:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2024-07-10T03:09:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2024-07-20T07:01:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2024-07-20T22:50:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2024-07-20T04:05:00 - Implementing approach from a new paper read last night (pytorch)
2024-07-20T17:10:00 - Refactor for clarity, might break a few tests though (pytorch)
2024-07-21T23:29:00 - Implementing approach from a new paper read last night (pytorch)
2024-07-21T00:51:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2024-09-20T01:01:00 - Refactor for clarity, might break a few tests though (pytorch)
2024-09-20T18:01:00 - Quick fix, referencing a known issue from the official repo (pytorch)
2024-09-29T02:56:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2024-09-29T07:14:00 - Late-night bugfix on financial RL environment (pytorch)
2024-09-29T01:49:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2024-10-27T22:01:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2024-10-27T18:58:00 - Implementing approach from a new paper read last night (pytorch)
2024-11-14T20:01:00 - Trying out boneh-franklin approach for IBE (ref. 2003 paper) (pytorch)
2024-11-14T22:28:00 - Testing bigger LLM config, referencing 'Attention Is All You Need' (pytorch)
2024-11-14T04:25:00 - Implementing approach from a new paper read last night (pytorch)
2024-11-14T19:10:00 - Implementing approach from a new paper read last night (pytorch)
2024-11-23T23:51:00 - Minor doc updates: linking to article on quantization (pytorch)
2024-12-23T18:44:00 - Minor doc updates: linking to article on quantization (pytorch)
2024-12-23T08:16:00 - Experimenting with FPGA constraints (source: Trimberger 'Three Ages of FPGAs') (pytorch)
2024-12-23T03:50:00 - Implementing approach from a new paper read last night (pytorch)

View file

@ -0,0 +1,39 @@
# flake8: noqa
from typing import Any
from typing_extensions import assert_type
from torch import randn, Tensor
# See ../pass/arithmetic_ops.py for more information
TENSOR, INT, FLOAT = randn(3), 2, 1.5
assert_type(
INT & TENSOR, # E: Unsupported operand types for & ("int" and "Tensor") [operator]
Any,
)
assert_type(
INT | TENSOR, # E: Unsupported operand types for | ("int" and "Tensor") [operator]
Any,
)
assert_type(
INT ^ TENSOR, # E: Unsupported operand types for ^ ("int" and "Tensor") [operator]
Any,
)
assert_type(
FLOAT # E: Unsupported operand types for & ("float" and "Tensor") [operator]
& TENSOR,
Tensor,
)
assert_type(
FLOAT # E: Unsupported operand types for | ("float" and "Tensor") [operator]
| TENSOR,
Tensor,
)
assert_type(
FLOAT # E: Unsupported operand types for ^ ("float" and "Tensor") [operator]
^ TENSOR,
Tensor,
)

View file

@ -0,0 +1,423 @@
from typing import Any, Union
from typing_extensions import assert_type, TypeAlias
from torch import randn, Tensor
TENSOR, INT, FLOAT, BOOL = randn(3), 2, 1.5, True
# Test deduced types of arithmetic operations between tensors, ints, floats and bools
# The expected type should always be `Tensor`: `Any` and `bool` below are wrong.
# See https://github.com/pytorch/pytorch/issues/145838
# Unary ops
assert_type(+TENSOR, Tensor)
assert_type(-TENSOR, Tensor)
assert_type(~TENSOR, Tensor)
# Binary ops
assert_type(TENSOR == TENSOR, Tensor)
assert_type(TENSOR != TENSOR, Tensor)
assert_type(TENSOR < TENSOR, Tensor)
assert_type(TENSOR > TENSOR, Tensor)
assert_type(TENSOR <= TENSOR, Tensor)
assert_type(TENSOR >= TENSOR, Tensor)
assert_type(TENSOR + TENSOR, Tensor)
assert_type(TENSOR - TENSOR, Tensor)
assert_type(TENSOR * TENSOR, Tensor)
assert_type(TENSOR // TENSOR, Any)
assert_type(TENSOR / TENSOR, Tensor)
assert_type(TENSOR % TENSOR, Tensor)
assert_type(TENSOR**TENSOR, Any)
assert_type(TENSOR << TENSOR, Tensor)
assert_type(TENSOR >> TENSOR, Tensor)
assert_type(TENSOR & TENSOR, Tensor)
assert_type(TENSOR | TENSOR, Tensor)
assert_type(TENSOR ^ TENSOR, Tensor)
assert_type(TENSOR == BOOL, Tensor)
assert_type(TENSOR != BOOL, Tensor)
assert_type(TENSOR < BOOL, Tensor)
assert_type(TENSOR > BOOL, Tensor)
assert_type(TENSOR <= BOOL, Tensor)
assert_type(TENSOR >= BOOL, Tensor)
assert_type(TENSOR + BOOL, Tensor)
assert_type(TENSOR - BOOL, Tensor)
assert_type(TENSOR * BOOL, Tensor)
assert_type(TENSOR // BOOL, Any)
assert_type(TENSOR / BOOL, Tensor)
assert_type(TENSOR % BOOL, Tensor)
assert_type(TENSOR**BOOL, Any)
assert_type(TENSOR << BOOL, Tensor)
assert_type(TENSOR >> BOOL, Tensor)
assert_type(TENSOR & BOOL, Tensor)
assert_type(TENSOR | BOOL, Tensor)
assert_type(TENSOR ^ BOOL, Tensor)
assert_type(BOOL == TENSOR, bool)
assert_type(BOOL != TENSOR, bool)
assert_type(BOOL < TENSOR, Tensor)
assert_type(BOOL > TENSOR, Tensor)
assert_type(BOOL <= TENSOR, Tensor)
assert_type(BOOL >= TENSOR, Tensor)
assert_type(BOOL + TENSOR, Tensor)
assert_type(BOOL - TENSOR, Any)
assert_type(BOOL * TENSOR, Tensor)
assert_type(BOOL // TENSOR, Any)
assert_type(BOOL / TENSOR, Any)
assert_type(BOOL % TENSOR, Any)
assert_type(BOOL**TENSOR, Any)
assert_type(BOOL << TENSOR, Any)
assert_type(BOOL >> TENSOR, Any)
assert_type(BOOL & TENSOR, Tensor)
assert_type(BOOL | TENSOR, Tensor)
assert_type(BOOL ^ TENSOR, Tensor)
assert_type(TENSOR == INT, Tensor)
assert_type(TENSOR != INT, Tensor)
assert_type(TENSOR < INT, Tensor)
assert_type(TENSOR > INT, Tensor)
assert_type(TENSOR <= INT, Tensor)
assert_type(TENSOR >= INT, Tensor)
assert_type(TENSOR + INT, Tensor)
assert_type(TENSOR - INT, Tensor)
assert_type(TENSOR * INT, Tensor)
assert_type(TENSOR // INT, Any)
assert_type(TENSOR / INT, Tensor)
assert_type(TENSOR % INT, Tensor)
assert_type(TENSOR**INT, Any)
assert_type(TENSOR << INT, Tensor)
assert_type(TENSOR >> INT, Tensor)
assert_type(TENSOR & INT, Tensor)
assert_type(TENSOR | INT, Tensor)
assert_type(TENSOR ^ INT, Tensor)
assert_type(INT == TENSOR, bool)
assert_type(INT != TENSOR, bool)
assert_type(INT < TENSOR, Tensor)
assert_type(INT > TENSOR, Tensor)
assert_type(INT <= TENSOR, Tensor)
assert_type(INT >= TENSOR, Tensor)
assert_type(INT + TENSOR, Tensor)
assert_type(INT - TENSOR, Any)
assert_type(INT * TENSOR, Tensor)
assert_type(INT // TENSOR, Any)
assert_type(INT / TENSOR, Any)
assert_type(INT % TENSOR, Any)
assert_type(INT**TENSOR, Any)
assert_type(INT << TENSOR, Any)
assert_type(INT >> TENSOR, Any)
assert_type(INT & TENSOR, Any) # type: ignore[operator]
assert_type(INT | TENSOR, Any) # type: ignore[operator]
assert_type(INT ^ TENSOR, Any) # type: ignore[operator]
assert_type(TENSOR == FLOAT, Tensor)
assert_type(TENSOR != FLOAT, Tensor)
assert_type(TENSOR < FLOAT, Tensor)
assert_type(TENSOR > FLOAT, Tensor)
assert_type(TENSOR <= FLOAT, Tensor)
assert_type(TENSOR >= FLOAT, Tensor)
assert_type(TENSOR + FLOAT, Tensor)
assert_type(TENSOR - FLOAT, Tensor)
assert_type(TENSOR * FLOAT, Tensor)
assert_type(TENSOR // FLOAT, Any)
assert_type(TENSOR / FLOAT, Tensor)
assert_type(TENSOR % FLOAT, Tensor)
assert_type(TENSOR**FLOAT, Any)
assert_type(TENSOR << FLOAT, Tensor)
assert_type(TENSOR >> FLOAT, Tensor)
assert_type(TENSOR & FLOAT, Tensor)
assert_type(TENSOR | FLOAT, Tensor)
assert_type(TENSOR ^ FLOAT, Tensor)
assert_type(FLOAT == TENSOR, bool)
assert_type(FLOAT != TENSOR, bool)
assert_type(FLOAT < TENSOR, Tensor)
assert_type(FLOAT > TENSOR, Tensor)
assert_type(FLOAT <= TENSOR, Tensor)
assert_type(FLOAT >= TENSOR, Tensor)
assert_type(FLOAT + TENSOR, Tensor)
assert_type(FLOAT - TENSOR, Any)
assert_type(FLOAT * TENSOR, Tensor)
assert_type(FLOAT // TENSOR, Any)
assert_type(FLOAT / TENSOR, Any)
assert_type(FLOAT % TENSOR, Any)
assert_type(FLOAT**TENSOR, Any)
assert_type(FLOAT << TENSOR, Any)
assert_type(FLOAT >> TENSOR, Any)
assert_type(FLOAT & TENSOR, Tensor) # type: ignore[operator]
assert_type(FLOAT | TENSOR, Tensor) # type: ignore[operator]
assert_type(FLOAT ^ TENSOR, Tensor) # type: ignore[operator]
NUMBER: TypeAlias = Union[int, float, bool]
class Binary:
"""
This class demonstrates what is possible by overriding every magic method
relating to binary operations.
"""
def __add__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __and__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __div__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __eq__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __floordiv__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __ge__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __gt__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __le__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __lshift__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __lt__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __mod__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __mul__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __ne__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __or__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __pow__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __radd__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rand__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rdiv__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rfloordiv__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rlshift__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rmod__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rmul__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __ror__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rpow__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rrshift__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rshift__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rsub__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rtruediv__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __rxor__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __sub__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __truediv__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
def __xor__(self, other: NUMBER) -> "Binary": # type: ignore[override]
return self
BINARY = Binary()
assert_type(BINARY + INT, Binary)
assert_type(BINARY & INT, Binary)
assert_type(BINARY / INT, Binary)
assert_type(BINARY == INT, Binary)
assert_type(BINARY // INT, Binary)
assert_type(BINARY >= INT, Binary)
assert_type(BINARY > INT, Binary)
assert_type(BINARY <= INT, Binary)
assert_type(BINARY << INT, Binary)
assert_type(BINARY < INT, Binary)
assert_type(BINARY % INT, Binary)
assert_type(BINARY * INT, Binary)
assert_type(BINARY != INT, Binary)
assert_type(BINARY | INT, Binary)
assert_type(BINARY**INT, Binary)
assert_type(BINARY >> INT, Binary)
assert_type(BINARY - INT, Binary)
assert_type(BINARY ^ INT, Binary)
assert_type(INT + BINARY, Binary)
assert_type(INT & BINARY, Binary)
assert_type(INT / BINARY, Binary)
assert_type(INT == BINARY, bool)
assert_type(INT // BINARY, Binary)
assert_type(INT >= BINARY, Binary)
assert_type(INT > BINARY, Binary)
assert_type(INT <= BINARY, Binary)
assert_type(INT << BINARY, Binary)
assert_type(INT < BINARY, Binary)
assert_type(INT % BINARY, Binary)
assert_type(INT * BINARY, Binary)
assert_type(INT != BINARY, bool)
assert_type(INT | BINARY, Binary)
assert_type(INT**BINARY, Binary)
assert_type(INT >> BINARY, Binary)
assert_type(INT - BINARY, Binary)
assert_type(INT ^ BINARY, Binary)
assert_type(BINARY + FLOAT, Binary)
assert_type(BINARY & FLOAT, Binary)
assert_type(BINARY / FLOAT, Binary)
assert_type(BINARY == FLOAT, Binary)
assert_type(BINARY // FLOAT, Binary)
assert_type(BINARY >= FLOAT, Binary)
assert_type(BINARY > FLOAT, Binary)
assert_type(BINARY <= FLOAT, Binary)
assert_type(BINARY << FLOAT, Binary)
assert_type(BINARY < FLOAT, Binary)
assert_type(BINARY % FLOAT, Binary)
assert_type(BINARY * FLOAT, Binary)
assert_type(BINARY != FLOAT, Binary)
assert_type(BINARY | FLOAT, Binary)
assert_type(BINARY**FLOAT, Binary)
assert_type(BINARY >> FLOAT, Binary)
assert_type(BINARY - FLOAT, Binary)
assert_type(BINARY ^ FLOAT, Binary)
assert_type(FLOAT + BINARY, Binary)
assert_type(FLOAT & BINARY, Binary)
assert_type(FLOAT / BINARY, Binary)
assert_type(FLOAT == BINARY, bool)
assert_type(FLOAT // BINARY, Binary)
assert_type(FLOAT >= BINARY, Binary)
assert_type(FLOAT > BINARY, Binary)
assert_type(FLOAT <= BINARY, Binary)
assert_type(FLOAT << BINARY, Binary)
assert_type(FLOAT < BINARY, Binary)
assert_type(FLOAT % BINARY, Binary)
assert_type(FLOAT * BINARY, Binary)
assert_type(FLOAT != BINARY, bool)
assert_type(FLOAT | BINARY, Binary)
assert_type(FLOAT**BINARY, Binary)
assert_type(FLOAT >> BINARY, Binary)
assert_type(FLOAT - BINARY, Binary)
assert_type(FLOAT ^ BINARY, Binary)
assert_type(BINARY + BOOL, Binary)
assert_type(BINARY & BOOL, Binary)
assert_type(BINARY / BOOL, Binary)
assert_type(BINARY == BOOL, Binary)
assert_type(BINARY // BOOL, Binary)
assert_type(BINARY >= BOOL, Binary)
assert_type(BINARY > BOOL, Binary)
assert_type(BINARY <= BOOL, Binary)
assert_type(BINARY << BOOL, Binary)
assert_type(BINARY < BOOL, Binary)
assert_type(BINARY % BOOL, Binary)
assert_type(BINARY * BOOL, Binary)
assert_type(BINARY != BOOL, Binary)
assert_type(BINARY | BOOL, Binary)
assert_type(BINARY**BOOL, Binary)
assert_type(BINARY >> BOOL, Binary)
assert_type(BINARY - BOOL, Binary)
assert_type(BINARY ^ BOOL, Binary)
assert_type(BOOL + BINARY, Binary)
assert_type(BOOL & BINARY, Binary)
assert_type(BOOL / BINARY, Binary)
assert_type(BOOL == BINARY, bool)
assert_type(BOOL // BINARY, Binary)
assert_type(BOOL >= BINARY, Binary)
assert_type(BOOL > BINARY, Binary)
assert_type(BOOL <= BINARY, Binary)
assert_type(BOOL << BINARY, Binary)
assert_type(BOOL < BINARY, Binary)
assert_type(BOOL % BINARY, Binary)
assert_type(BOOL * BINARY, Binary)
assert_type(BOOL != BINARY, bool)
assert_type(BOOL | BINARY, Binary)
assert_type(BOOL**BINARY, Binary)
assert_type(BOOL >> BINARY, Binary)
assert_type(BOOL - BINARY, Binary)
assert_type(BOOL ^ BINARY, Binary)
# Tensor operators whose types could be improved
# This is the "diff" of the first and second sections.
assert_type(BOOL // TENSOR, Any)
assert_type(FLOAT // TENSOR, Any)
assert_type(INT // TENSOR, Any)
assert_type(TENSOR // BOOL, Any)
assert_type(TENSOR // FLOAT, Any)
assert_type(TENSOR // INT, Any)
assert_type(TENSOR // TENSOR, Any)
assert_type(BOOL**TENSOR, Any)
assert_type(FLOAT**TENSOR, Any)
assert_type(INT**TENSOR, Any)
assert_type(TENSOR**BOOL, Any)
assert_type(TENSOR**FLOAT, Any)
assert_type(TENSOR**INT, Any)
assert_type(TENSOR**TENSOR, Any)
assert_type(BOOL - TENSOR, Any)
assert_type(FLOAT - TENSOR, Any)
assert_type(INT - TENSOR, Any)
assert_type(BOOL / TENSOR, Any)
assert_type(FLOAT / TENSOR, Any)
assert_type(INT / TENSOR, Any)
assert_type(BOOL % TENSOR, Any)
assert_type(FLOAT % TENSOR, Any)
assert_type(INT % TENSOR, Any)
assert_type(BOOL << TENSOR, Any)
assert_type(FLOAT << TENSOR, Any)
assert_type(INT << TENSOR, Any)
assert_type(BOOL >> TENSOR, Any)
assert_type(FLOAT >> TENSOR, Any)
assert_type(INT >> TENSOR, Any)
assert_type(FLOAT & TENSOR, Tensor) # type: ignore[operator]
assert_type(INT & TENSOR, Any) # type: ignore[operator]
assert_type(FLOAT | TENSOR, Tensor) # type: ignore[operator]
assert_type(INT | TENSOR, Any) # type: ignore[operator]
assert_type(FLOAT ^ TENSOR, Tensor) # type: ignore[operator]
assert_type(INT ^ TENSOR, Any) # type: ignore[operator]