Eric Bower
·
2025-12-13
a_c_multi_file_change.patch
1From 33c682ac27479f501924cf159d0a75ad91deb589 Mon Sep 17 00:00:00 2001
2From: Eric Bower <me@erock.io>
3Date: Tue, 23 Jul 2024 10:07:57 -0400
4Subject: [PATCH 1/2] 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--
302.45.2
31
32
33From bbccdd1259c34a166d5a9335ebe5236e79541cc63 Mon Sep 17 00:00:00 2001
34From: Eric Bower <me@erock.io>
35Date: Tue, 23 Jul 2024 10:14:37 -0400
36Subject: [PATCH 2/2] docs: update readme and add contributing guide
37
38---
39 README.md | 4 +++-
40 CONTRIBUTING.md | 5 +++++
41 LICENSE.md | 3 +++
42 3 files changed, 11 insertions(+), 1 deletion(-)
43 create mode 100644 CONTRIBUTING.md
44 create mode 100644 LICENSE.md
45
46diff --git a/README.md b/README.md
47index 8f3a780..3043953 100644
48--- a/README.md
49+++ b/README.md
50@@ -1,3 +1,5 @@
51 # Let's build an RNN
52
53-This repo demonstrates building an RNN using `pytorch`
54+This repo demonstrates building an RNN using `pytorch`.
55+
56+Here is some more readme information.
57diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
58new file mode 100644
59index 0000000..1234567
60--- /dev/null
61+++ b/CONTRIBUTING.md
62@@ -0,0 +1,5 @@
63+# Contributing
64+
65+1. Fork the repo
66+2. Make changes
67+3. Submit a PR
68diff --git a/LICENSE.md b/LICENSE.md
69new file mode 100644
70index 0000000..7654321
71--- /dev/null
72+++ b/LICENSE.md
73@@ -0,0 +1,3 @@
74+# MIT License
75+
76+Copyright 2024
77--
782.45.2