Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add the database connection for PostgreSQL #587

Open
wants to merge 626 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
626 commits
Select commit Hold shift + click to select a range
2339fb5
update upload meta param
zhihuiwan Sep 8, 2023
f9264ef
update component param
zhihuiwan Sep 8, 2023
5738867
update component param
zhihuiwan Sep 8, 2023
254fe51
update component param
zhihuiwan Sep 8, 2023
e537651
update doc
zhihuiwan Sep 8, 2023
0cb27a5
update examples
zhihuiwan Sep 8, 2023
1df2e6b
update doc.yml
zhihuiwan Sep 11, 2023
22195bd
update doc.yml
zhihuiwan Sep 11, 2023
27a0884
update doc.yml
zhihuiwan Sep 11, 2023
620ab78
update doc.yml
zhihuiwan Sep 11, 2023
df88c24
update png
zhihuiwan Sep 11, 2023
428d431
on push branches
zhihuiwan Sep 11, 2023
0f8cf25
update swagger
zhihuiwan Sep 11, 2023
6f97f8e
update doc
zhihuiwan Sep 11, 2023
b0c8c62
init adapter
zhihuiwan Sep 11, 2023
633e3f1
update doc
zhihuiwan Sep 11, 2023
4d062f1
update requirements
zhihuiwan Sep 11, 2023
6cf8592
update adapter db
zhihuiwan Sep 12, 2023
1792455
update adapter db
zhihuiwan Sep 12, 2023
3d117d8
add windows of setup fate flow
chengtcc Sep 13, 2023
55bf35d
fix fate on spark
zhihuiwan Sep 13, 2023
3195917
server cli warn
zhihuiwan Sep 13, 2023
b63c44e
fix log bug
zhihuiwan Sep 13, 2023
12bc631
update spark home
zhihuiwan Sep 13, 2023
8ff61c6
update quick start
zhihuiwan Sep 15, 2023
fcea9e8
update quick start
zhihuiwan Sep 15, 2023
cbdab48
update release
zhihuiwan Sep 15, 2023
5b1b72f
update fate flow
zhihuiwan Oct 20, 2023
7072aa6
update
zhihuiwan Oct 20, 2023
c161d1f
update ofx
zhihuiwan Oct 20, 2023
15aeae3
update adapter
zhihuiwan Oct 20, 2023
a08437b
Code adjustment
zhihuiwan Oct 23, 2023
fbd7d51
Code adjustment
zhihuiwan Oct 23, 2023
1203be2
fix
zhihuiwan Oct 27, 2023
2ff445b
fix adapter
zhihuiwan Oct 31, 2023
8c9b577
update settings
zhihuiwan Oct 31, 2023
9120421
Adjustment
zhihuiwan Nov 1, 2023
eddbb46
fate container
zhihuiwan Nov 9, 2023
f0a8f1c
update bfia-fate container
zhihuiwan Nov 14, 2023
a78e2e3
update test
zhihuiwan Nov 14, 2023
994a6c2
update bfia
zhihuiwan Nov 16, 2023
6f4bb94
update env
zhihuiwan Nov 16, 2023
b93b76d
fix component wraps
zhihuiwan Nov 20, 2023
b0169c5
fix bug
zhihuiwan Nov 21, 2023
c2690b3
fix component wraps
zhihuiwan Nov 22, 2023
900925b
update dataset params
zhihuiwan Nov 23, 2023
ba352a5
adapt eggroll deepspeed
zhihuiwan Dec 4, 2023
ba94800
update bfia example
zhihuiwan Dec 4, 2023
5c76871
update bfia
zhihuiwan Dec 4, 2023
da3fb22
update table bind
zhihuiwan Dec 4, 2023
a792737
update examples
zhihuiwan Dec 4, 2023
6566bd2
update examples
zhihuiwan Dec 4, 2023
abc44e1
set default fate path
zhihuiwan Dec 4, 2023
cba27f4
destroy upload table
zhihuiwan Dec 4, 2023
8279a28
update eggroll default conf
zhihuiwan Dec 4, 2023
13cfd2f
refactor service launch script
sagewe Aug 23, 2023
b1c6075
update server commands
zhihuiwan Dec 5, 2023
73f97b7
update osx system config
zhihuiwan Dec 5, 2023
989ac24
update osx system config
zhihuiwan Dec 5, 2023
e5e0a1e
update engine
zhihuiwan Dec 7, 2023
237f927
adjust fate_flow to fits fate improvements
sagewe Oct 24, 2023
24abe46
add serdes and partitioners
sagewe Nov 21, 2023
dd3de03
set default partitioner
sagewe Dec 6, 2023
654dedf
fix eggroll import
sagewe Dec 6, 2023
c2f090e
add host port to fateflow eggroll storage
sagewe Dec 7, 2023
fc261ba
add host and port params for eggroll
zhihuiwan Dec 7, 2023
3db29df
update cluster default port
zhihuiwan Dec 7, 2023
5f8dd3a
fix bug
zhihuiwan Dec 7, 2023
372e956
fix bug
zhihuiwan Dec 7, 2023
7338bc8
update version
zhihuiwan Dec 7, 2023
3c949f6
update upload
zhihuiwan Dec 7, 2023
56210d2
update examples
zhihuiwan Dec 7, 2023
5ae8692
update upload api
zhihuiwan Dec 7, 2023
adbb72f
Merge branch 'dev-2.0.0-rc' into feature-2.0.0-rc-bak
zhihuiwan Dec 7, 2023
3f41805
Merge pull request #504 from FederatedAI/feature-2.0.0-rc-bak
zhihuiwan Dec 8, 2023
2e783f3
update service.sh
zhihuiwan Dec 8, 2023
9c39eaf
add log&dag&upload
chengtcc Dec 8, 2023
36ae4cb
update schedule and parser
zhihuiwan Dec 12, 2023
073a26e
Merge pull request #506 from FederatedAI/feature-2.0.0-rc-log-wcl
zhihuiwan Dec 12, 2023
9b7b3a6
fix upload
zhihuiwan Dec 12, 2023
4d84704
fix log bug
zhihuiwan Dec 12, 2023
b3dca8e
update pipeline
zhihuiwan Dec 12, 2023
6e071af
update pipeline
zhihuiwan Dec 12, 2023
d705828
Merge pull request #507 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 12, 2023
c51a75f
update pipeline
zhihuiwan Dec 12, 2023
dd75f83
add data view api
zhihuiwan Dec 13, 2023
bd7b786
delete job
zhihuiwan Dec 13, 2023
eafcbb6
fix log
zhihuiwan Dec 13, 2023
de945d9
Merge pull request #508 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 13, 2023
486b6fd
fix provider bug
zhihuiwan Dec 13, 2023
92a4c30
Merge pull request #509 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 13, 2023
247b521
process stderr to pipe
zhihuiwan Dec 13, 2023
4d86e0d
Merge pull request #510 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 13, 2023
efb3271
fix bug
zhihuiwan Dec 13, 2023
3548576
Merge pull request #511 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 13, 2023
fecf32c
fix bug
zhihuiwan Dec 14, 2023
55542e2
fix bug
zhihuiwan Dec 15, 2023
933fe1b
Merge pull request #512 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 15, 2023
db15834
update requirements
zhihuiwan Dec 15, 2023
8c4d89b
fix logs
zhihuiwan Dec 15, 2023
79d2cd5
Merge pull request #513 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 15, 2023
4b8235a
fix rerun bug
zhihuiwan Dec 18, 2023
b4ad7d3
run ds
zhihuiwan Dec 19, 2023
a3d87a4
update component
zhihuiwan Dec 19, 2023
f05bbc2
fix log
zhihuiwan Dec 19, 2023
02e315b
fix scheduler bug
zhihuiwan Dec 19, 2023
f0f782e
fix permission
chengtcc Dec 19, 2023
3bff304
fix ds model download
zhihuiwan Dec 19, 2023
ab3aef9
Merge pull request #514 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 19, 2023
932c27a
updata casbin_models.py
chengtcc Dec 19, 2023
233cf8d
updata init create AppInfo
chengtcc Dec 19, 2023
cfe4a4e
updata create raise
chengtcc Dec 19, 2023
1a08e06
Merge pull request #515 from FederatedAI/feature-2.0.0-rc-wen
zhihuiwan Dec 19, 2023
3b4b3fa
update requirements
zhihuiwan Dec 19, 2023
acdcbe4
Merge pull request #516 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 19, 2023
c7168f7
refactor serdes and partitioner
sagewe Dec 19, 2023
942902f
Merge pull request #517 from FederatedAI/feature-2.0.0-rc-hdfs-serdes
mgqa34 Dec 19, 2023
4046e1c
update ds env
zhihuiwan Dec 19, 2023
3802282
Merge pull request #518 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 19, 2023
f8f99d4
filter out handler with loglevel less than given level
sagewe Dec 20, 2023
9cb32dd
update component define
zhihuiwan Dec 20, 2023
1406eef
Merge pull request #519 from FederatedAI/feature-2.0.0-rc-improve-logger
zhihuiwan Dec 20, 2023
80b55d1
Merge remote-tracking branch 'origin/dev-2.0.0-rc' into feature-2.0.0…
zhihuiwan Dec 20, 2023
12fac9c
fix bug
zhihuiwan Dec 20, 2023
0f586de
update bfia adapter
zhihuiwan Dec 20, 2023
c3646dc
update bfia examples
zhihuiwan Dec 20, 2023
7db1e27
Merge pull request #520 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 20, 2023
ed65ddc
fix ds cores
zhihuiwan Dec 20, 2023
132264b
fix upload
zhihuiwan Dec 20, 2023
9057489
fix upload
zhihuiwan Dec 20, 2023
a517631
update version
zhihuiwan Dec 20, 2023
5962798
fix destroy
zhihuiwan Dec 20, 2023
ba52f46
Merge pull request #521 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 20, 2023
461c728
fix permission_utils.py
chengtcc Dec 20, 2023
593c137
Merge remote-tracking branch 'origin/dev-2.0.0-rc' into feature-2.0.0…
chengtcc Dec 20, 2023
95f38b0
Merge pull request #522 from FederatedAI/feature-2.0.0-rc-wen
zhihuiwan Dec 20, 2023
d830e3e
fix download
zhihuiwan Dec 20, 2023
3e0cf23
Merge pull request #523 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 20, 2023
01e11ed
fix localfs storage engine
zhihuiwan Dec 20, 2023
c3098c5
Merge pull request #524 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 20, 2023
441290b
sync code with FATE
sagewe Dec 20, 2023
691359a
check components
zhihuiwan Dec 20, 2023
7ce9abf
Merge pull request #525 from FederatedAI/feature-2.0.0-rc-standalone
zhihuiwan Dec 21, 2023
0d0acee
Merge pull request #526 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 21, 2023
1412ec7
fix hdfs storage
sagewe Dec 21, 2023
885c426
Merge pull request #527 from FederatedAI/bugfix-2.0.0-rc-hdfs
zhihuiwan Dec 21, 2023
4600fe8
update requirements
zhihuiwan Dec 21, 2023
ae96304
update
zhihuiwan Dec 21, 2023
9a0fe2c
Merge pull request #528 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 21, 2023
832288d
Merge remote-tracking branch 'origin/main' into dev-2.0.0-beta-merge-…
zhihuiwan Dec 21, 2023
b289aff
update
zhihuiwan Dec 21, 2023
a24a5ee
Merge pull request #529 from FederatedAI/dev-2.0.0-beta-merge-main
dylan-fan Dec 21, 2023
adbbec4
fix headers params initiator_party_id
chengtcc Dec 21, 2023
e6cd79f
Merge pull request #531 from FederatedAI/feature-2.0.0-rc-wen
zhihuiwan Dec 21, 2023
35dc80e
update service_conf.yaml
dylan-fan Dec 22, 2023
5c894c6
remove max_message_size in service_conf.yaml
dylan-fan Dec 22, 2023
30cdcfa
Merge pull request #533 from FederatedAI/feature-2.0.0-conf-dy1
zhihuiwan Dec 22, 2023
4c8a63d
fix spark
zhihuiwan Dec 25, 2023
9de9300
update proto
zhihuiwan Dec 25, 2023
06ac8da
update dsl translator
zhihuiwan Dec 25, 2023
527ae91
fix task parser
zhihuiwan Dec 25, 2023
5a9438e
improve proto buffer generation
sagewe Dec 25, 2023
84d88f8
update dataset
chengtcc Dec 26, 2023
9c6bb50
fix parser
zhihuiwan Dec 26, 2023
10e656f
Merge pull request #536 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 26, 2023
df93b78
Merge pull request #534 from FederatedAI/chore-2.0.0-rc-pb-gen
zhihuiwan Dec 26, 2023
1412e19
update dataset
chengtcc Dec 26, 2023
1b7c158
Merge pull request #535 from FederatedAI/feature-2.0.0-rc-wen
zhihuiwan Dec 26, 2023
b7cc3e0
update examples
zhihuiwan Dec 26, 2023
4d32490
fix bfia
zhihuiwan Dec 26, 2023
7805e07
Merge pull request #537 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 26, 2023
9800b68
fix cleanup
zhihuiwan Dec 27, 2023
f18e9e2
fix cleanup
zhihuiwan Dec 27, 2023
d18a896
Merge pull request #538 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 27, 2023
7d7d5c9
update swagger.yaml
chengtcc Dec 27, 2023
fd47623
fix dag translate
zhihuiwan Dec 27, 2023
d09880a
fix bfia bug
zhihuiwan Dec 27, 2023
9be7140
update examples
zhihuiwan Dec 27, 2023
221a498
Merge pull request #542 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 27, 2023
5b13eb0
Merge pull request #541 from FederatedAI/feature-2.0.0-rc-swagger-wcl
zhihuiwan Dec 27, 2023
a66a39e
update release
zhihuiwan Dec 27, 2023
f980c9e
update release
zhihuiwan Dec 27, 2023
1009fa3
Merge pull request #543 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 27, 2023
b573c6c
update fate flow release
zhihuiwan Dec 27, 2023
c24a1ac
Merge pull request #544 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 27, 2023
3942cdd
update system config doc
zhihuiwan Dec 28, 2023
e79f3a0
update init env
zhihuiwan Dec 28, 2023
039a844
remove component output debug log
zhihuiwan Dec 28, 2023
f4a336c
Merge pull request #545 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 28, 2023
0ca65cc
update init env
zhihuiwan Dec 28, 2023
6fe6859
Merge pull request #546 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 28, 2023
0607d7f
update pkg version && job list
chengtcc Dec 28, 2023
68d5373
Merge remote-tracking branch 'origin/dev-2.0.0-rc' into feature-2.0.0…
chengtcc Dec 28, 2023
5091113
Merge pull request #547 from FederatedAI/feature-2.0.0-rc-job-wcl
zhihuiwan Dec 28, 2023
123a563
update pkg version
chengtcc Dec 28, 2023
6655ec0
update service.sh
zhihuiwan Dec 28, 2023
9fb4d6a
Merge pull request #548 from FederatedAI/feature-2.0.0-rc-job-wcl
zhihuiwan Dec 28, 2023
90af053
Merge pull request #549 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 28, 2023
cd47fc3
Merge pull request #540 from FederatedAI/dev-2.0.0-rc
dylan-fan Dec 28, 2023
c7afe47
update doc and examples
zhihuiwan Dec 29, 2023
40371eb
update quick start
zhihuiwan Dec 29, 2023
0124fe5
Merge pull request #550 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 29, 2023
aa3dbb0
fix bug
zhihuiwan Dec 29, 2023
1152a14
Merge pull request #552 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 29, 2023
2be25db
update setup
zhihuiwan Dec 29, 2023
0d44208
update doc
zhihuiwan Dec 29, 2023
ce095e9
update doc
zhihuiwan Dec 29, 2023
34b59d2
fix server cli
zhihuiwan Dec 29, 2023
21d7756
Merge pull request #553 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 29, 2023
a8cbefc
update doc
zhihuiwan Dec 29, 2023
532070f
Merge pull request #555 from FederatedAI/feature-2.0.0-rc-dag_change
zhihuiwan Dec 29, 2023
b30e4c0
Merge pull request #551 from FederatedAI/dev-2.0.0-rc
zhihuiwan Dec 29, 2023
ad2bbf3
update doc
zhihuiwan Jan 4, 2024
4d86649
update doc
zhihuiwan Jan 8, 2024
e688e9a
update doc
zhihuiwan Feb 19, 2024
a1ca133
update doc
zhihuiwan Feb 19, 2024
9b49feb
Merge pull request #560 from FederatedAI/build-doc-2.0.0
zhihuiwan Feb 19, 2024
d5d2443
update config path
zhihuiwan Feb 20, 2024
7a3b986
display data count
zhihuiwan Feb 21, 2024
190eed9
fix bug
zhihuiwan Feb 22, 2024
80ddba7
fix bug
zhihuiwan Feb 23, 2024
1e93973
update container params
zhihuiwan Feb 26, 2024
aff6831
update upload data
zhihuiwan Feb 26, 2024
c768ac0
update env
zhihuiwan Feb 28, 2024
f31badd
update env
zhihuiwan Feb 29, 2024
89bd5b3
update doc
zhihuiwan Feb 29, 2024
e981bdc
update requirements
zhihuiwan Feb 29, 2024
dae5679
update doc
zhihuiwan Feb 29, 2024
5a961f9
fix data display bug
zhihuiwan Feb 29, 2024
41e8797
update release
zhihuiwan Feb 29, 2024
c037514
Merge pull request #561 from FederatedAI/build-doc-2.1.0
zhihuiwan Feb 29, 2024
84df722
update release
zhihuiwan Mar 1, 2024
ed9a5db
Merge pull request #563 from FederatedAI/build-doc-2.1.0
zhihuiwan Mar 1, 2024
5b9d53e
support arbiter deepspeed engine
zhihuiwan Mar 5, 2024
b7909e8
update examples
zhihuiwan Mar 5, 2024
816a84e
Merge pull request #564 from FederatedAI/build-doc-2.1.0
zhihuiwan Mar 5, 2024
689345f
Merge pull request #562 from FederatedAI/dev-2.1.0
zhihuiwan Mar 6, 2024
820a535
update req & setup.py
robbie228 Jul 16, 2024
1a3b4e8
update req & setup.py
robbie228 Jul 16, 2024
b65dcb6
update req & setup.py
robbie228 Jul 16, 2024
fdf9fee
update req & setup.py
robbie228 Jul 16, 2024
403908b
update req-fate
robbie228 Jul 17, 2024
836d032
update version of pandas and numpy
mgqa34 Jul 29, 2024
2610522
Merge pull request #572 from FederatedAI/feature-2.2.0-update-req
zhihuiwan Jul 29, 2024
256b487
update release note
mgqa34 Jul 29, 2024
bffe8dc
Merge pull request #575 from FederatedAI/feature-2.2.0-update-req
zhihuiwan Jul 29, 2024
4a57b7c
update version of fate_flow
mgqa34 Jul 29, 2024
2017042
Merge pull request #577 from FederatedAI/feature-2.2.0-update-req
zhihuiwan Jul 29, 2024
e7083f7
Merge pull request #576 from FederatedAI/dev-2.2.0
zhihuiwan Jul 31, 2024
7bdadc0
feat: Add the database connection for PostgreSQL
Redias Dec 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- 'main'
- 'develop-[0-9]+.[0-9]+.[0-9]+'
- 'build-doc-[0-9]+.[0-9]+.[0-9]+-[a-zA-Z]+'

