From 4f72eb823ca5d084c3546cedb37ee8b71af0faec Mon Sep 17 00:00:00 2001
From: Hey <18427051+Hey@users.noreply.github.com>
Date: Wed, 12 Jul 2023 08:14:19 +0200
Subject: [PATCH] Outdated repository URL (#1218)
* Update outdated repo url
* Update more outdated repo url's
---
README.md | 16 ++++++++--------
examples/efficientnet.py | 2 +-
examples/yolov8.py | 4 ++--
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index 3456c051a6..cc4487935b 100644
--- a/README.md
+++ b/README.md
@@ -1,19 +1,19 @@
-[](https://tinygrad.org)
+[](https://tinygrad.org)
tinygrad: For something between [PyTorch](https://github.com/pytorch/pytorch) and [karpathy/micrograd](https://github.com/karpathy/micrograd). Maintained by [tiny corp](https://tinygrad.org).
-[Homepage](https://github.com/geohot/tinygrad) | [Documentation](/docs) | [Examples](/examples) | [Showcase](/docs/showcase.md) | [Discord](https://discord.gg/ZjZadyC7PK)
+[Homepage](https://github.com/tinygrad/tinygrad) | [Documentation](/docs) | [Examples](/examples) | [Showcase](/docs/showcase.md) | [Discord](https://discord.gg/ZjZadyC7PK)
-[](https://github.com/geohot/tinygrad/stargazers)
-[](https://github.com/geohot/tinygrad/actions/workflows/test.yml)
+[](https://github.com/tinygrad/tinygrad/stargazers)
+[](https://github.com/tinygrad/tinygrad/actions/workflows/test.yml)
[](https://discord.gg/ZjZadyC7PK)
-[](https://github.com/geohot/tinygrad)
+[](https://github.com/tinygrad/tinygrad)
@@ -98,7 +98,7 @@ The current recommended way to install tinygrad is from source.
### From source
```sh
-git clone https://github.com/geohot/tinygrad.git
+git clone https://github.com/tinygrad/tinygrad.git
cd tinygrad
python3 -m pip install -e .
```
@@ -139,9 +139,9 @@ print(y.grad.numpy()) # dz/dy
There has been a lot of interest in tinygrad lately. Here are some basic guidelines for contributing:
-- Bug fixes are the best and always welcome! Like [this one](https://github.com/geohot/tinygrad/pull/421/files).
+- Bug fixes are the best and always welcome! Like [this one](https://github.com/tinygrad/tinygrad/pull/421/files).
- If you don't understand the code you are changing, don't change it!
-- All code golf PRs will be closed, but [conceptual cleanups](https://github.com/geohot/tinygrad/pull/372/files) are great.
+- All code golf PRs will be closed, but [conceptual cleanups](https://github.com/tinygrad/tinygrad/pull/372/files) are great.
- Features are welcome. Though if you are adding a feature, you need to include tests.
- Improving test coverage is great, with reliable non-brittle tests.
diff --git a/examples/efficientnet.py b/examples/efficientnet.py
index adb1af3294..412814c76d 100644
--- a/examples/efficientnet.py
+++ b/examples/efficientnet.py
@@ -65,7 +65,7 @@ if __name__ == "__main__":
lbls = ast.literal_eval(lbls.decode('utf-8'))
# load image and preprocess
- url = sys.argv[1] if len(sys.argv) >= 2 else "https://raw.githubusercontent.com/geohot/tinygrad/master/docs/showcase/stable_diffusion_by_tinygrad.jpg"
+ url = sys.argv[1] if len(sys.argv) >= 2 else "https://raw.githubusercontent.com/tinygrad/tinygrad/master/docs/showcase/stable_diffusion_by_tinygrad.jpg"
if url == 'webcam':
cap = cv2.VideoCapture(0)
cap.set(cv2.CAP_PROP_BUFFERSIZE, 1)
diff --git a/examples/yolov8.py b/examples/yolov8.py
index 8442a3553b..cad1338c5d 100644
--- a/examples/yolov8.py
+++ b/examples/yolov8.py
@@ -12,7 +12,7 @@ from tinygrad.state import safe_load, load_state_dict
#Model architecture from https://github.com/ultralytics/ultralytics/issues/189
-#The upsampling class has been taken from this pull request https://github.com/geohot/tinygrad/pull/784 by dc-dc-dc. Now 2(?) models use upsampling. (retinet and this)
+#The upsampling class has been taken from this pull request https://github.com/tinygrad/tinygrad/pull/784 by dc-dc-dc. Now 2(?) models use upsampling. (retinet and this)
#Pre processing image functions.
def compute_transform(image, new_shape=(640, 640), auto=False, scaleFill=False, scaleup=True, stride=32):
@@ -232,7 +232,7 @@ def label_predictions(all_predictions):
return dict(class_index_count)
-#this is taken from https://github.com/geohot/tinygrad/pull/784/files by dc-dc-dc (Now 2 models use upsampling)
+#this is taken from https://github.com/tinygrad/tinygrad/pull/784/files by dc-dc-dc (Now 2 models use upsampling)
class Upsample:
def __init__(self, scale_factor:int, mode: str = "nearest") -> None:
assert mode == "nearest" # only mode supported for now