Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (88 loc) · 2.62 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (88 loc) · 2.62 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
# =============================================================================
# FLocKit - Federated Learning Toolkit
# =============================================================================
[project]
name = "flockit"
version = "1.0.0"
description = "FLocKit (FLock.io) — production-grade federated learning toolkit for the FLock protocol."
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
license-files = ["LICENSE"]
authors = [{ name = "Ray", email = "rui@flock.io" }]
keywords = ["federated-learning", "flock", "machine-learning", "llm", "fine-tuning", "mlx", "pytorch"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
# Deep learning framework
"torch",
"torchvision",
# Logging and configuration
"loguru",
"omegaconf",
# HuggingFace ecosystem
"transformers",
"datasets",
"peft",
"trl==0.17.0",
"huggingface_hub>=0.30.0,<1.0",
"hf_transfer",
"hf_xet",
"sentencepiece",
# Quantisation (optional — for LoRA/QLoRA 4-bit/8-bit training)
"bitsandbytes",
# HTTP server (FLock SDK)
"flask",
# Cloud storage
"boto3",
# Utilities
"psutil",
"scikit-learn",
"tqdm",
# MLX for Apple Silicon acceleration (macOS arm64 only)
"mlx; platform_system == 'Darwin' and platform_machine == 'arm64'",
# ASR template dependencies
"torchaudio",
"Levenshtein",
"librosa",
"soundfile",
]
[project.urls]
Homepage = "https://flock.io"
Repository = "https://github.com/FLock-io/FLocKit"
Documentation = "https://github.com/FLock-io/FLocKit#readme"
Issues = "https://github.com/FLock-io/FLocKit/issues"
[project.scripts]
flockit = "main:main"
[tool.setuptools]
py-modules = [
"arguments",
"bootstrap",
"constants",
"flockit_logger",
"main",
]
[tool.setuptools.packages.find]
include = ["flock_sdk*", "templates*"]
[tool.setuptools.package-data]
templates = ["**/*.yaml", "**/*.json", "**/*.md", "**/*.txt"]
# ---------------------------------------------------------------------------
# uv configuration
# ---------------------------------------------------------------------------
[dependency-groups]
dev = [
"build",
"pytest",
"ruff",
]