MCPcopy Create free account

hub / github.com/Lyn-liyuan/moonweb / functions

Functions105 in github.com/Lyn-liyuan/moonweb

↓ 16 callersMethodsend
(&self, msg: &str)
models/flux/src/main.rs:20
↓ 15 callersMethodwrite
(&self, text: String)
src/ipc.rs:23
↓ 7 callersMethoddecode
(&self, tokens: &[u32])
src/token_output_stream.rs:26
↓ 7 callersMethodrecv
(&self)
models/flux/src/main.rs:26
↓ 5 callersFunctionaccept
(ipc_name: String)
models/pyworker/src/main.rs:7
↓ 5 callersMethodclear
(&mut self)
src/token_output_stream.rs:100
↓ 5 callersMethodget_session
(&self, id: &str)
src/web_state.rs:117
↓ 4 callersMethodend
(&self)
src/ipc.rs:28
↓ 4 callersMethodnew_session
(&mut self)
src/web_state.rs:65
↓ 4 callersMethodnext_token
(&mut self, token: u32)
src/token_output_stream.rs:37
↓ 4 callersMethodsend
(&self, msg: &str)
models/pyworker/src/main.rs:32
↓ 3 callersFunctionget_input_element_by_id
(document: &Document, id: &str)
src/authorization.rs:15
↓ 3 callersFunctionget_working_servers
()
src/master_state.rs:53
↓ 3 callersMethodtokenizer
(&self)
src/token_output_stream.rs:96
↓ 2 callersMethoddecode_rest
(&self)
src/token_output_stream.rs:56
↓ 2 callersFunctionget_expire
()
src/master_server.rs:232
↓ 2 callersFunctionget_program
(server: &WorkerServer)
src/master_state.rs:44
↓ 2 callersMethodget_token
(&self, token_s: &str)
src/token_output_stream.rs:92
↓ 2 callersFunctionget_user
()
src/authorization.rs:26
↓ 2 callersFunctionlaunch_worker
(program: &PathBuf, model_id: &String)
src/master_server.rs:191
↓ 2 callersFunctionload
()
src/phi3.rs:160
↓ 2 callersMethodrecv
(&self)
models/pyworker/src/main.rs:36
↓ 2 callersFunctionsave_config
(config:&ServerConfig)
src/master_state.rs:39
↓ 2 callersMethodsend
(&self, msg: &str)
models/llava/src/main.rs:21
↓ 1 callersFunctionaccept
(ipc_name: String)
src/ipc.rs:6
↓ 1 callersFunctionclose_login
()
src/authorization.rs:141
↓ 1 callersMethodfetch_all_session
(&mut self)
src/web_state.rs:99
↓ 1 callersFunctiongenerate_image_filename
()
models/flux/src/flux.py:16
↓ 1 callersFunctionget_master_addr
()
src/master_state.rs:57
↓ 1 callersFunctionget_servers
()
src/master_state.rs:61
↓ 1 callersFunctionhandle_unix_signals
()
src/master_server.rs:134
↓ 1 callersFunctionhub_load_safetensors
( repo: &hf_hub::api::sync::ApiRepo, json_file: &str, )
src/llama.rs:155
↓ 1 callersFunctionhub_load_safetensors
( repo: &hf_hub::api::sync::ApiRepo, json_file: &str, )
src/phi3.rs:134
↓ 1 callersFunctionis_signin
()
src/authorization.rs:107
↓ 1 callersFunctionload_model
(model_id:&str, temp: f64, top_p: f64,)
src/llama.rs:187
↓ 1 callersFunctionmaster_server
()
src/master_server.rs:162
↓ 1 callersFunctionmessages_chat_template
(msg_list: &Vec<Message>,system_prompt:&str)
models/qwen/src/main.rs:164
↓ 1 callersMethodmessages_chat_template
(&self,msg_list: &Vec<Message>,system_prompt:&str)
src/phi3.rs:116
↓ 1 callersFunctionmodal_actor
( sender: IpcSender<String>, receiver: IpcReceiver<String>, mut rx: Receiver<(Option<Sender<String
src/master_server.rs:47
↓ 1 callersFunctionnew_working_server
(server: WorkerServer)
src/master_state.rs:65
↓ 1 callersMethodrecv
(&self)
models/llava/src/main.rs:27
↓ 1 callersFunctionremove_working_server
(model_id: &str)
src/master_state.rs:74
↓ 1 callersMethodrun
(&mut self,output:&dyn OutputStream, prompt: &str, sample_len: usize)
src/phi3.rs:55
↓ 1 callersMethodrun
(&mut self,output: &impl OutputStream,prompt: &str, sample_len: usize)
models/qwen/src/main.rs:48
↓ 1 callersMethodsave_session
(&mut self, session: &Session)
src/web_state.rs:78
↓ 1 callersFunctionsendMsg
( msg: String, model_id: String, url: String, system_prompt: String, mut modelOptions: Sig
src/web.rs:182
↓ 1 callersFunctionshow_login
(closeable:bool)
src/authorization.rs:131
↓ 1 callersFunctionvalid_admin_token
(token: &str)
src/master_server.rs:265
↓ 1 callersFunctionvalid_token
(token: &str)
src/master_server.rs:247
↓ 1 callersFunctionworker_server
(ipc_name:String, model_id: String, temp: f64, top_p: f64)
src/worker_server.rs:7
FunctionConversations
(mut model_id: Signal<String>, mut system_prompt: Signal<String>, send_disabled: Signal<bool>)
src/web.rs:366
FunctionLoginBox
(endpoint: Signal<String>)
src/authorization.rs:153
FunctionModelConfig
( model_id: Signal<String>, modelOptions: Signal<Vec<SelectOption>>, mut system_prompt: Signal<Str
src/web.rs:37
FunctionPulse
()
src/web.rs:17
FunctionShowMessage
(msg: Message)
src/web.rs:140
Method__init__
( self, tokenizer: AutoTokenizer, skip_prompt: bool = False, ipc: IpcChannel = None, **decode_kwargs,
models/llava/src/llavanext.py:18
Method__init__
( self, tokenizer: AutoTokenizer, skip_prompt: bool = False, ipc: IpcChannel = None, **decode_kwargs,
models/pyworker/src/qwen2.py:8
Functionapp
()
src/web.rs:476
Functioncall_command
(AuthBearer(token): AuthBearer,cmd: String)
src/master_server.rs:322
Functioncall_worker
( AuthBearer(token): AuthBearer, Json(request): Json<Request>, )
src/master_server.rs:77
FunctioncloseLogin
()
public/login.js:20
Methoddecode_all
(&self)
src/token_output_stream.rs:72
Methoddecode_text
(&self)
src/token_output_stream.rs:76
Functiondo_login
(endpoint: Signal<String>, mut logined: Signal<bool>,mut login_failed: Signal<bool>)
src/authorization.rs:39
FunctionfetchedFromNetwork
(response)
public/sw.js:101
Methodfrom_str
(s: &str)
src/main.rs:26
Methodfrom_str
(s: &str)
src/data.rs:13
Methodinto_inner
(self)
src/token_output_stream.rs:22
Functionload
(model_id: &str, temp: f64, top_p: f64)
src/model.rs:14
Functionload_config
()
src/master_state.rs:30
Functionmain
()
src/main.rs:59
Functionmain
()
models/flux/src/main.rs:56
Functionmain
()
models/moonmodel/src/main.rs:24
Functionmain
()
models/llava/src/main.rs:57
Functionmain
()
models/qwen/src/main.rs:183
Functionmain
()
models/pyworker/build.rs:1
Functionmain
()
models/pyworker/src/main.rs:67
Methodmake
(role:Role,key:String,expire: String)
src/data.rs:73
Methodmessages_chat_template
(&self,msg_list: &Vec<Message>,system_prompt:&str)
src/llama.rs:133
Functionmodal_list
()
src/master_server.rs:223
Functionmoonipc
(_py: Python, m: &Bound<'_, PyModule>)
models/flux/src/main.rs:34
Functionmoonipc
(_py: Python, m: &Bound<'_, PyModule>)
models/llava/src/main.rs:35
Functionmoonipc
(_py: Python, m: &Bound<'_, PyModule>)
models/pyworker/src/main.rs:42
Methodnew
( model: Llama, tokenizer: Tokenizer, eos_token_id: Option<u32>, config: Confi
src/llama.rs:34
Methodnew
( model: Phi3, tokenizer: Tokenizer, seed: u64, temp: Option<f64>, top
src/phi3.rs:30
Methodnew
()
src/data.rs:66
Methodnew
(tokenizer: tokenizers::Tokenizer)
src/token_output_stream.rs:13
Methodnew
(session: &Session)
src/web_state.rs:24
Methodnew
(ipc_name: String)
models/flux/src/main.rs:15
Methodnew
(ipc_name: String)
models/llava/src/main.rs:16
Methodnew
( model: ModelBase, tokenizer: Tokenizer, seed: u64, temp: Option<f64>,
models/qwen/src/main.rs:27
Methodnew
(ipc_name: String)
models/pyworker/src/main.rs:27
Functionnew_conversation
(mut session: Signal<Session>,mut messages: Signal<Vec<Message>>)
src/web.rs:467
Methodon_finalized_text
(self, text: str, stream_end: bool = False)
models/llava/src/llavanext.py:24
Methodon_finalized_text
(self, text: str, stream_end: bool = False)
models/pyworker/src/qwen2.py:14
Methodput_token
(&mut self, token: u32)
src/token_output_stream.rs:33
Methodremove_session
(&mut self, id: &str)
src/web_state.rs:130
Functionrun
(ipc_name,model_id = "black-forest-labs/FLUX.1-schnell")
models/flux/src/flux.py:26
Functionrun
(ipc_name,model_id = "lmms-lab/llama3-llava-next-8b")
models/llava/src/llavanext.py:29
Functionrun
(ipc_name,model_id)
models/pyworker/src/qwen2.py:19
next →1–100 of 105, ranked by callers