Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArchieGertsman/spark-sched-sim
/ types & classes
Types & classes
41 in github.com/ArchieGertsman/spark-sched-sim
⨍
Functions
248
◇
Types & classes
41
↓ 3 callers
Class
Event
spark_sched_sim/components/event.py:8
↓ 2 callers
Class
ReturnsCalculator
trainers/utils/returns_calculator.py:24
↓ 2 callers
Class
RolloutBuffer
trainers/rollout_worker.py:18
↓ 1 callers
Class
Baseline
trainers/utils/baselines.py:4
↓ 1 callers
Class
CircularArray
trainers/utils/returns_calculator.py:6
↓ 1 callers
Class
DagEncoder
schedulers/decima/scheduler.py:244
↓ 1 callers
Class
DecimaActWrapper
converts Decima's actions to the environment's format
schedulers/decima/env_wrapper.py:19
↓ 1 callers
Class
DecimaObsWrapper
transforms environment observations into a format that's more suitable for Decima
schedulers/decima/env_wrapper.py:37
↓ 1 callers
Class
EncoderNetwork
schedulers/decima/scheduler.py:142
↓ 1 callers
Class
EventQueue
spark_sched_sim/components/event.py:19
↓ 1 callers
Class
ExecPolicyNetwork
schedulers/decima/scheduler.py:323
↓ 1 callers
Class
Executor
spark_sched_sim/components/executor.py:4
↓ 1 callers
Class
ExecutorTracker
Maintains all executor assignments. These include: - current location of each executor, called a 'pool' - commitments from one executor pool t
spark_sched_sim/components/executor_tracker.py:13
↓ 1 callers
Class
GlobalEncoder
schedulers/decima/scheduler.py:260
↓ 1 callers
Class
Job
An object representing a job in the system, containing a set of stages with dependencies stored in a dag.
spark_sched_sim/components/job.py:9
↓ 1 callers
Class
MultiSet
allow duplication in set
spark_sched_sim/data_samplers/tpch.py:265
↓ 1 callers
Class
NodeEncoder
schedulers/decima/scheduler.py:173
↓ 1 callers
Class
Profiler
context manager which profiles a block of code, then prints out the function calls sorted by cumulative execution time
trainers/utils/profiler.py:7
↓ 1 callers
Class
Renderer
renders frames that visualize the job scheduling simulation in real time. A gantt chart is displayed, with the traces of all the workers are s
spark_sched_sim/components/renderer.py:5
↓ 1 callers
Class
RolloutDataset
trainers/ppo.py:16
↓ 1 callers
Class
RolloutWorkerAsync
model updates occur at regular intervals, regardless of when the environment resets
trainers/rollout_worker.py:160
↓ 1 callers
Class
RolloutWorkerSync
model updates are synchronized with environment resets
trainers/rollout_worker.py:132
↓ 1 callers
Class
RoundRobinScheduler
schedulers/heuristics/round_robin.py:7
↓ 1 callers
Class
Stage
spark_sched_sim/components/stage.py:4
↓ 1 callers
Class
StagePolicyNetwork
schedulers/decima/scheduler.py:279
↓ 1 callers
Class
StochasticTimeLimit
Samples each episode's time limit from an exponential distribution
spark_sched_sim/wrappers/stochastic_time_limit.py:5
↓ 1 callers
Class
Task
spark_sched_sim/components/task.py:7
Class
DataSampler
spark_sched_sim/data_samplers/data_sampler.py:9
Class
DecimaEnvWrapper
schedulers/decima/env_wrapper.py:12
Class
DecimaScheduler
Original Decima architecture, which uses asynchronous message passing as in DAGNN. Paper: https://dl.acm.org/doi/abs/10.1145/3341302.3342080
schedulers/decima/scheduler.py:16
Class
HiddenPrints
trainers/utils/hidden_prints.py:5
Class
PPO
Proximal Policy Optimization
trainers/ppo.py:39
Class
RandomScheduler
schedulers/heuristics/random_scheduler.py:7
Class
RolloutWorker
trainers/rollout_worker.py:49
Class
Scheduler
Interface for all schedulers
schedulers/scheduler.py:10
Class
SparkSchedSimEnv
A Gymnasium environment that simulates DAG job scheduling in Spark
spark_sched_sim/spark_sched_sim.py:29
Class
TPCHDataSampler
spark_sched_sim/data_samplers/tpch.py:18
Class
TrainableScheduler
Interface for all trainable schedulers
schedulers/scheduler.py:21
Class
Trainer
Base training algorithm class. Each algorithm must implement the abstract method `train_on_rollouts`
trainers/trainer.py:25
Class
Type
spark_sched_sim/components/event.py:9
Class
VPG
Vanilla Policy Gradient
trainers/vpg.py:11