Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jingyu6/speculative_prefill
/ functions
Functions
156 in github.com/Jingyu6/speculative_prefill
⨍
Functions
156
◇
Types & classes
26
↳
Endpoints
2
Method
_scrolls_metrics
(self)
eval/lm_eval_patch/scrolls/task.py:272
Method
_scrolls_metrics
(self)
eval/lm_eval_patch/scrolls/task.py:316
Method
_scrolls_metrics
(self)
eval/lm_eval_patch/scrolls/task.py:394
Method
aggregation
(self)
eval/lm_eval_patch/scrolls/task.py:220
Method
aggregation
(self)
eval/lm_eval_patch/scrolls/task.py:234
Function
chatglm_attn_forward_vllm
( self, hidden_states: torch.Tensor, position_ids: torch.Tensor, kv_cache: tor
eval/long_bench/minference_vllm_patch.py:191
Function
chatglm_layer_forward_vllm
( self, hidden_states: torch.Tensor, position_ids: torch.Tensor, kv_cache: tor
eval/long_bench/minference_vllm_patch.py:123
Function
chatglm_model_forward_vllm
( self, hidden_states: torch.Tensor, position_ids: torch.Tensor, kv_caches: Li
eval/long_bench/minference_vllm_patch.py:73
Function
classification_score
(prediction, ground_truth, **kwargs)
eval/long_bench/metrics.py:89
Function
clean_up_fn
()
speculative_prefill/vllm_patch/__init__.py:39
Function
code_sim_score
(prediction, ground_truth, **kwargs)
eval/long_bench/metrics.py:80
Method
compute_metrics
(samples)
eval/lm_eval_patch/scrolls/task.py:211
Method
construct_requests
(self, doc, ctx, **kwargs)
eval/lm_eval_patch/scrolls/task.py:254
Method
construct_requests
(self, doc, ctx, **kwargs)
eval/lm_eval_patch/scrolls/task.py:286
Method
construct_requests
(self, doc, ctx, **kwargs)
eval/lm_eval_patch/scrolls/task.py:328
Method
construct_requests
(self, doc, ctx, **kwargs)
eval/lm_eval_patch/scrolls/task.py:407
Function
count_score
(prediction, ground_truth, **kwargs)
eval/long_bench/metrics.py:47
Function
create_spec_worker
(*args, **kwargs)
speculative_prefill/vllm_patch/worker/spec_prefill_worker.py:33
Method
determine_num_available_blocks
(self)
speculative_prefill/vllm_patch/worker/spec_prefill_worker.py:108
Method
device
(self)
speculative_prefill/vllm_patch/worker/spec_prefill_worker.py:212
Method
doc_to_decontamination_query
(self, doc)
eval/lm_eval_patch/scrolls/task.py:157
Method
doc_to_target
(self, doc)
eval/lm_eval_patch/scrolls/task.py:197
Method
doc_to_text
(self, doc)
eval/lm_eval_patch/scrolls/task.py:295
Method
doc_to_text
(self, doc)
eval/lm_eval_patch/scrolls/task.py:431
Method
doc_to_text
(self, doc)
eval/lm_eval_patch/scrolls/task.py:468
Method
execute_model_async
( self, execute_model_req: ExecuteModelRequest, )
speculative_prefill/vllm_patch/executor/gpu_executor.py:34
Function
generate
Generate completion for the request. The request should be a JSON object with the following fields: - prompt: the prompt to use for the gener
eval/ruler_server.py:53
Method
has_test_docs
(self)
eval/lm_eval_patch/scrolls/task.py:129
Method
has_training_docs
(self)
eval/lm_eval_patch/scrolls/task.py:123
Method
has_validation_docs
(self)
eval/lm_eval_patch/scrolls/task.py:126
Function
health
Health check.
eval/ruler_server.py:47
Method
higher_is_better
(self)
eval/lm_eval_patch/scrolls/task.py:203
Method
higher_is_better
(self)
eval/lm_eval_patch/scrolls/task.py:237
Method
init_device
(self)
speculative_prefill/vllm_patch/worker/spec_prefill_worker.py:96
Method
initialize_cache
( self, num_gpu_blocks: int, num_cpu_blocks: int )
speculative_prefill/vllm_patch/worker/spec_prefill_worker.py:125
Function
llama_layer_forward_vllm
( self, positions: torch.Tensor, hidden_states: torch.Tensor, kv_cache: torch.
eval/long_bench/minference_vllm_patch.py:95
Function
llama_model_forward_vllm
( self, input_ids: Optional[torch.Tensor], positions: torch.Tensor, kv_caches:
eval/long_bench/minference_vllm_patch.py:47
Method
load_model
(self)
speculative_prefill/vllm_patch/worker/look_ahead_spec_worker.py:48
Function
minference_patch_vllm_tp
(self, config_file, patch_config)
eval/long_bench/minference_vllm_patch.py:239
Function
process_results
(doc, results)
eval/lm_eval_patch/mmlu_generative/utils.py:4
Method
process_results
(self, doc, results)
eval/lm_eval_patch/scrolls/task.py:240
Method
process_results
(self, doc, results)
eval/lm_eval_patch/scrolls/task.py:279
Method
process_results
(self, doc, results)
eval/lm_eval_patch/scrolls/task.py:319
Method
process_results
(self, doc, results)
eval/lm_eval_patch/scrolls/task.py:404
Function
qa_f1_score
(prediction, ground_truth, **kwargs)
eval/long_bench/metrics.py:128
Function
qa_f1_zh_score
(prediction, ground_truth, **kwargs)
eval/long_bench/metrics.py:137
Method
rank
(self)
speculative_prefill/vllm_patch/worker/spec_prefill_worker.py:208
Function
retrieval_score
(prediction, ground_truth, **kwargs)
eval/long_bench/metrics.py:56
Function
retrieval_zh_score
(prediction, ground_truth, **kwargs)
eval/long_bench/metrics.py:68
Function
rouge_zh_score
(prediction, ground_truth, **kwargs)
eval/long_bench/metrics.py:112
Method
should_decontaminate
(self)
eval/lm_eval_patch/scrolls/task.py:154
Method
start_worker_execution_loop
(self)
speculative_prefill/vllm_patch/worker/spec_prefill_worker.py:164
Method
training_docs
(self)
eval/lm_eval_patch/scrolls/task.py:132
Function
update_module
(m)
eval/long_bench/minference_vllm_patch.py:213
Method
validation_docs
(self)
eval/lm_eval_patch/scrolls/task.py:143
Function
vllm_attn_forward
( self, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, k
eval/long_bench/minference_vllm_patch.py:31
← previous
101–156 of 156, ranked by callers