Keep runtime files inside application support
This commit is contained in:
@@ -1838,9 +1838,13 @@ mod sampling_tests {
|
||||
#[ignore = "requires the 80 GiB Flash checkpoint and Apple Metal"]
|
||||
fn metal_executes_real_flash_token() {
|
||||
configure_metal_sources().unwrap();
|
||||
let path = Path::new(env!("CARGO_MANIFEST_DIR")).join(
|
||||
"../ds4/gguf/DeepSeek-V4-Flash-IQ2XXS-w2Q2K-AProjQ8-SExpQ8-OutQ8-chat-v2-imatrix.gguf",
|
||||
);
|
||||
let path = crate::model::engine_artifacts(
|
||||
ModelChoice::DeepSeekV4Flash,
|
||||
false,
|
||||
false,
|
||||
&crate::app::models_path(),
|
||||
)
|
||||
.model;
|
||||
let model = Model::open_main(&path, ModelChoice::DeepSeekV4Flash).unwrap();
|
||||
let tokens = model.render_prompt(
|
||||
"You are a helpful assistant",
|
||||
|
||||
Reference in New Issue
Block a user