Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: in-register lookup table & SIMD for 4bit PQ #3178

Merged
merged 30 commits into from
Dec 5, 2024
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
Signed-off-by: BubbleCal <[email protected]>
BubbleCal committed Nov 27, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
miri64 Martine Lenders
commit a2bc89749c8feffd6d7d4c7644b1201fc4b757de
2 changes: 1 addition & 1 deletion rust/lance-linalg/src/simd/u8.rs
Original file line number Diff line number Diff line change
@@ -186,7 +186,7 @@
fn reduce_min(&self) -> u8 {
#[cfg(target_arch = "x86_64")]
unsafe {
let low = _mm_and_si128(self.0, _mm_set1_epi8(0xFF));
let low = _mm_and_si128(self.0, _mm_set1_epi8(0xFF as i8));

Check failure on line 189 in rust/lance-linalg/src/simd/u8.rs

GitHub Actions / linux-build (nightly)

literal out of range for `i8`
let high = _mm_srli_si128(self.0, 8);
let min_low = _mm_min_epu8(low, high);
let min_low = _mm_min_epu8(min_low, _mm_srli_si128(min_low, 4));

Unchanged files with check annotations Beta

&self,
dir_path: impl Into<&Path> + Send,
unmodified_since: Option<DateTime<Utc>>,
) -> Result<BoxStream<Result<ObjectMeta>>>;

Check warning on line 65 in rust/lance-io/src/object_store.rs

GitHub Actions / linux-build (nightly)

elided lifetime has a name
}
#[async_trait]
&self,
dir_path: impl Into<&Path> + Send,
unmodified_since: Option<DateTime<Utc>>,
) -> Result<BoxStream<Result<ObjectMeta>>> {

Check warning on line 74 in rust/lance-io/src/object_store.rs

GitHub Actions / linux-build (nightly)

elided lifetime has a name
let mut output = self.list(Some(dir_path.into()));
if let Some(unmodified_since_val) = unmodified_since {
output = output
pub fn remove_stream<'a>(
&'a self,
locations: BoxStream<'a, Result<Path>>,
) -> BoxStream<Result<Path>> {

Check warning on line 655 in rust/lance-io/src/object_store.rs

GitHub Actions / linux-build (nightly)

elided lifetime has a name
self.inner
.delete_stream(locations.err_into::<ObjectStoreError>().boxed())
.err_into::<Error>()
fn cast_dictionary_arrays<'a, T: ArrowDictionaryKeyType + 'static>(
arrays: &'a [&'a ArrayRef],
) -> Vec<&Arc<dyn Array>> {

Check warning on line 489 in rust/lance-file/src/writer/statistics.rs

GitHub Actions / linux-build (nightly)

elided lifetime has a name
arrays
.iter()
.map(|x| x.as_dictionary::<T>().values())