-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.cfg
68 lines (62 loc) · 1.76 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[metadata]
name = fast_llm
# TODO: Take from __init__.py instead?
version = 0.2.0
[options]
packages = find_namespace:
include_package_data = True
python_requires = >=3.12
install_requires =
requests>=2.32.3
PyYAML>=6.0.1
pybind11>=2.5.0
packaging>=24.1
[options.extras_require]
# Required to use the main functionality of Fast-LLM
# To install on cpu environment (ex. for IDE support):
# FLASH_ATTENTION_SKIP_CUDA_BUILD=TRUE FLASH_ATTENTION_FORCE_BUILD=TRUE pip install -e ".[CORE]" --no-build-isolation
CORE =
# Available through the nvidia base image
# Keeping an older min version because later ones have no x86 wheel for Mac OS
torch>=2.2.2
# Numpy major needs to match torch
numpy>=1.24.4,<2.0.0
# Used for checkpoints
safetensors>=0.4.4
# Update the base image (version fixed to ensure there is a wheel for the base image), may need --no-build-isolation
flash-attn==2.7.2.post1
# Required for some optional features and tools.
OPTIONAL =
# Huggingface tools
transformers>=4.44.2
hf-transfer>=0.1.8
datasets>=3.1.0
# Weights and biases
wandb>=0.17.7
# Hydra
hydra-core>=1.3.2
omegaconf>=2.3.0
# Miscellanous
tqdm>=4.66.3
DEV =
# Pre-commit git hook
pre-commit>=4.0.1
# Required for testing
pytest>=8.3.2
pytest-depends>=1.0.1
# Somehow needed for Megatron to work with base image 24.11
setuptools>=75.6.0
# Required for building the documentation
DOCS =
mkdocs
mkdocs-material
mkdocs-material[imaging]
mkdocs-section-index
mkdocstrings[python]
mkdocs-git-committers-plugin-2
mkdocs-git-revision-date-localized-plugin
pypandoc_binary
mkdocs-bibtex
[options.entry_points]
console_scripts =
fast-llm = fast_llm.tools.cli:fast_llm