summaryrefslogtreecommitdiff
path: root/candle-flash-attn
diff options
context:
space:
mode:
authorLaurent Mazare <laurent.mazare@gmail.com>2023-09-08 08:38:13 +0100
committerGitHub <noreply@github.com>2023-09-08 08:38:13 +0100
commit0e250aee4fcff8991c086ba0606a90db92b4e488 (patch)
tree394731df7cc9f7c21e5447d2a71c0fa2f14905d7 /candle-flash-attn
parentcfcbec9fc70aca2b0e08f382dec8634f88b61bce (diff)
downloadcandle-0e250aee4fcff8991c086ba0606a90db92b4e488.tar.gz
candle-0e250aee4fcff8991c086ba0606a90db92b4e488.tar.bz2
candle-0e250aee4fcff8991c086ba0606a90db92b4e488.zip
Shape with holes (#770)
* Shape with holes. * rustfmt.
Diffstat (limited to 'candle-flash-attn')
-rw-r--r--candle-flash-attn/build.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/candle-flash-attn/build.rs b/candle-flash-attn/build.rs
index 4cc7e5fb..64275fda 100644
--- a/candle-flash-attn/build.rs
+++ b/candle-flash-attn/build.rs
@@ -57,10 +57,13 @@ fn main() -> Result<()> {
#[allow(clippy::redundant_clone)]
out_dir.clone()
}
- Ok(build_dir) =>
- {
+ Ok(build_dir) => {
let path = PathBuf::from(build_dir);
- path.canonicalize().expect(&format!("Directory doesn't exists: {} (the current directory is {})", &path.display(), std::env::current_dir()?.display()))
+ path.canonicalize().expect(&format!(
+ "Directory doesn't exists: {} (the current directory is {})",
+ &path.display(),
+ std::env::current_dir()?.display()
+ ))
}
};
set_cuda_include_dir()?;