Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catid/supercharger
/ functions
Functions
238 in github.com/catid/supercharger
⨍
Functions
238
◇
Types & classes
19
↳
Endpoints
3
↓ 1 callers
Function
find_smallest_element
(13) Finds the smallest element in a given vector of integers.
airate/tests/bad_code.cpp:152
↓ 1 callers
Function
function_source
(node, file_contents)
airate/airate_cpp.py:39
↓ 1 callers
Function
functions_in_file
(cursor, file_path)
airate/airate_cpp.py:25
↓ 1 callers
Function
gcd_lcm
(a, b)
airate/tests/gcd.py:1
↓ 1 callers
Function
generate_requirements
(project_path, output_file='requirements.txt')
codegen/codegen.py:103
↓ 1 callers
Function
get_even_numbers
(4) Returns a vector of even numbers from a given vector of integers.
airate/tests/bad_code.cpp:47
↓ 1 callers
Method
get_results
(self, timeout: float = 1.0)
codegen/codegen_workers.py:140
↓ 1 callers
Function
get_script_path
()
server/launch_cluster.py:37
↓ 1 callers
Method
handle_judge_pair
(self, task_id, score)
codegen/codegen.py:248
↓ 1 callers
Method
handle_results
(self)
codegen/codegen.py:255
↓ 1 callers
Function
has_system_role
(messages)
prompts/ask_templates.py:3
↓ 1 callers
Function
indent_line
(code, e, delta=1)
codegen/fix_ast_errors.py:38
↓ 1 callers
Function
is_array_of_strings
(input_array)
server/language_model.py:9
↓ 1 callers
Function
java_oracle
(code, node="localhost", port=5000, temperature=0.0, max_tokens=4)
airate/oracle.py:44
↓ 1 callers
Function
js_oracle
(code, node="localhost", port=5000, temperature=0.0, max_tokens=4)
airate/oracle.py:39
↓ 1 callers
Function
largest_sum_subarray
(11) Finds the largest sum of a contiguous subarray in a given vector of integers.
airate/tests/bad_code.cpp:128
↓ 1 callers
Method
launch
(self, work_queue, result_queue)
codegen/codegen_workers.py:95
↓ 1 callers
Function
launch_servers
(node_addresses, script_path)
server/launch_cluster.py:20
↓ 1 callers
Function
load_model_baize
(model_name="baize-30b", load_in_8bit=None)
server/model_baize.py:9
↓ 1 callers
Function
load_model_galpaca
(model_name="galpaca-30b", load_in_8bit=None)
server/model_galpaca.py:12
↓ 1 callers
Function
load_model_koala
(model_name="koala-13b", load_in_8bit=None)
server/model_koala.py:12
↓ 1 callers
Function
load_model_llama
(model_name="llama-65b-4bit", load_in_8bit=None)
server/model_llama.py:17
↓ 1 callers
Function
load_model_vicuna
(model_name="vicuna-13b", load_in_8bit=None)
server/model_vicuna.py:12
↓ 1 callers
Function
load_quant
(model_url, checkpoint, wbits, groupsize, device, warmup_autotune = True)
server/gptq.py:708
↓ 1 callers
Function
main
()
server/launch_cluster.py:51
↓ 1 callers
Function
main
(args)
server/test_model.py:34
↓ 1 callers
Function
main
()
server/load_balancer.py:61
↓ 1 callers
Function
main
(args)
server/test_client.py:11
↓ 1 callers
Function
main
(args)
server/benchmark_model.py:36
↓ 1 callers
Function
main
(args)
server/server.py:67
↓ 1 callers
Function
main
()
codegen/test_clean_code.py:89
↓ 1 callers
Function
main
(args)
codegen/codegen.py:310
↓ 1 callers
Function
main
()
airate/airate.py:46
↓ 1 callers
Function
make_quant
(module, names, bits, groupsize, name='')
server/gptq.py:686
↓ 1 callers
Function
make_quant_attn
Replace all LlamaAttention modules with QuantLlamaAttention modules, fusing the q, k, v projections.
server/gptq.py:533
↓ 1 callers
Function
only_defs_and_imports
(code_string, strip_import_mods=[], strip_import_funcs=[])
codegen/clean_code.py:13
↓ 1 callers
Function
parse_unbalanced_paren
(error_message)
codegen/fix_ast_errors.py:171
↓ 1 callers
Function
partition
(10a) Partition function for the Quick Sort algorithm.
airate/tests/good_code.cpp:149
↓ 1 callers
Function
php_oracle
(code, node="localhost", port=5000, temperature=0.0, max_tokens=4)
airate/oracle.py:54
↓ 1 callers
Function
process_directory
(args, path, depth=0)
airate/airate.py:35
↓ 1 callers
Method
process_next
(self, args, task_op, task_id, code, test, result_queue)
codegen/codegen_workers.py:15
↓ 1 callers
Function
py_oracle
(code, node="localhost", port=5000, temperature=0.0, max_tokens=4)
airate/oracle.py:29
↓ 1 callers
Function
read_node_addresses
(filename="load_balancer_nodes.txt")
server/launch_cluster.py:11
↓ 1 callers
Function
read_node_addresses
(filename="load_balancer_nodes.txt")
server/load_balancer.py:56
↓ 1 callers
Method
recreate_container
(self)
codegen/docker_execute.py:15
↓ 1 callers
Function
rectangleArea
(width: number, height: number)
airate/tests/good_code.ts:8
↓ 1 callers
Function
recursiveFactorial
(n)
airate/tests/fact.js:1
↓ 1 callers
Function
recursiveRangeSum
(start, end)
airate/tests/sum_ints.js:1
↓ 1 callers
Function
recursive_factorial
(n)
airate/tests/fact.py:1
↓ 1 callers
Function
remove_comments_before_first_function
(script)
codegen/clean_code.py:35
↓ 1 callers
Function
remove_duplicates
(8) Removes duplicate elements from a given vector of integers.
airate/tests/bad_code.cpp:95
↓ 1 callers
Function
replace_filename_with_run_server
(path)
server/launch_cluster.py:46
↓ 1 callers
Function
replace_final_closing_char
(input_string, closing_char, opening_char)
codegen/fix_ast_errors.py:137
↓ 1 callers
Function
reverseString
(str: string)
airate/tests/good_code.ts:1
↓ 1 callers
Function
reverse_words
(5) Reverses the order of words in a given string.
airate/tests/bad_code.cpp:58
↓ 1 callers
Function
setup_clang
()
airate/airate_cpp.py:10
↓ 1 callers
Function
string_to_int
(10) Converts a given string of digits to an integer.
airate/tests/bad_code.cpp:117
↓ 1 callers
Function
test_functions
airate/tests/bad_code.cpp:169
↓ 1 callers
Function
try_adding_colon
(code, e)
codegen/fix_ast_errors.py:70
↓ 1 callers
Function
try_closing_delim
(code, e, delim)
codegen/fix_ast_errors.py:105
↓ 1 callers
Function
try_replacing_closing_with_opening
(code, e, closing_char, opening_char)
codegen/fix_ast_errors.py:153
↓ 1 callers
Function
ts_oracle
(code, node="localhost", port=5000, temperature=0.0, max_tokens=4)
airate/oracle.py:49
↓ 1 callers
Method
write_code
(self)
codegen/codegen.py:277
Method
Main
(string[] args)
airate/tests/reverse_words.cs:38
Method
Main
(string[] args)
airate/tests/range_sum.cs:17
Method
RecursiveRangeSum
(int start, int end)
airate/tests/range_sum.cs:5
Method
ReverseWords
(string input)
airate/tests/reverse_words.cs:6
Method
__init__
(self, model_name="baize-30b", load_in_8bit=True)
server/language_model.py:16
Method
__init__
(self, bits, groupsize, infeatures, outfeatures, bias)
server/gptq.py:459
Method
__init__
(self,hidden_size,num_heads,qkv_proj,o_proj,rotary_emb,)
server/gptq.py:577
Method
__init__
(self, image="python:3.10", sources_dirname="sources")
codegen/docker_execute.py:8
Method
__init__
(self, args)
codegen/codegen.py:131
Method
__init__
(self, args)
codegen/codegen_workers.py:10
Method
__init__
(self, args)
codegen/codegen_workers.py:106
Method
_hook
(args)
server/gptq.py:42
Method
_shape
(self, tensor, seq_len, bsz)
server/gptq.py:589
Function
airate_cpp
(file_path, node="localhost", port=5000)
airate/airate_cpp.py:74
Function
airate_cs
(file_path, node="localhost", port=5000)
airate/airate_cs.py:15
Function
airate_java
(file_path, node="localhost", port=5000)
airate/airate_java.py:21
Function
airate_js
(file_path, node="localhost", port=5000)
airate/airate_js.py:15
Function
airate_php
(file_path, node="localhost", port=5000)
airate/airate_php.py:9
Function
airate_py
(file_path, node="localhost", port=5000)
airate/airate_py.py:23
Function
airate_ts
(file_path, node="localhost", port=5000)
airate/airate_ts.py:11
Function
ask_endpoint
(request: Request)
server/load_balancer.py:24
Function
ask_endpoint
(data: AskData)
server/server.py:25
Function
autotune
Decorator for auto-tuning a :code:`triton.jit`'d function. .. highlight:: python .. code-block:: python @triton.autotune(configs=[ triton.Con
server/gptq.py:140
Method
backward
(ctx, grad_output)
server/gptq.py:449
Function
binary_search
(4) Performs binary search on a sorted input vector for a given target value.
airate/tests/good_code.cpp:67
Method
bubbleSort
(int[] arr)
airate/tests/bubble.java:3
Function
bubble_sort
(12) Sorts a given vector of integers using the Bubble Sort algorithm.
airate/tests/good_code.cpp:189
Function
caesar_cipher
(11) Encrypts a given string using the Caesar Cipher algorithm with a specified shift value.
airate/tests/good_code.cpp:174
Function
count_non_empty_strings
(array)
codegen/codegen.py:123
Function
count_words
(3) Counts the number of words in a given string, where words are separated by spaces.
airate/tests/good_code.cpp:48
Function
decorator
(fn)
server/gptq.py:170
Function
factorial
(1) Function to calculate the factorial of a positive integer using recursion
airate/tests/good_code.cpp:8
Method
forward
(ctx, input, qweight, scales, qzeros, g_idx, bits, maxq)
server/gptq.py:441
Method
forward
(self, x)
server/gptq.py:526
Method
forward
Input shape: Batch x Time x Channel
server/gptq.py:592
Function
gcd
(6) Calculates the greatest common divisor (GCD) of two non-negative integers using the Euclidean algorithm.
airate/tests/good_code.cpp:102
Method
handler
(signum, frame)
codegen/docker_execute.py:50
← previous
next →
101–200 of 238, ranked by callers