MCPcopy Create free account

hub / github.com/catid/supercharger / functions

Functions238 in github.com/catid/supercharger

↓ 1 callersFunctionfind_smallest_element
(13) Finds the smallest element in a given vector of integers.
airate/tests/bad_code.cpp:152
↓ 1 callersFunctionfunction_source
(node, file_contents)
airate/airate_cpp.py:39
↓ 1 callersFunctionfunctions_in_file
(cursor, file_path)
airate/airate_cpp.py:25
↓ 1 callersFunctiongcd_lcm
(a, b)
airate/tests/gcd.py:1
↓ 1 callersFunctiongenerate_requirements
(project_path, output_file='requirements.txt')
codegen/codegen.py:103
↓ 1 callersFunctionget_even_numbers
(4) Returns a vector of even numbers from a given vector of integers.
airate/tests/bad_code.cpp:47
↓ 1 callersMethodget_results
(self, timeout: float = 1.0)
codegen/codegen_workers.py:140
↓ 1 callersFunctionget_script_path
()
server/launch_cluster.py:37
↓ 1 callersMethodhandle_judge_pair
(self, task_id, score)
codegen/codegen.py:248
↓ 1 callersMethodhandle_results
(self)
codegen/codegen.py:255
↓ 1 callersFunctionhas_system_role
(messages)
prompts/ask_templates.py:3
↓ 1 callersFunctionindent_line
(code, e, delta=1)
codegen/fix_ast_errors.py:38
↓ 1 callersFunctionis_array_of_strings
(input_array)
server/language_model.py:9
↓ 1 callersFunctionjava_oracle
(code, node="localhost", port=5000, temperature=0.0, max_tokens=4)
airate/oracle.py:44
↓ 1 callersFunctionjs_oracle
(code, node="localhost", port=5000, temperature=0.0, max_tokens=4)
airate/oracle.py:39
↓ 1 callersFunctionlargest_sum_subarray
(11) Finds the largest sum of a contiguous subarray in a given vector of integers.
airate/tests/bad_code.cpp:128
↓ 1 callersMethodlaunch
(self, work_queue, result_queue)
codegen/codegen_workers.py:95
↓ 1 callersFunctionlaunch_servers
(node_addresses, script_path)
server/launch_cluster.py:20
↓ 1 callersFunctionload_model_baize
(model_name="baize-30b", load_in_8bit=None)
server/model_baize.py:9
↓ 1 callersFunctionload_model_galpaca
(model_name="galpaca-30b", load_in_8bit=None)
server/model_galpaca.py:12
↓ 1 callersFunctionload_model_koala
(model_name="koala-13b", load_in_8bit=None)
server/model_koala.py:12
↓ 1 callersFunctionload_model_llama
(model_name="llama-65b-4bit", load_in_8bit=None)
server/model_llama.py:17
↓ 1 callersFunctionload_model_vicuna
(model_name="vicuna-13b", load_in_8bit=None)
server/model_vicuna.py:12
↓ 1 callersFunctionload_quant
(model_url, checkpoint, wbits, groupsize, device, warmup_autotune = True)
server/gptq.py:708
↓ 1 callersFunctionmain
()
server/launch_cluster.py:51
↓ 1 callersFunctionmain
(args)
server/test_model.py:34
↓ 1 callersFunctionmain
()
server/load_balancer.py:61
↓ 1 callersFunctionmain
(args)
server/test_client.py:11
↓ 1 callersFunctionmain
(args)
server/benchmark_model.py:36
↓ 1 callersFunctionmain
(args)
server/server.py:67
↓ 1 callersFunctionmain
()
codegen/test_clean_code.py:89
↓ 1 callersFunctionmain
(args)
codegen/codegen.py:310
↓ 1 callersFunctionmain
()
airate/airate.py:46
↓ 1 callersFunctionmake_quant
(module, names, bits, groupsize, name='')
server/gptq.py:686
↓ 1 callersFunctionmake_quant_attn
Replace all LlamaAttention modules with QuantLlamaAttention modules, fusing the q, k, v projections.
server/gptq.py:533
↓ 1 callersFunctiononly_defs_and_imports
(code_string, strip_import_mods=[], strip_import_funcs=[])
codegen/clean_code.py:13
↓ 1 callersFunctionparse_unbalanced_paren
(error_message)
codegen/fix_ast_errors.py:171
↓ 1 callersFunctionpartition
(10a) Partition function for the Quick Sort algorithm.
airate/tests/good_code.cpp:149
↓ 1 callersFunctionphp_oracle
(code, node="localhost", port=5000, temperature=0.0, max_tokens=4)
airate/oracle.py:54
↓ 1 callersFunctionprocess_directory
(args, path, depth=0)
airate/airate.py:35
↓ 1 callersMethodprocess_next
(self, args, task_op, task_id, code, test, result_queue)
codegen/codegen_workers.py:15
↓ 1 callersFunctionpy_oracle
(code, node="localhost", port=5000, temperature=0.0, max_tokens=4)
airate/oracle.py:29
↓ 1 callersFunctionread_node_addresses
(filename="load_balancer_nodes.txt")
server/launch_cluster.py:11
↓ 1 callersFunctionread_node_addresses
(filename="load_balancer_nodes.txt")
server/load_balancer.py:56
↓ 1 callersMethodrecreate_container
(self)
codegen/docker_execute.py:15
↓ 1 callersFunctionrectangleArea
(width: number, height: number)
airate/tests/good_code.ts:8
↓ 1 callersFunctionrecursiveFactorial
(n)
airate/tests/fact.js:1
↓ 1 callersFunctionrecursiveRangeSum
(start, end)
airate/tests/sum_ints.js:1
↓ 1 callersFunctionrecursive_factorial
(n)
airate/tests/fact.py:1
↓ 1 callersFunctionremove_comments_before_first_function
(script)
codegen/clean_code.py:35
↓ 1 callersFunctionremove_duplicates
(8) Removes duplicate elements from a given vector of integers.
airate/tests/bad_code.cpp:95
↓ 1 callersFunctionreplace_filename_with_run_server
(path)
server/launch_cluster.py:46
↓ 1 callersFunctionreplace_final_closing_char
(input_string, closing_char, opening_char)
codegen/fix_ast_errors.py:137
↓ 1 callersFunctionreverseString
(str: string)
airate/tests/good_code.ts:1
↓ 1 callersFunctionreverse_words
(5) Reverses the order of words in a given string.
airate/tests/bad_code.cpp:58
↓ 1 callersFunctionsetup_clang
()
airate/airate_cpp.py:10
↓ 1 callersFunctionstring_to_int
(10) Converts a given string of digits to an integer.
airate/tests/bad_code.cpp:117
↓ 1 callersFunctiontest_functions
airate/tests/bad_code.cpp:169
↓ 1 callersFunctiontry_adding_colon
(code, e)
codegen/fix_ast_errors.py:70
↓ 1 callersFunctiontry_closing_delim
(code, e, delim)
codegen/fix_ast_errors.py:105
↓ 1 callersFunctiontry_replacing_closing_with_opening
(code, e, closing_char, opening_char)
codegen/fix_ast_errors.py:153
↓ 1 callersFunctionts_oracle
(code, node="localhost", port=5000, temperature=0.0, max_tokens=4)
airate/oracle.py:49
↓ 1 callersMethodwrite_code
(self)
codegen/codegen.py:277
MethodMain
(string[] args)
airate/tests/reverse_words.cs:38
MethodMain
(string[] args)
airate/tests/range_sum.cs:17
MethodRecursiveRangeSum
(int start, int end)
airate/tests/range_sum.cs:5
MethodReverseWords
(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
Functionairate_cpp
(file_path, node="localhost", port=5000)
airate/airate_cpp.py:74
Functionairate_cs
(file_path, node="localhost", port=5000)
airate/airate_cs.py:15
Functionairate_java
(file_path, node="localhost", port=5000)
airate/airate_java.py:21
Functionairate_js
(file_path, node="localhost", port=5000)
airate/airate_js.py:15
Functionairate_php
(file_path, node="localhost", port=5000)
airate/airate_php.py:9
Functionairate_py
(file_path, node="localhost", port=5000)
airate/airate_py.py:23
Functionairate_ts
(file_path, node="localhost", port=5000)
airate/airate_ts.py:11
Functionask_endpoint
(request: Request)
server/load_balancer.py:24
Functionask_endpoint
(data: AskData)
server/server.py:25
Functionautotune
Decorator for auto-tuning a :code:`triton.jit`'d function. .. highlight:: python .. code-block:: python @triton.autotune(configs=[ triton.Con
server/gptq.py:140
Methodbackward
(ctx, grad_output)
server/gptq.py:449
Functionbinary_search
(4) Performs binary search on a sorted input vector for a given target value.
airate/tests/good_code.cpp:67
MethodbubbleSort
(int[] arr)
airate/tests/bubble.java:3
Functionbubble_sort
(12) Sorts a given vector of integers using the Bubble Sort algorithm.
airate/tests/good_code.cpp:189
Functioncaesar_cipher
(11) Encrypts a given string using the Caesar Cipher algorithm with a specified shift value.
airate/tests/good_code.cpp:174
Functioncount_non_empty_strings
(array)
codegen/codegen.py:123
Functioncount_words
(3) Counts the number of words in a given string, where words are separated by spaces.
airate/tests/good_code.cpp:48
Functiondecorator
(fn)
server/gptq.py:170
Functionfactorial
(1) Function to calculate the factorial of a positive integer using recursion
airate/tests/good_code.cpp:8
Methodforward
(ctx, input, qweight, scales, qzeros, g_idx, bits, maxq)
server/gptq.py:441
Methodforward
(self, x)
server/gptq.py:526
Methodforward
Input shape: Batch x Time x Channel
server/gptq.py:592
Functiongcd
(6) Calculates the greatest common divisor (GCD) of two non-negative integers using the Euclidean algorithm.
airate/tests/good_code.cpp:102
Methodhandler
(signum, frame)
codegen/docker_execute.py:50
← previousnext →101–200 of 238, ranked by callers