This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import matplotlib.pyplot as plt | |
import re | |
# Defining the command template | |
cmd = "./main \ | |
--seed 147369852 \ | |
--threads {threads} \ | |
--n_predict 128 \ | |
--model ./models/7B/ggml-model-q4_0.bin \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// [dependencies] | |
// futures = "0.1.27" | |
// http = "0.1.17" | |
// tokio = "0.1.21" | |
// tower-request-modifier = { git = "https://github.com/tower-rs/tower-http" } | |
// tower-grpc = { version = "0.1.0", features = ["tower-hyper"] } | |
// tower-service = "0.2" | |
// tower-util = "0.1" | |
// tokio-rustls = "0.10.0-alpha.3" |