ClownRat commited on
Commit
d6ff507
•
1 Parent(s): a5e8583

Update package installing.

Browse files
Files changed (2) hide show
  1. pyproject.toml +0 -39
  2. requirements.txt +21 -18
pyproject.toml DELETED
@@ -1,39 +0,0 @@
1
- [build-system]
2
- requires = ["setuptools>=61.0"]
3
- build-backend = "setuptools.build_meta"
4
-
5
- [project]
6
- name = "videollama2"
7
- version = "1.0"
8
- description = "Release of VideoLLaMA2"
9
- readme = "README.md"
10
- requires-python = ">=3.8"
11
- classifiers = [
12
- "Programming Language :: Python :: 3",
13
- "License :: OSI Approved :: Apache Software License",
14
- ]
15
- dependencies = [
16
- "torch>=2.0.1", "torchvision>=0.15.2",
17
- "tokenizers==0.15.1", "sentencepiece==0.1.99",
18
- "transformers==4.37.2", "accelerate==0.21.0",
19
- "deepspeed==0.13.1", "peft==0.4.0", "shortuuid",
20
- "decord==0.6.0", "pytorchvideo==0.1.5", "imageio==2.34.0", "imageio-ffmpeg==0.4.9",
21
- "moviepy==1.0.3", "scenedetect==0.6.3", "numpy", "scikit-learn==1.2.2",
22
- "einops==0.6.1", "einops-exts==0.0.4", "timm==0.6.13",
23
- "bitsandbytes==0.41.0", "pydantic<2,>=1", "markdown2[all]",
24
- "gradio==3.35.2", "gradio_client==0.2.9", opencv-python,
25
- "requests", "httpx==0.24.0", "openai", "uvicorn", "fastapi", "wandb"
26
- ]
27
-
28
- [project.optional-dependencies]
29
- train = ["ninja"]
30
-
31
- [project.urls]
32
- "Homepage" = "https://github.com/DAMO-NLP-SG/VideoLLaMA2"
33
- "Bug Tracker" = "https://github.com/DAMO-NLP-SG/VideoLLaMA2/issues"
34
-
35
- [tool.setuptools.packages.find]
36
- exclude = ["assets*", "benchmark*", "docs", "dist*", "playground*", "scripts*", "tests*"]
37
-
38
- [tool.wheel]
39
- exclude = ["assets*", "benchmark*", "docs", "dist*", "playground*", "scripts*", "tests*"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
requirements.txt CHANGED
@@ -1,37 +1,40 @@
1
- --extra-index-url https://download.pytorch.org/whl/cu117
2
  # basic dependencies
3
- torchvision==0.15.2
4
- torch==2.0.1
5
- transformers==4.37.2
6
- tokenizers==0.15.1
7
  deepspeed==0.13.1
8
- accelerate
9
- timm
10
- numpy
11
- spaces
12
  peft==0.4.0
 
 
 
13
  # data processing
14
  decord==0.6.0
15
  imageio==2.34.0
16
  imageio-ffmpeg==0.4.9
17
- pytorchvideo==0.1.5
18
  moviepy==1.0.3
19
  scenedetect==0.6.3
20
- opencv-python==4.7.0.72
 
21
  # misc
22
  scikit-learn==1.2.2
23
- huggingface_hub==0.22.2
24
  sentencepiece==0.1.99
25
  shortuuid
26
  einops==0.6.1
27
  einops-exts==0.0.4
28
- bitsandbytes==0.41.0
29
- pydantic<2,>=1
30
  markdown2[all]
31
- gradio==3.35.2
32
- gradio_client==0.2.9
 
33
  requests
34
- httpx==0.24.0
35
  uvicorn
36
  fastapi
37
- wandb
 
 
 
1
+ --extra-index-url https://download.pytorch.org/whl/cu118
2
  # basic dependencies
3
+ torch==2.2.0
4
+ torchvision==0.17.0
5
+ transformers==4.42.3
6
+ tokenizers==0.19.1
7
  deepspeed==0.13.1
8
+ accelerate==0.26.1
 
 
 
9
  peft==0.4.0
10
+ timm==1.0.3
11
+ numpy==1.24.4
12
+ spaces
13
  # data processing
14
  decord==0.6.0
15
  imageio==2.34.0
16
  imageio-ffmpeg==0.4.9
 
17
  moviepy==1.0.3
18
  scenedetect==0.6.3
19
+ opencv-python==4.6.0.66
20
+ pysubs2
21
  # misc
22
  scikit-learn==1.2.2
23
+ huggingface_hub==0.23.4
24
  sentencepiece==0.1.99
25
  shortuuid
26
  einops==0.6.1
27
  einops-exts==0.0.4
28
+ bitsandbytes==0.43.0
29
+ pydantic>=2.0
30
  markdown2[all]
31
+ gradio==3.50.0
32
+ gradio_client==0.6.1
33
+ httpx==0.24.1
34
  requests
35
+ openai
36
  uvicorn
37
  fastapi
38
+ tensorboard
39
+ wandb
40
+ tabulate