Closed jsuper closed 1 year ago
FATE-Builder does not support building FATE v1.8. Please refer to this to build FATE v1.8. https://github.com/FederatedAI/FATE/tree/v1.8.0/build/docker-build
FATE-Builder does not support building FATE v1.8. Please refer to this to build FATE v1.8. https://github.com/FederatedAI/FATE/tree/v1.8.0/build/docker-build
Hi @owlet42 Thanks for your very much.
I try to use the doker-build script which mentioned from you. The result is same as the issue described.
I am not sure, should I need to re-genereted all protobuf file before build images?
Issue fixed
This error is caused by incorrect protobuf version, FATE requirements.txt does not limited the maxmium version of protobuf package. protobuf 4.21.4 will be installed during build stage. This will cause the type check error which described in issue.
How to fix:
Modify FATE/python/requirments.txt, find line: protobuf>=3.6.1, then change it to follow:
protobuf>=3.6.1,<3.20.3
After build images from source using FATE-builder/docker-build/build.sh, building stage can succefully finish, but couln't submit job when starting the fate fluster using custom images. building image step as follow
1、Clone source code and checkout v1.8.0 version
2、Excuting building process using follow command.
After build successfully, starting FATE cluster by docker-compose, then submit toy example. Following error will throws.
Fully exception stacks:
UPDATED Using build_cluster_docker.sh in https://github.com/FederatedAI/FATE/tree/v1.8.0/build/docker-build meet the same problem.
Steps:
1、clone code same with previous 2、modify fate.env and docker-build/.env to custom version 3、starting build
4、Waiting finished, then using docker-compse to startup a cluster(fate on eggroll) 5、excute single side toy example, then exception occurs