anonderpling
commited on
Commit
•
e796698
1
Parent(s):
49b2688
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Just wheels for the horde colab, built natively
|
2 |
+
Dunno why I even did this, tbh, when most of the processing is on the gpu...
|
3 |
+
I was *trying* to cross-compile build native packages with similar optimizations for my tablet, but I can't figure it out. Cross compiling is a pitfa.
|
4 |
+
|
5 |
+
```
|
6 |
+
%cd /content/
|
7 |
+
!rm -rf /content/AI-Horde-Worker /content/pip
|
8 |
+
!git clone https://github.com/db0/AI-Horde-Worker.git
|
9 |
+
%cd /content/AI-Horde-Worker
|
10 |
+
#!apt install nano aria2 libcairo2-dev libjpeg-dev libgif-dev htop llvm clang
|
11 |
+
!CFLAGS='-mtune=native -march=native -mcpu=native O3 -g -DNDEBUG' MAX_JOBS=4 pip wheel -r requirements.txt --wheel-dir=/content/pip
|
12 |
+
!CFLAGS='-mtune=native -march=native -mcpu=native O3 -g -DNDEBUG' MAX_JOBS=4 pip install -r requirements.txt --no-index --find-links /content/pip
|
13 |
+
```
|
14 |
+
|
15 |
+
That's it. It really does depend on the colab machines being exactly the same.
|