Eric Bower
·
2024-07-23
a_c.patch
1From 166848469e0b954c2e14233233f3824a46dcddb8 Mon Sep 17 00:00:00 2001
2From: Eric Bower <me@erock.io>
3Date: Tue, 23 Jul 2024 10:06:00 -0400
4Subject: [PATCH] chore: add torch and create random tensor
5
6---
7 requirements.txt | 1 +
8 train.py | 3 +++
9 2 files changed, 4 insertions(+)
10 create mode 100644 requirements.txt
11
12diff --git a/requirements.txt b/requirements.txt
13new file mode 100644
14index 0000000..4968a39
15--- /dev/null
16+++ b/requirements.txt
17@@ -0,0 +1 @@
18+torch==2.3.1
19diff --git a/train.py b/train.py
20index 5c027f4..d21dac3 100644
21--- a/train.py
22+++ b/train.py
23@@ -1,2 +1,5 @@
24+import torch
25+
26 if __name__ == "__main__":
27 print("train!")
28+ torch.rand(3,6)
29
30base-commit: 59456574a0bfee9f71c91c13046173c820152346
31--
322.45.2
33