- disable ray dashboard
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
[](https://github.com/wimpomp/parfor/actions/workflows/publish.yml)
|
[](https://github.com/wimpomp/parfor/actions/workflows/publish.yml)
|
||||||
|
|
||||||
# Parfor
|
# Parfor
|
||||||
Used to parallelize for-loops using parfor in Matlab? This package allows you to do the same in python.
|
Used to parallelize for-loops using parfor in Matlab? This package allows you to do the same in python.
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ def get_worker(n_processes) -> RemoteFunction:
|
|||||||
|
|
||||||
if not ray.is_initialized():
|
if not ray.is_initialized():
|
||||||
os.environ["RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO"] = "0"
|
os.environ["RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO"] = "0"
|
||||||
ray.init(logging_level=logging.ERROR, log_to_driver=False)
|
ray.init(logging_level=logging.ERROR, log_to_driver=False, include_dashboard=False)
|
||||||
|
|
||||||
def worker(task):
|
def worker(task):
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "parfor"
|
name = "parfor"
|
||||||
version = "2026.2.0"
|
version = "2026.2.1"
|
||||||
description = "A package to mimic the use of parfor as done in Matlab."
|
description = "A package to mimic the use of parfor as done in Matlab."
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Wim Pomp-Pervova", email = "wimpomp@gmail.com" }
|
{ name = "Wim Pomp-Pervova", email = "wimpomp@gmail.com" }
|
||||||
|
|||||||
Reference in New Issue
Block a user