Pin the revision used for phi-v2 + make it the default. (#1572)

* Pin the revision used for phi-v2 + make it the default.

* Tweak the custom-ops build.
This commit is contained in:
Laurent Mazare
2024-01-12 09:19:30 +01:00
committed by GitHub
parent 41915184bb
commit 6242276c09
2 changed files with 3 additions and 10 deletions

View File

@ -27,11 +27,5 @@ fn main() -> Result<()> {
bindings.write(kdir.rust_target).unwrap()
}
}
#[cfg(not(feature = "cuda"))]
{
for kdir in KERNEL_DIRS.iter() {
let _file = std::fs::File::create(kdir.rust_target)?;
}
}
Ok(())
}