Spaces:
Paused
Paused
alessandro trinca tornidor
commited on
Commit
·
c30ac9a
1
Parent(s):
5aa8e1e
[ci] add support for python 3.11, bump to version 1.1.0
Browse files- .idea/lisa-on-gpu.iml +0 -20
- .idea/misc.xml +1 -4
- .idea/modules.xml +0 -8
- .idea/snyk.project.settings.xml +0 -6
- Dockerfile +1 -1
- poetry.lock +0 -0
- pyproject.toml +10 -3
.idea/lisa-on-gpu.iml
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<module type="PYTHON_MODULE" version="4">
|
3 |
-
<component name="NewModuleRootManager">
|
4 |
-
<content url="file://$MODULE_DIR$">
|
5 |
-
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
6 |
-
</content>
|
7 |
-
<orderEntry type="jdk" jdkName="Python 3.10 (lisa_on_cuda)" jdkType="Python SDK" />
|
8 |
-
<orderEntry type="sourceFolder" forTests="false" />
|
9 |
-
</component>
|
10 |
-
<component name="PyDocumentationSettings">
|
11 |
-
<option name="format" value="PLAIN" />
|
12 |
-
<option name="myDocStringFormat" value="Plain" />
|
13 |
-
</component>
|
14 |
-
<component name="SonarLintModuleSettings">
|
15 |
-
<option name="uniqueId" value="ed594435-188a-451a-aecf-2b12d92c3491" />
|
16 |
-
</component>
|
17 |
-
<component name="TestRunnerService">
|
18 |
-
<option name="PROJECT_TEST_RUNNER" value="py.test" />
|
19 |
-
</component>
|
20 |
-
</module>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/misc.xml
CHANGED
@@ -1,7 +1,4 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<project version="4">
|
3 |
-
<component name="
|
4 |
-
<option name="sdkName" value="Python 3.10 (lisa-on-gpu)" />
|
5 |
-
</component>
|
6 |
-
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (lisa_on_cuda)" project-jdk-type="Python SDK" />
|
7 |
</project>
|
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<project version="4">
|
3 |
+
<component name="ProjectRootManager" version="2" project-jdk-name="Poetry (samgis_core) (2)" project-jdk-type="Python SDK" />
|
|
|
|
|
|
|
4 |
</project>
|
.idea/modules.xml
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<project version="4">
|
3 |
-
<component name="ProjectModuleManager">
|
4 |
-
<modules>
|
5 |
-
<module fileurl="file://$PROJECT_DIR$/.idea/lisa-on-gpu.iml" filepath="$PROJECT_DIR$/.idea/lisa-on-gpu.iml" />
|
6 |
-
</modules>
|
7 |
-
</component>
|
8 |
-
</project>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.idea/snyk.project.settings.xml
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<project version="4">
|
3 |
-
<component name="SnykProjectSettingsState">
|
4 |
-
<option name="additionalParameters" value="" />
|
5 |
-
</component>
|
6 |
-
</project>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM nvcr.io/nvidia/pytorch:24.
|
2 |
|
3 |
LABEL authors="alessandro@trinca.tornidor.com"
|
4 |
|
|
|
1 |
+
FROM nvcr.io/nvidia/pytorch:24.03-py3
|
2 |
|
3 |
LABEL authors="alessandro@trinca.tornidor.com"
|
4 |
|
poetry.lock
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
pyproject.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
[tool.poetry]
|
2 |
name = "lisa-on-cuda"
|
3 |
-
version = "1.0
|
4 |
description = ""
|
5 |
authors = ["alessandro trinca tornidor <alessandro@trinca.tornidor.com>"]
|
6 |
license = "Apache 2.0"
|
@@ -10,15 +10,18 @@ readme = "README.md"
|
|
10 |
name = "lisa-on-cuda"
|
11 |
version = "1.0.6"
|
12 |
|
|
|
|
|
|
|
|
|
13 |
[tool.poetry.dependencies]
|
14 |
-
python = "
|
15 |
einops = "^0.7.0"
|
16 |
fastapi = "^0.110.0"
|
17 |
gradio = "^4.21.0"
|
18 |
gradio-client = "^0.12.0"
|
19 |
markdown2 = "^2.4.13"
|
20 |
nh3 = "^0.2.15"
|
21 |
-
numpy = "1.25.2"
|
22 |
openai = "^1.13.3"
|
23 |
packaging = "^24.0"
|
24 |
peft = "^0.9.0"
|
@@ -34,6 +37,10 @@ transformers = "4.31.0"
|
|
34 |
uvicorn = "^0.28.0"
|
35 |
opencv-python-headless = "4.8.1.78"
|
36 |
bitsandbytes = "^0.42.0"
|
|
|
|
|
|
|
|
|
37 |
|
38 |
|
39 |
[tool.poetry.group.test.dependencies]
|
|
|
1 |
[tool.poetry]
|
2 |
name = "lisa-on-cuda"
|
3 |
+
version = "1.1.0"
|
4 |
description = ""
|
5 |
authors = ["alessandro trinca tornidor <alessandro@trinca.tornidor.com>"]
|
6 |
license = "Apache 2.0"
|
|
|
10 |
name = "lisa-on-cuda"
|
11 |
version = "1.0.6"
|
12 |
|
13 |
+
[tool.poetry.urls]
|
14 |
+
Source = "https://huggingface.co/spaces/aletrn/samgis-lisa-on-cuda/"
|
15 |
+
Demo = "https://huggingface.co/spaces/aletrn/samgis-lisa-on-cuda/"
|
16 |
+
|
17 |
[tool.poetry.dependencies]
|
18 |
+
python = ">=3.10, <3.12"
|
19 |
einops = "^0.7.0"
|
20 |
fastapi = "^0.110.0"
|
21 |
gradio = "^4.21.0"
|
22 |
gradio-client = "^0.12.0"
|
23 |
markdown2 = "^2.4.13"
|
24 |
nh3 = "^0.2.15"
|
|
|
25 |
openai = "^1.13.3"
|
26 |
packaging = "^24.0"
|
27 |
peft = "^0.9.0"
|
|
|
37 |
uvicorn = "^0.28.0"
|
38 |
opencv-python-headless = "4.8.1.78"
|
39 |
bitsandbytes = "^0.42.0"
|
40 |
+
numpy = [
|
41 |
+
{version = "1.25.2", python = "~3.10"},
|
42 |
+
{version = "^1.26", python = "~3.11"}
|
43 |
+
]
|
44 |
|
45 |
|
46 |
[tool.poetry.group.test.dependencies]
|