Skip to content

Commit

Permalink
add and bumps requirements versions
Browse files Browse the repository at this point in the history
Signed-off-by: sagewe <wbwmat@gmail.com>
  • Loading branch information
sagewe committed Dec 15, 2023
1 parent 26ed5ba commit 591507e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
5 changes: 4 additions & 1 deletion python/fate/arch/launchers/multiprocess_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@ def _run_process(
exc_traceback = rich.traceback.Traceback.from_exception(
type(e), e, traceback=e.__traceback__, width=width, show_locals=True
)
output_or_exception_q.put((args.rank, e, exc_traceback))
try:
output_or_exception_q.put((args.rank, e, exc_traceback))
except Exception as e:
logger.exception(f"failed to put exception to queue: {e}")
finally:
try:
ctx.destroy()
Expand Down
8 changes: 5 additions & 3 deletions python/requirements-eggroll.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
grpcio==1.46.3
grpcio-tools==1.46.3
protobuf==3.19.6
opentelemetry-api
opentelemetry-sdk
protobuf==4.24.4
grpcio==1.59.3
grpcio-tools==1.59.3
cloudpickle==2.1.0
psutil>=5.7.0
4 changes: 2 additions & 2 deletions python/requirements-fate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ transformers==4.30.2
accelerate==0.20.2
beautifultable
requests<2.26.0
grpcio==1.46.3
protobuf==3.19.6
scikit-learn
omegaconf
rich
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp-proto-grpc
mmh3==3.0.0
protobuf==4.24.4
grpcio==1.59.3
12 changes: 5 additions & 7 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@
"requests",
"grpcio",
"protobuf",
"rich",
"omegaconf",
"opentelemetry-api",
"opentelemetry-sdk",
"mmh3==3.0.0",
]

# Extra requirements
Expand All @@ -32,17 +35,12 @@
"pulsar": [
"pulsar-client==2.10.2; sys_platform != 'darwin'",
"pulsar-client==2.10.1; sys_platform == 'darwin'",
"urllib3==1.26.5"
"urllib3==1.26.5",
],
"spark": ["pyspark"],
"eggroll": [
"grpcio==1.46.3",
"grpcio-tools==1.46.3",
"numba==0.56.4",
"protobuf==3.19.6",
"mmh3==3.0.0",
"grpcio-tools",
"cachetools>=3.0.0",
"cloudpickle==2.1.0",
"psutil>=5.7.0",
],
"all": ["pyfate[rabbitmq,pulsar,spark,eggroll]"],
Expand Down

0 comments on commit 591507e

Please sign in to comment.