mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	embedding : remove unused code (#1426)
This commit is contained in:
		@@ -56,9 +56,6 @@ int main(int argc, char ** argv) {
 | 
				
			|||||||
    // tokenize the prompt
 | 
					    // tokenize the prompt
 | 
				
			||||||
    auto embd_inp = ::llama_tokenize(ctx, params.prompt, true);
 | 
					    auto embd_inp = ::llama_tokenize(ctx, params.prompt, true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // determine newline token
 | 
					 | 
				
			||||||
    auto llama_token_newline = ::llama_tokenize(ctx, "\n", false);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    if (params.verbose_prompt) {
 | 
					    if (params.verbose_prompt) {
 | 
				
			||||||
        fprintf(stderr, "\n");
 | 
					        fprintf(stderr, "\n");
 | 
				
			||||||
        fprintf(stderr, "%s: prompt: '%s'\n", __func__, params.prompt.c_str());
 | 
					        fprintf(stderr, "%s: prompt: '%s'\n", __func__, params.prompt.c_str());
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user