Skip to content

Commit 814b41a

Browse files
authored
Merge pull request #74 from georgian-io/toolkit
Toolkit Environment Management
2 parents 55116dd + 07fb644 commit 814b41a

File tree

6 files changed

+6974
-44
lines changed

6 files changed

+6974
-44
lines changed

.dockerignore

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# .git
2+
3+
# exlcude temp folder
4+
temp
5+
6+
# exclude data files
7+
data/ucr/*
8+
9+
# Jupyter
10+
*.bundle.*
11+
lib/
12+
node_modules/
13+
*.egg-info/
14+
.ipynb_checkpoints
15+
.ipynb_checkpoints/
16+
*.tsbuildinfo
17+
18+
# IDE
19+
.vscode
20+
.vscode/*
21+
22+
#Cython
23+
*.pyc
24+
25+
# Packages
26+
*.egg
27+
!/tests/**/*.egg
28+
/*.egg-info
29+
/dist/*
30+
build
31+
_build
32+
.cache
33+
*.so
34+
35+
# Installer logs
36+
pip-log.txt
37+
38+
# Unit test / coverage reports
39+
.coverage
40+
.tox
41+
.pytest_cache
42+
43+
.DS_Store
44+
.idea/*
45+
.python-version
46+
.vscode/*
47+
48+
/test.py
49+
/test_*.*
50+
51+
/setup.cfg
52+
MANIFEST.in
53+
/docs/site/*
54+
/tests/fixtures/simple_project/setup.py
55+
/tests/fixtures/project_with_extras/setup.py
56+
.mypy_cache
57+
58+
.venv
59+
/releases/*
60+
pip-wheel-metadata
61+
/poetry.toml
62+
63+
poetry/core/*
64+
65+
# Logs
66+
log.txt
67+
logs
68+
/logs/*

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM nvidia/cuda:12.1.0-cudnn8-devel-ubuntu20.04
2+
RUN apt-get update && \
3+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends git curl software-properties-common && \
4+
add-apt-repository ppa:deadsnakes/ppa && apt-get update && apt install -y python3.10 python3.10-distutils && \
5+
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10
6+
7+
8+
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 && \
9+
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2 && \
10+
update-alternatives --auto python3
11+
12+
RUN export CUDA_HOME=/usr/local/cuda/
13+
14+
COPY . /home/llm-finetuning-hub
15+
WORKDIR /home/llm-finetuning-hub
16+
RUN pip3 install --no-cache-dir -r ./requirements.txt

LICENSE

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -175,18 +175,8 @@
175175

176176
END OF TERMS AND CONDITIONS
177177

178-
APPENDIX: How to apply the Apache License to your work.
179-
180-
To apply the Apache License to your work, attach the following
181-
boilerplate notice, with the fields enclosed by brackets "[]"
182-
replaced with your own identifying information. (Don't include
183-
the brackets!) The text should be enclosed in the appropriate
184-
comment syntax for the file format. We also recommend that a
185-
file or class name and description of purpose be included on the
186-
same "printed page" as the copyright notice for easier
187-
identification within third-party archives.
188-
189-
Copyright [yyyy] [name of copyright owner]
178+
179+
Copyright 2024 Georgian Partners
190180

191181
Licensed under the Apache License, Version 2.0 (the "License");
192182
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)