MCPcopy Create free account

hub / github.com/0hq/WebGPT / functions

Functions245 in github.com/0hq/WebGPT

↓ 60 callersMethodpush
({ passes, resultBuffer })
other/test.js:397
↓ 24 callersMethodinitBuffer
(ops, dims)
condensed/condensed.js:117
↓ 21 callersFunctionwgSize
(dim, size)
globals.js:45
↓ 20 callersMethodinitBindGroup
(layout, buffers, label = "")
instructions.js:20
↓ 20 callersMethodinitBindGroup
(layout, buffers, label = "")
condensed/condensed.js:106
↓ 18 callersMethodinitTensor
(data, dims, ops)
condensed/condensed.js:1814
↓ 17 callersFunctionwgSize
(dim, size)
condensed/condensed.js:35
↓ 16 callersFunctionfetchBin
(url)
condensed/condensed.js:29
↓ 16 callersMethodnewInstance
(rows, cols, inputBuf)
instructions.js:683
↓ 16 callersMethodnewInstance
(rows, cols, inputBuf)
condensed/condensed.js:723
↓ 14 callersMethodbufferSize
(dimA, dimB = 1)
instructions.js:77
↓ 12 callersMethodfetchAndInitTensor
(url, dims, ops)
model.js:484
↓ 12 callersMethodinitBuffer
(ops, row, col = 1, noDelete = false)
other/scratchpad.js:423
↓ 11 callersMethodbufferSize
(dimX, dimY = 1, dimZ = 1)
condensed/condensed.js:1831
↓ 10 callersMethodinitPipeline
(code, bindGroupLayouts, label = "", constants = {})
instructions.js:102
↓ 10 callersMethodinitPipeline
(code, bindGroupLayouts, label = "", constants = {})
condensed/condensed.js:149
↓ 10 callersMethodinitResultBuffer
(dims)
instructions.js:57
↓ 10 callersMethodinitTensor
(data, dims, ops)
model.js:490
↓ 10 callersMethodinitUniform
(size, values)
instructions.js:31
↓ 10 callersFunctionzeros
(dim)
globals.js:78
↓ 9 callersMethoddestroy
()
visuals.js:238
↓ 9 callersFunctionvalidateResult
(result, validate, verbose = false)
other/validation/validation.js:139
↓ 8 callersMethodinitBindGroup
(layout, buffers)
other/scratchpad.js:407
↓ 7 callersFunctiontranspose
(array, input_rows, input_cols)
condensed/condensed.js:68
↓ 6 callersFunctionord
(x)
tokenizer.js:168
↓ 6 callersFunctionord
(x)
condensed/condensed.js:1391
↓ 5 callersFunctionfetchBin
(url)
globals.js:39
↓ 5 callersFunctionformatAsMatrix
(floatArray, dimA, dimB)
other/validation/validation.js:224
↓ 5 callersMethodinitBuffer
(ops, dims, key = "")
instructions.js:67
↓ 5 callersMethodinitPipeline
(code, bindGroupLayouts, label = "", constants = {})
other/scratchpad.js:52
↓ 5 callersFunctiontranspose
(array, input_rows, input_cols)
globals.js:80
↓ 4 callersMethodbufferSize
(dimX, dimY = 1, dimZ = 1)
model.js:507
↓ 4 callersMethodbufferSize
(dimX, dimY = 1, dimZ = 1)
other/scratchpad.js:446
↓ 4 callersFunctionrange
(x, y)
tokenizer.js:162
↓ 4 callersFunctionrange
(x, y)
condensed/condensed.js:1386
↓ 4 callersFunctionsampleFromDistribution
(probs)
globals.js:47
↓ 3 callersMethoddestroy
()
instructions.js:114
↓ 2 callersMethodbufferSize
(dimX, dimY = 1, dimZ = 1)
other/test.js:497
↓ 2 callersFunctioncpuSoftmax
(logits, temperature = 1.0)
globals.js:59
↓ 2 callersMethoddecode
(arr)
tokenizer.js:20
↓ 2 callersMethoddecode
(arr)
condensed/condensed.js:1244
↓ 2 callersMethoddestroyBuffers
()
instructions.js:132
↓ 2 callersMethodencode
(str)
tokenizer.js:16
↓ 2 callersMethodencode
(str)
condensed/condensed.js:1240
↓ 2 callersFunctionget_pairs
(word)
tokenizer.js:199
↓ 2 callersFunctionget_pairs
(word)
condensed/condensed.js:1422
↓ 2 callersMethodinitTensor
(data, dims, ops)
other/test.js:480
↓ 2 callersFunctioninitializeOperations
(device)
globals.js:13
↓ 2 callersMethodload
()
tokenizer.js:8
↓ 2 callersFunctionquantizeMatrix
(matrix, M, N)
other/int8-gemm.js:25
↓ 1 callersMethodbpe
(token)
tokenizer.js:118
↓ 1 callersMethodbpe
(token)
condensed/condensed.js:1342
↓ 1 callersMethodbufferSize
(dimA, dimB = 1)
condensed/condensed.js:126
↓ 1 callersMethodbufferSize
(dimA, dimB = 1)
other/scratchpad.js:31
↓ 1 callersFunctionbytes_to_unicode
()
tokenizer.js:180
↓ 1 callersFunctionbytes_to_unicode
()
condensed/condensed.js:1403
↓ 1 callersFunctioncheckAlmostEqualMatrices
(a, b)
other/validation/validation.js:207
↓ 1 callersMethodclearBufferCache
()
instructions.js:123
↓ 1 callersFunctionclearOperationCache
()
globals.js:21
↓ 1 callersFunctioncpuSoftmax
(logits, temperature = 1.0)
condensed/condensed.js:49
↓ 1 callersFunctiondequantizeMatrix
(quantizedMatrix, absmax, M, N)
other/int8-gemm.js:48
↓ 1 callersMethoddestroyBuffers
()
condensed/condensed.js:161
↓ 1 callersMethoddestroyBuffers
()
other/scratchpad.js:455
↓ 1 callersFunctiondestroyOperationBuffers
()
globals.js:17
↓ 1 callersFunctiondestroyOperationBuffers
()
condensed/condensed.js:17
↓ 1 callersMethoddestroyPipelineCache
()
instructions.js:119
↓ 1 callersFunctiondictZip
(x, y)
tokenizer.js:172
↓ 1 callersFunctiondictZip
(x, y)
condensed/condensed.js:1395
↓ 1 callersFunctionexport_pytorch_checkpoint_to_bin_files
(ckpt_path, folder_name)
other/conversion_scripts/convert_checkpoint_pytorch.py:30
↓ 1 callersFunctionexport_weights_to_files
(model, folder_name)
other/conversion_scripts/convert_pretrained_pytorch.py:19
↓ 1 callersMethodfastMatMul
(flag)
instructions.js:179
↓ 1 callersMethodfastMatMul
(flag)
condensed/condensed.js:207
↓ 1 callersMethodfetchAndSplitQKVBiasTensors
(url, dims, ops)
model.js:470
↓ 1 callersMethodfetchAndSplitQKVWeightTensors
(url, dims, ops)
model.js:456
↓ 1 callersMethodfusedShader
(wg_size, transpose)
instructions.js:593
↓ 1 callersMethodfusedShader
(wg_size, transpose)
condensed/condensed.js:631
↓ 1 callersMethodgetCausalMaskPipeline
()
other/test.js:41
↓ 1 callersMethodgetFormatQPipeline
()
instructions.js:977
↓ 1 callersMethodgetFormatQPipeline
()
condensed/condensed.js:984
↓ 1 callersMethodgetFusedPipeline
(workgroups, transpose)
instructions.js:559
↓ 1 callersMethodgetFusedPipeline
(workgroups, transpose)
condensed/condensed.js:595
↓ 1 callersMethodgetNewAttentionValuesPipeline
()
instructions.js:969
↓ 1 callersMethodgetNewAttentionValuesPipeline
()
condensed/condensed.js:976
↓ 1 callersMethodgetNewAttentionWeightsPipeline
()
instructions.js:961
↓ 1 callersMethodgetNewAttentionWeightsPipeline
()
condensed/condensed.js:968
↓ 1 callersMethodgetNormPipeline
()
instructions.js:401
↓ 1 callersMethodgetNormPipeline
()
condensed/condensed.js:433
↓ 1 callersMethodgetPipeline
(rows)
instructions.js:147
↓ 1 callersMethodgetPipeline
()
instructions.js:328
↓ 1 callersMethodgetPipeline
()
instructions.js:675
↓ 1 callersMethodgetPipeline
()
instructions.js:836
↓ 1 callersMethodgetPipeline
(rows)
condensed/condensed.js:174
↓ 1 callersMethodgetPipeline
()
condensed/condensed.js:358
↓ 1 callersMethodgetPipeline
()
condensed/condensed.js:715
↓ 1 callersMethodgetPipeline
()
condensed/condensed.js:841
↓ 1 callersMethodgetPipeline
(rows)
other/scratchpad.js:82
↓ 1 callersMethodgetPipeline
()
other/test.js:181
↓ 1 callersMethodgetPipeline
()
other/test.js:261
↓ 1 callersMethodgetStatsPipeline
(workgroups)
instructions.js:393
↓ 1 callersMethodgetStatsPipeline
(workgroups)
condensed/condensed.js:425
next →1–100 of 245, ranked by callers