MCPcopy Create free account

hub / github.com/deepseek-ai/smallpond / functions

Functions992 in github.com/deepseek-ai/smallpond

↓ 1 callersMethod_call_process
( self, runtime_ctx: RuntimeContext, input_tables: List[arrow.Table] )
smallpond/execution/task.py:1954
↓ 1 callersMethod_call_process
( self, runtime_ctx: RuntimeContext, input_readers: List[arrow.RecordBatchReader] )
smallpond/execution/task.py:2216
↓ 1 callersMethod_consumer
(self)
smallpond/utility.py:166
↓ 1 callersMethod_create_driver_args_parser
(self)
smallpond/execution/driver.py:30
↓ 1 callersMethod_create_empty_file
Create an empty file for a partition according to the schema of the dataset. Return the path relative to the output directory.
smallpond/execution/task.py:1493
↓ 1 callersMethod_create_file_writer
(self, partition_idx: int, schema: arrow.Schema)
smallpond/execution/task.py:2863
↓ 1 callersMethod_create_phase1_task
( self, runtime_ctx: RuntimeContext, input_dep: Task, partition_infos: List[Pa
smallpond/logical/node.py:442
↓ 1 callersMethod_init_envs
(self)
smallpond/execution/task.py:356
↓ 1 callersFunction_iter_record_batches
Read record batches from a range of a parquet file.
smallpond/io/arrow.py:162
↓ 1 callersFunction_iter_record_batches_from_files
Build a batch reader from a list of row ranges.
smallpond/io/arrow.py:235
↓ 1 callersMethod_load_from_parquet_files_with_log
(self, paths, columns)
tests/test_arrow.py:174
↓ 1 callersMethod_make_dirs
(self, root_exist_ok, cleanup_root)
smallpond/execution/task.py:341
↓ 1 callersMethod_new_node_id
Generate a new node id.
smallpond/logical/node.py:89
↓ 1 callersMethod_pop_unbuffered
(self, count: int)
smallpond/execution/workqueue.py:235
↓ 1 callersMethod_process_batches
( self, runtime_ctx: RuntimeContext, input_tables: List[arrow.Table] )
smallpond/execution/task.py:2492
↓ 1 callersMethod_read_partition_key
Get the partition key of the parquet file. Examples -------- ``` >>> ParquetDataSet._read_partition_key("out
smallpond/logical/dataset.py:857
↓ 1 callersFunction_read_schema_from_file
( path_or_range: Union[str, RowRange], columns: Optional[List[str]] = None, filesystem: fsspec.Abs
smallpond/io/arrow.py:213
↓ 1 callersMethod_spawn_self
Spawn a new job to run the current script.
smallpond/session.py:176
↓ 1 callersMethod_start_grafana
Start grafana server if it exists.
smallpond/session.py:214
↓ 1 callersMethod_start_prometheus
Start prometheus server if it exists.
smallpond/session.py:194
↓ 1 callersMethod_summarize_task
(self)
smallpond/session.py:298
↓ 1 callersMethodacquire_gpu
Acquire GPU resources with the given quota. Return a dict of granted GPUs with their quotas. `release_gpu` should be called l
smallpond/execution/executor.py:311
↓ 1 callersMethodadd_perf_metrics
(self, name, value: Union[List[float], float])
smallpond/logical/node.py:282
↓ 1 callersMethodadd_running_work
(self, item: WorkItem)
smallpond/execution/scheduler.py:175
↓ 1 callersMethodapply_async
(self, func, args, name: str = None)
smallpond/execution/executor.py:74
↓ 1 callersFunctioncheck_data
Check if the expected data matches the actual data. Raise an error if there is a mismatch.
examples/fstest.py:70
↓ 1 callersMethodcheck_executor_state
(self, target_state: ExecutorState, nloops=200)
tests/test_scheduler.py:87
↓ 1 callersFunctionclamp_row_group_size
(val, minval=DEFAULT_ROW_GROUP_SIZE, maxval=MAX_ROW_GROUP_SIZE)
smallpond/common.py:40
↓ 1 callersMethodclean_output
(self, force=False)
smallpond/execution/task.py:1066
↓ 1 callersMethodclean_temp_files
(self, pool: ThreadPoolExecutor)
smallpond/execution/scheduler.py:791
↓ 1 callersMethodcleanup
Called after run() even if there is an exception.
smallpond/execution/workqueue.py:163
↓ 1 callersMethodcollect_output_files
(self, pool: ThreadPoolExecutor)
smallpond/execution/task.py:3392
↓ 1 callersFunctionconcat_arrow_files
(input_dir: str, output_dir: str, repeat: int = 10)
tests/datagen.py:91
↓ 1 callersFunctionconvert_type_to_large
Convert all string and binary types to large types recursively.
smallpond/io/arrow.py:92
↓ 1 callersFunctioncopy_input_arrow
( runtime_ctx: RuntimeContext, input_tables: List[arrow.Table], msg: str )
tests/test_execution.py:126
↓ 1 callersFunctioncopy_input_stream
( runtime_ctx: RuntimeContext, input_readers: List[arrow.RecordBatchReader], msg: str )
tests/test_execution.py:135
↓ 1 callersMethodcopy_task_for_execution
(self, task: Task)
smallpond/execution/scheduler.py:688
↓ 1 callersFunctioncount_inversions
(arr: List[int])
tests/test_dataframe.py:101
↓ 1 callersFunctioncount_objects
(obj, object_cnt=None, visited_objs=None, depth=0)
smallpond/execution/workqueue.py:384
↓ 1 callersMethodcreate_from
(table: arrow.Table, output_dir: str, filename: str = "data")
smallpond/logical/dataset.py:625
↓ 1 callersMethodcreate_split_task
( self, runtime_ctx: RuntimeContext, input_deps: List[Task], partition_infos:
smallpond/logical/node.py:1338
↓ 1 callersMethoddefault_memory_allocator
Get the default memory allocator for the platform.
smallpond/platform/base.py:105
↓ 1 callersMethoddefault_share_log_analytics
Whether to share log analytics by default.
smallpond/platform/base.py:81
↓ 1 callersMethoddispatch_tasks
(self, pool: ThreadPoolExecutor)
smallpond/execution/scheduler.py:1167
↓ 1 callersMethoddump_graph
Dump the logical plan graph to a file.
smallpond/session.py:255
↓ 1 callersMethoddump_output
(self, output_table: arrow.Table)
smallpond/execution/task.py:2014
↓ 1 callersMethoddump_timeline
Dump the task timeline to a file.
smallpond/session.py:266
↓ 1 callersMethodensure_installed
()
benchmarks/gray_sort_benchmark.py:43
↓ 1 callersMethodexec_loop
(self, pool: SimplePool)
smallpond/execution/executor.py:167
↓ 1 callersMethodexitcode
(self)
smallpond/execution/executor.py:47
↓ 1 callersMethodexport_task_metrics
(self)
smallpond/execution/scheduler.py:803
↓ 1 callersFunctionextract_hf3fs_mount_point
(path: str)
smallpond/io/filesystem.py:22
↓ 1 callersMethodextract_tokens
(self, url: arrow.string, content: arrow.binary)
smallpond/contrib/warc.py:111
↓ 1 callersMethodfinalize
Called after run() to finalize the processing.
smallpond/execution/workqueue.py:160
↓ 1 callersFunctionfind_mount_point
(path: str)
smallpond/io/filesystem.py:53
↓ 1 callersMethodfrom_args_and_env
Load config from arguments and environment variables. If not specified, use the default value.
smallpond/session.py:336
↓ 1 callersFunctionfsread
( path: str, blocksize: Union[int, Tuple[int, int]], randread: bool, )
examples/fstest.py:42
↓ 1 callersFunctionfswrite
( path: str, size: int, blocksize: Union[int, Tuple[int, int]], )
examples/fstest.py:21
↓ 1 callersFunctiongenerate_arrow_files
(output_dir: str, num_files=10)
tests/datagen.py:82
↓ 1 callersFunctiongenerate_content
()
tests/datagen.py:51
↓ 1 callersFunctiongenerate_long_path_list
Generate a list of long paths
tests/datagen.py:152
↓ 1 callersFunctiongenerate_random_data
Generate random data
tests/datagen.py:111
↓ 1 callersFunctiongenerate_random_date
()
tests/datagen.py:41
↓ 1 callersFunctiongenerate_url_and_domain
()
tests/datagen.py:16
↓ 1 callersFunctiongenerate_url_parquet_files
Generate multiple parquet files with a specified number of random data lines
tests/datagen.py:131
↓ 1 callersFunctiongenerate_url_tsv_files
Generate multiple files, each containing a specified number of random data lines
tests/datagen.py:141
↓ 1 callersMethodgeneric_visit
(self, node: Node, depth: int)
smallpond/logical/optimizer.py:27
↓ 1 callersFunctionget_pickle_trace
(obj)
smallpond/io/filesystem.py:74
↓ 1 callersMethodgrafana_homepath
Return the homepath of grafana.
smallpond/platform/base.py:95
↓ 1 callersMethodgraph
Get the logical plan graph.
smallpond/session.py:248
↓ 1 callersMethodgraph
Return a graphviz graph that shows the structure of the logical plan.
smallpond/logical/node.py:2113
↓ 1 callersMethodimport_warc_file
( self, warc_path: PurePath, parquet_path: PurePath )
smallpond/contrib/warc.py:32
↓ 1 callersMethodinitialize
Called before run() to prepare for running the task.
smallpond/execution/workqueue.py:157
↓ 1 callersMethodis_available
()
smallpond/platform/mpi.py:15
↓ 1 callersMethodis_computed
Check if the data is ready on disk.
smallpond/dataframe.py:261
↓ 1 callersMethoditer_tasks
(task: Task, visited: Set[str] = None)
smallpond/execution/task.py:3562
↓ 1 callersMethodlist_dequeued
(self, expand_batch=True)
smallpond/execution/workqueue.py:329
↓ 1 callersMethodlist_enqueued
(self, expand_batch=True)
smallpond/execution/workqueue.py:326
↓ 1 callersMethodlist_works
(self, expand_batch=True)
smallpond/execution/workqueue.py:332
↓ 1 callersFunctionmain
()
smallpond/execution/task.py:3604
↓ 1 callersFunctionmain
()
smallpond/execution/driver.py:426
↓ 1 callersFunctionmain
()
smallpond/execution/workqueue.py:431
↓ 1 callersFunctionmain
()
examples/shuffle_mock_urls.py:59
↓ 1 callersFunctionmain
()
examples/sort_mock_urls.py:91
↓ 1 callersFunctionmain
()
examples/shuffle_data.py:63
↓ 1 callersFunctionmain
()
benchmarks/gray_sort_benchmark.py:351
↓ 1 callersFunctionmain
()
benchmarks/urls_sort_benchmark.py:96
↓ 1 callersFunctionmain
()
benchmarks/hash_partition_benchmark.py:68
↓ 1 callersFunctionmain
()
benchmarks/file_io_benchmark.py:63
↓ 1 callersMethodmap_batches
Apply the given function to batches of data. Parameters ---------- func A function or a callable class t
smallpond/dataframe.py:576
↓ 1 callersMethodnew_task_id
(self)
smallpond/execution/task.py:323
↓ 1 callersFunctionnext_power_of_two
(x)
smallpond/common.py:112
↓ 1 callersMethodoom
(self, nonzero_exitcode_as_oom=False)
smallpond/execution/workqueue.py:141
↓ 1 callersFunctionparquet_write_table
( table, where, filesystem: fsspec.AbstractFileSystem = None, **write_table_args )
smallpond/io/arrow.py:343
↓ 1 callersMethodpartition
(self, input_dataset: ParquetDataSet)
smallpond/execution/task.py:2966
↓ 1 callersMethodprobe
(self, epoch: int)
smallpond/execution/scheduler.py:234
↓ 1 callersMethodprobe_executors
(self)
smallpond/execution/scheduler.py:633
↓ 1 callersMethodprocess
This method can be overridden in subclass of `PythonScriptTask`. Parameters ---------- runtime_ctx The r
smallpond/execution/task.py:1859
↓ 1 callersMethodprocess
This method can be overridden in subclass of `ArrowComputeTask`. Parameters ---------- runtime_ctx The r
smallpond/execution/task.py:1959
↓ 1 callersMethodprocess
This method can be overridden in subclass of `ArrowStreamTask`. Parameters ---------- runtime_ctx The ru
smallpond/execution/task.py:2222
← previousnext →201–300 of 992, ranked by callers