diff --git a/.gitattributes b/.gitattributes index c0b29e7f56361ff9f392272ddc0c2b490013015c..ffdb50485e44c1b0d3bad8d9b0878c73b4fd14e2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1769,3 +1769,4 @@ vllm/lib/python3.10/site-packages/cupy/_core/flags.cpython-310-x86_64-linux-gnu. vllm/lib/python3.10/site-packages/cupy/_core/_accelerator.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text vllm/lib/python3.10/site-packages/cupy/_core/_fusion_kernel.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text vllm/lib/libcrypto.so filter=lfs diff=lfs merge=lfs -text +vllm/lib/libcrypto.a filter=lfs diff=lfs merge=lfs -text diff --git a/vllm/lib/libcrypto.a b/vllm/lib/libcrypto.a new file mode 100644 index 0000000000000000000000000000000000000000..ca3c8ee148a475b9bf722d9dc8bc39201c246cbb --- /dev/null +++ b/vllm/lib/libcrypto.a @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a24a0e923980a3ecf86ea44854f64a05ff75ed5b1e4ee1ebbbb8a043073a1b1 +size 11086938 diff --git a/vllm/lib/python3.10/site-packages/cupy/_core/include/cupy/_cccl/thrust/thrust/detail/algorithm_wrapper.h b/vllm/lib/python3.10/site-packages/cupy/_core/include/cupy/_cccl/thrust/thrust/detail/algorithm_wrapper.h new file mode 100644 index 0000000000000000000000000000000000000000..c732e106c1df71b294ecde2f2696c330724b5daa --- /dev/null +++ b/vllm/lib/python3.10/site-packages/cupy/_core/include/cupy/_cccl/thrust/thrust/detail/algorithm_wrapper.h @@ -0,0 +1,37 @@ +/* + * Copyright 2020 NVIDIA Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#pragma once + +#include + +#if defined(_CCCL_IMPLICIT_SYSTEM_HEADER_GCC) +# pragma GCC system_header +#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_CLANG) +# pragma clang system_header +#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) +# pragma system_header +#endif // no system header + +// When a compiler uses Thrust as part of its implementation of Standard C++ +// algorithms, a cycle of included files may result when Thrust code tries to +// use a standard algorithm. Having a macro that is defined only when Thrust +// is including an algorithms-related header gives the compiler a chance to +// detect and break the cycle of includes. + +#define THRUST_INCLUDING_ALGORITHMS_HEADER +#include +#undef THRUST_INCLUDING_ALGORITHMS_HEADER diff --git a/vllm/lib/python3.10/site-packages/cupy/_core/include/cupy/_cccl/thrust/thrust/detail/allocator/allocator_traits.h b/vllm/lib/python3.10/site-packages/cupy/_core/include/cupy/_cccl/thrust/thrust/detail/allocator/allocator_traits.h new file mode 100644 index 0000000000000000000000000000000000000000..4a87333c2267aeb185c1f4e1b6c86026e9bbe124 --- /dev/null +++ b/vllm/lib/python3.10/site-packages/cupy/_core/include/cupy/_cccl/thrust/thrust/detail/allocator/allocator_traits.h @@ -0,0 +1,350 @@ +/* + * Copyright 2008-2018 NVIDIA Corporation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// allocator_traits::rebind_alloc and allocator::rebind_traits are from libc++, +// dual licensed under the MIT and the University of Illinois Open Source +// Licenses. + +#pragma once + +#include + +#if defined(_CCCL_IMPLICIT_SYSTEM_HEADER_GCC) +# pragma GCC system_header +#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_CLANG) +# pragma clang system_header +#elif defined(_CCCL_IMPLICIT_SYSTEM_HEADER_MSVC) +# pragma system_header +#endif // no system header + +#include +#include +#include +#include +#include + +THRUST_NAMESPACE_BEGIN +namespace detail +{ + +// forward declaration for has_member_system +template +struct allocator_system; + +namespace allocator_traits_detail +{ + +__THRUST_DEFINE_HAS_NESTED_TYPE(has_value_type, value_type) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_pointer, pointer) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_const_pointer, const_pointer) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_reference, reference) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_const_reference, const_reference) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_void_pointer, void_pointer) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_const_void_pointer, const_void_pointer) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_difference_type, difference_type) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_size_type, size_type) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_propagate_on_container_copy_assignment, propagate_on_container_copy_assignment) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_propagate_on_container_move_assignment, propagate_on_container_move_assignment) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_propagate_on_container_swap, propagate_on_container_swap) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_system_type, system_type) +__THRUST_DEFINE_HAS_NESTED_TYPE(has_is_always_equal, is_always_equal) +__THRUST_DEFINE_HAS_MEMBER_FUNCTION(has_member_system_impl, system) + +template +struct has_rebind +{ + using yes_type = char; + using no_type = int; + + template + static yes_type test(typename S::template rebind::other*); + template + static no_type test(...); + + static bool const value = sizeof(test(0)) == sizeof(yes_type); + + using type = thrust::detail::integral_constant; +}; + +_CCCL_SUPPRESS_DEPRECATED_PUSH + +// The following fields of std::allocator have been deprecated (since C++17). +// There's no way to detect it other than explicit specialization. +#if _CCCL_STD_VER >= 2017 +# define THRUST_SPECIALIZE_DEPRECATED(trait_name) \ + template \ + struct trait_name> : false_type \ + {}; + +THRUST_SPECIALIZE_DEPRECATED(has_is_always_equal) +THRUST_SPECIALIZE_DEPRECATED(has_pointer) +THRUST_SPECIALIZE_DEPRECATED(has_const_pointer) +THRUST_SPECIALIZE_DEPRECATED(has_reference) +THRUST_SPECIALIZE_DEPRECATED(has_const_reference) + +# undef THRUST_SPECIALIZE_DEPRECATED + +template +struct has_rebind, U> : false_type +{}; +#endif + +template +struct nested_pointer +{ + using type = typename T::pointer; +}; + +template +struct nested_const_pointer +{ + using type = typename T::const_pointer; +}; + +template +struct nested_reference +{ + using type = typename T::reference; +}; + +template +struct nested_const_reference +{ + using type = typename T::const_reference; +}; + +template +struct nested_void_pointer +{ + using type = typename T::void_pointer; +}; + +template +struct nested_const_void_pointer +{ + using type = typename T::const_void_pointer; +}; + +template +struct nested_difference_type +{ + using type = typename T::difference_type; +}; + +template +struct nested_size_type +{ + using type = typename T::size_type; +}; + +template +struct nested_propagate_on_container_copy_assignment +{ + using type = typename T::propagate_on_container_copy_assignment; +}; + +template +struct nested_propagate_on_container_move_assignment +{ + using type = typename T::propagate_on_container_move_assignment; +}; + +template +struct nested_propagate_on_container_swap +{ + using type = typename T::propagate_on_container_swap; +}; + +template +struct nested_is_always_equal +{ + using type = typename T::is_always_equal; +}; + +template +struct nested_system_type +{ + using type = typename T::system_type; +}; + +template +struct has_member_system +{ + using system_type = typename allocator_system::type; + + using type = typename has_member_system_impl::type; + static const bool value = type::value; +}; + +_CCCL_SUPPRESS_DEPRECATED_POP + +template ::value> +struct rebind_alloc +{ + using type = typename Alloc::template rebind::other; +}; + +template