schedule:
- cron: '0 8 * * *'
Expand Down Expand Up @@ -41,6 +42,7 @@ jobs:
VERSION='${{ github.ref_name }}'
[ "$VERSION" == main ] && { VERSION=latest; ALIAS='main master'; }
VERSION="${VERSION#develop-}"
VERSION="${VERSION#build-doc-}"

mike deploy --push --update-aliases "$VERSION" $ALIAS
mike set-default --push latest
15 changes: 13 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ venv

# excluded paths
/data/
/model/
/logs/
/jobs/
/audit/
/localfs/
.vscode/*
/temp/
/tmp
/worker/
/provider_registrar/
/model_local_cache/
*.db
*.db-journal
*.whl
Expand All @@ -31,3 +31,14 @@ venv

# doc
/site/

/python/fate_flow/data
/python/fate_flow/model
/python/fate_flow/logs
/python/fate_flow/jobs
/python/fate_flow/localfs
/python/fate_flow/*.env
/python/fate_flow/conf
/python/build
/python/dist
/python/*.egg-info
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ Providing production-level service capabilities:
- High Availability
- CLI, REST API, Python API

For detailed introduction, please refer to [FATE Flow Overall Design](https://federatedai.github.io/FATE-Flow/latest/fate_flow/#overall-design)

## Deployment

Please refer to [FATE](https://github.com/FederatedAI/FATE)
Expand Down
3 changes: 1 addition & 2 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FATE Flow是一个联邦学习端到端全流程的多方联合任务安全调度平台, 基于:

- [共享状态调度架构](https://storage.googleapis.com/pub-tools-public-publication-data/pdf/41684.pdf)
- 共享状态调度架构
- 跨数据中心的多方安全通信

提供生产级服务能力:
Expand All @@ -20,7 +20,6 @@ FATE Flow是一个联邦学习端到端全流程的多方联合任务安全调
- 系统高可用
- CLI、REST API、Python API

详细介绍请参考[FATE Flow整体设计](https://federatedai.github.io/FATE-Flow/latest/zh/fate_flow/)

## 部署

Expand Down
288 changes: 29 additions & 259 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,259 +1,29 @@
# Release 1.11.2
## Major Features and Improvements
* Support real-time log retrieval and display for FATE LLM tasks.
* Optimize the logic of the job clean interface.

## Bug Fixes
* Fix the thread accumulation caused by the session cleanup timeout bug.

# Release 1.11.1
## Major Features and Improvements
* Support distributed training with multiple gpus for FATE-LLM by Eggroll

## Bug Fixes
* Fix hadoop connection failures in some scenarios
* Fix spark config in role does not take effect

# Release 1.11.0
## Major Features and Improvements
* Add data table preview query interface

## Bug Fixes
* Fix the performance problems of upload and reader in processing large amounts of data
* Fix online inference cannot be done after model migration bug
* Fix the model cannot be saved to the specified database bug
* Fix reader data preview display bug


# Release 1.10.1
## Major Features and Improvements
* Optimize table info API


# Release 1.10.0
## Major Features and Improvements
* Add connection test API
* May configure gRPC message size limit
## Bug Fixes
* Fix module duplication issue in model

# Release 1.9.1
## Bug Fixes
* Fix parameter inheritance when loading non-model modules from ModelLoader
* Fix job inheritance after adding or removing roles from training configuration
* Fix delimiter error in uploaded/downloaded data
* Fix anonymous feature name renewal

# Release 1.9.0
## Major Features and Improvements
* Support high availability and load balancing to improve system availability and stability
* Added support for site authentication and data set authority authentication, and supports hook mode for users to customize authentication schemes
* Component registration optimization, support participants to use different versions of algorithm components
* Upload, reader support feature anonymity, support specifying id column
* Scheduling optimization, asynchronous time-consuming operations, component scheduling performance improved by more than 5 times This optimization obvious benefits for multi-component tasks
* Added component ApiReader to get feature data by id
* Model storage optimization, support model data synchronization between local and other storage
* The scheduler now can obtain the error information from other participant's algorithm components

# Release 1.8.0
## Major Features and Improvements
* Optimize the model migration function to reduce user operation steps;
* Add version compatibility check in component center to support multiple parties to use different versions;
* Add data table disable/enable function, and support batch delete disable table

# Release 1.7.2
## Major Features and Improvements
* Separate the base connection address of the data storage table from the data table information, and compatible with historical versions;
* Optimize the component output data download interface.

# Release 1.7.1
## Major Features and Improvements
* Added the writer component, which supports exporting data to mysql and saving data as a new table;
* Added job reuse function, which supports the reuse of successful status components of historical tasks in new jobs;
* Optimize the time-consuming problem of submitting tasks and the time-consuming problem of stopping tasks;
* Component registration supports automatic setting of PYTHONPYTH.

## Bug Fixes
* Fix the problem of OOM when uploading hdfs table;
* Fix the problem of incompatibility with the old version of serving;
* The parameter partitions of the toy test is set to 4, and a timeout prompt is added.

# Release 1.7.0

## Major Features and Improvements

* Independent repository instead of all code in the main FATE repository
* Component registry, which can hot load many different versions of component packages at the same time
* Hot update of component parameters, component-specific reruns, automatic reruns
* Model Checkpoint to support task hot start, model deployment and other
* Data, Model and Cache can be reused between jobs
* Reader component supports more data sources, such as MySQL, Hive
* Realtime recording of dataset usage derivation routes
* Multi-party permission control for datasets
* Automatic push to reliable storage when model deployment, support Tencent Cloud COS, MySQL, Redis
* REST API authentication

## Bug Fixes

# Release 1.6.1
## Major Features and Improvements
* Support mysql storage engine;
* Added service registry interface;
* Added service query interface;
* Support fate on WeDataSphere mode
* Add lock when writing `model_local_cache`
* Register the model download urls to zookeeper

## Bug Fixes
* Fix job id length no more than 25 limitation


# Release 1.5.2
## Major Features and Improvements
* Read data from mysql with ‘table bind’ command to map source table to FATE table
* FATE cluster push model for one-to-multiple FATE Serving clusters in one party

## Bug Fixes
* Fix job id length no more than 25 limitation


# Release 1.5.1
## Major Features and Improvements
* Optimize the model center, reconstruct publishing model, support deploy, load, bind, migrate operations, and add new interfaces such as model info
* Improve identity authentication and resource authorization, support party identity verification, and participate in the authorization of roles and components
* Optimize and fix resource manager, add task_cores job parameters to adapt to different computing engines

## Deploy
* Support 1.5.0 retain data upgrade to 1.5.1

## Bug Fixes
* Fix job clean CLI


# Release 1.5.0(LTS)
## Major Features and Improvements
* Brand new scheduling framework based on global state and optimistic concurrency control and support multiple scheduler
* Upgraded task scheduling: multi-model output for component, executing component in parallel, component rerun
* Add new DSL v2 which significantly improves user experiences in comparison to DSL v1. Several syntax error detection functions are supported in v2. Now DSL v1 and v2 are
compatible in the current FATE version
* Enhanced resource scheduling: remove limit on job number, base on cores, memory and working node according to different computing engine supports
* Add model registry, supports model query, import/export, model transfer between clusters
* Add Reader component: automatically dump input data to FATE-compatible format and cluster storage engine; now data from HDFS
* Refactor submit job configuration's parameters setting, support different parties use different job parameters when using dsl V2.

## Client
* Brand new CLI v2 with easy independent installation, user-friendly programming syntax & command-line prompt
* Support FLOW python language SDK


# Release 1.4.4
## Major Features and Improvements
* Task Executor supports monkey patch
* Add forward API


# Release 1.4.2
## Major Features and Improvements
* Distinguish between user stop job and system stop job;
* Optimized some logs;
* Optimize zookeeper configuration
* The model supports persistent storage to mysql
* Push the model to the online service to support the specified storage address (local file and FATEFlowServer interface)


# Release 1.4.1
## Major Features and Improvements
* Allow the host to stop the job
* Optimize the task queue
* Automatically align the input table partitions of all participants when the job is running
* Fate flow client large file upload optimization
* Fixed some bugs with abnormal status


# Release 1.4.0
## Major Features and Improvements
* Refactoring model management, native file directory storage, storage structure is more flexible, more information
* Support model import and export, store and restore with reliable distributed system(Redis is currently supported)
* Using MySQL instead of Redis to implement Job Queue, reducing system complexity
* Support for uploading client local files
* Automatically detects the existence of the table and provides the destroy option
* Separate system, algorithm, scheduling command log, scheduling command log can be independently audited


# Release 1.3.1
## Major Features and Improvements
## Deploy
* Support deploying by MacOS
* Support using external db
* Deploy JDK and Python environments on demand
* Improve MySQL and FATE Flow service.sh
* Support more custom deployment configurations in the default_configurations.sh, such as ssh_port, mysql_port and so one.

# Release 1.3.0
## Major Features and Improvements
* Add clean job CLI for cleaning output and intermediate results, including data, metrics and sessions
* Support for obtaining table namespace and name of output data via CLI
* Fix KillJob unsuccessful execution in some special cases
* Improve log system, add more exception and run time status prompts


# Release 1.2.0
## Major Features and Improvements
* Add data management module for recording the uploaded data tables and the outputs of the model in the job running, and for querying and cleaning up CLI.
* Support registration center for simplifying communication configuration between FATEFlow and FATEServing
* Restruct model release logic, FATE_Flow pushes model directly to FATE-Serving. Decouple FATE-Serving and Eggroll, and the offline and online architectures are connected only by FATE-Flow.
* Provide CLI to query data upload record
* Upload and download data support progress statistics by line
* Add some abnormal diagnosis tips
* Support adding note information to job

## Deploy
* Fix bugs in EggRoll startup script, add mysql, redis startup options.
* Disable host name resolution configuration for mysql service.
* The version number of each module of the software packaging script is updated using the automatic acquisition mode.


# Release 1.1.1
## Major Features and Improvements
* Add cluster deployment support based on ubuntu operating system。
* Support intermediate data cleanup after the task ends
* Optimizing the deployment process


## Bug Fixes
* Fix a bug in download api
* Fix bugs of spark-backend


# Release 1.1
## Major Features and Improvements
* Upload and Download support CLI for querying job status
* Support for canceling waiting job
* Support for setting job timeout
* Support for storing a job scheduling log in the job log folder
* Add authentication control Beta version, including component, command, role


# Release 1.0.2
## Major Features and Improvements
* Python and JDK environment are required only for running standalone version quick experiment
* Support cluster version docker deployment
* Add deployment guide in Chinese
* Standalone version job for quick experiment is supported when cluster version deployed.
* Python service log will remain for 14 days now.


# Release 1.0.1
## Bug Fixes
* Support upload file in version argument
* Support get serviceRoleName from configuration


# Release 1.0
## Major Features and Improvements
* DAG defines Pipeline
* Federated Multi-party asymmetric DSL parser
* Federated Learning lifecycle management
* Federated Task collaborative scheduling
* Tracking for data, metric, model and so on
* Federated Multi-party model management
## Release 2.2.0
### Major Features and Improvements
* Upgrade from Python 3.8 to Python 3.10

## Release 2.1.0
### Major Features and Improvements
Improved the display issue of output data.
Enhanced the PyPI package: configuration files have been relocated to the user's home directory, and the relative paths for uploading data are based on the user's home directory.
Supported running FATE algorithms in Spark on YARN client mode.

### Bug-Fix
Fixed an issue where failed tasks could not be retried.
Fixed an issue where the system couldn't run when the task cores exceeded the system total cores.

## Release 2.0.0
### Major Features and Improvements
* Adapted to new scalable and standardized federated DSL IR
* Built an interconnected scheduling layer framework, supported the BFIA protocol
* Optimized process scheduling, with scheduling separated and customizable, and added priority scheduling
* Optimized algorithm component scheduling,support container-level algorithm loading, enhancing support for cross-platform heterogeneous scenarios
* Optimized multi-version algorithm component registration, supporting registration for mode of components
* Federated DSL IR extension enhancement: supports multi-party asymmetric scheduling
* Optimized client authentication logic, supporting permission management for multiple clients
* Optimized RESTful interface, making parameter fields and types, return fields, and status codes clearer
* Added OFX(Open Flow Exchange) module: encapsulated scheduling client to allow cross-platform scheduling
* Supported the new communication engine OSX, while remaining compatible with all engines from FATE Flow 1.x
* Decoupled the System Layer and the Algorithm Layer, with system configuration moved from the FATE repository to the Flow repository
* Published FATE Flow package to PyPI and added service-level CLI for service management
* Migrated major functionality from FATE Flow 1.x
26 changes: 26 additions & 0 deletions bin/init_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash

#
# Copyright 2019 The FATE Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

fate_project_base=$(cd `dirname "$(realpath "${BASH_SOURCE[0]:-${(%):-%x}}")"`; cd ../;cd ../;pwd)
export FATE_PROJECT_BASE=$fate_project_base
export PYTHONPATH=
export SPARK_HOME=
venv=

source ${venv}/bin/activate

Loading