Remote candidate training worker for the JuniperCascor neural network service
Project description
juniper-cascor-worker
Remote candidate training worker for the JuniperCascor cascade correlation neural network service.
Overview
This package enables distributed candidate training by connecting to a CasCor CandidateTrainingManager and processing training tasks on remote hardware.
Ecosystem Compatibility
This package is part of the Juniper ecosystem. Compatible with:
| juniper-data | juniper-cascor | juniper-canopy |
|---|---|---|
| 0.4.x | 0.3.x | 0.2.x |
Installation
pip install juniper-cascor-worker
Note: This package requires the JuniperCascor source code to be importable on the worker machine (the worker runs CasCor's training code locally).
CLI Usage
# Basic usage
juniper-cascor-worker --manager-host 192.168.1.100 --manager-port 50000 --workers 4
# With CasCor source path
juniper-cascor-worker --manager-host 192.168.1.100 --cascor-path /opt/juniper-cascor/src --workers 8
# Full options
juniper-cascor-worker \
--manager-host 192.168.1.100 \
--manager-port 50000 \
--authkey my-secret-key \
--workers 4 \
--mp-context forkserver \
--log-level INFO
Python API
from juniper_cascor_worker import CandidateTrainingWorker, WorkerConfig
config = WorkerConfig(
manager_host="192.168.1.100",
manager_port=50000,
authkey="my-secret-key",
num_workers=4,
)
with CandidateTrainingWorker(config) as worker:
worker.start()
# Workers process tasks from the remote queue
input("Press Enter to stop...")
worker.stop()
Environment Variables
| Variable | Description | Default |
|---|---|---|
CASCOR_MANAGER_HOST |
Manager hostname | 127.0.0.1 |
CASCOR_MANAGER_PORT |
Manager port | 50000 |
CASCOR_AUTHKEY |
Authentication key | juniper |
CASCOR_NUM_WORKERS |
Worker count | 1 |
CASCOR_MP_CONTEXT |
Multiprocessing method | forkserver |
Juniper Ecosystem
This package is part of the Juniper Cascade Correlation Neural Network Research Platform.
| Package | Description | Install |
|---|---|---|
| juniper-data-client | Dataset service client | pip install juniper-data-client |
| juniper-cascor-client | Neural network service client | pip install juniper-cascor-client |
| juniper-cascor-worker | Distributed training worker (this package) | pip install juniper-cascor-worker |
License
MIT License - see LICENSE for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file juniper_cascor_worker-0.2.0.tar.gz.
File metadata
- Download URL: juniper_cascor_worker-0.2.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cfcae864c0fdbb64bfca268dcaa9cc8d861634ddf2d0441f80a6dc3bac1230e
|
|
| MD5 |
5dee3423a0fc3695773a0205ed9746fa
|
|
| BLAKE2b-256 |
30d124c5ee11736ac11a8ed3e90a72175e436eda265c3ac3f4052ba7e65a7b9a
|
Provenance
The following attestation bundles were made for juniper_cascor_worker-0.2.0.tar.gz:
Publisher:
publish.yml on pcalnon/juniper-cascor-worker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
juniper_cascor_worker-0.2.0.tar.gz -
Subject digest:
0cfcae864c0fdbb64bfca268dcaa9cc8d861634ddf2d0441f80a6dc3bac1230e - Sigstore transparency entry: 1278162569
- Sigstore integration time:
-
Permalink:
pcalnon/juniper-cascor-worker@d68f2279638507f11f91711c0a9dc695286137de -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/pcalnon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d68f2279638507f11f91711c0a9dc695286137de -
Trigger Event:
release
-
Statement type:
File details
Details for the file juniper_cascor_worker-0.2.0-py3-none-any.whl.
File metadata
- Download URL: juniper_cascor_worker-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99b5961e1a3b095af0eab58a4db288d5da17be648a6e33cd856e957f7a69b6d3
|
|
| MD5 |
98b999c39c4d131d39aa73088fec3cb4
|
|
| BLAKE2b-256 |
8292fce9547dc0ff1a379f0fda62de0e6c8e300888c0c3b1751f21cb260975b2
|
Provenance
The following attestation bundles were made for juniper_cascor_worker-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on pcalnon/juniper-cascor-worker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
juniper_cascor_worker-0.2.0-py3-none-any.whl -
Subject digest:
99b5961e1a3b095af0eab58a4db288d5da17be648a6e33cd856e957f7a69b6d3 - Sigstore transparency entry: 1278162640
- Sigstore integration time:
-
Permalink:
pcalnon/juniper-cascor-worker@d68f2279638507f11f91711c0a9dc695286137de -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/pcalnon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d68f2279638507f11f91711c0a9dc695286137de -
Trigger Event:
release
-
Statement type: