Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 3 additions & 4 deletions src/base/conv_infinilm.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@

namespace infini::ops {

/// \deprecated Migrate to an open-source-aligned operator when available. This
/// interface will be removed in a future release.
class [[deprecated(
"Migrate to an open-source-aligned operator when available.")]] ConvInfinilm
/// \deprecated Use `Convolution`. This interface will be removed in a future
/// release.
class [[deprecated("Use `Convolution` instead.")]] ConvInfinilm
: public Operator<ConvInfinilm> {
public:
ConvInfinilm(const Tensor input, const Tensor weight,
Expand Down
7 changes: 3 additions & 4 deletions src/base/paged_attention_infinilm.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@

namespace infini::ops {

/// \deprecated Migrate to an open-source-aligned operator when available. This
/// interface will be removed in a future release.
class [[deprecated(
"Migrate to an open-source-aligned operator when available.")]]
/// \deprecated Use `FlashAttnWithKvcache`. This interface will be removed in a
/// future release.
class [[deprecated("Use `FlashAttnWithKvcache` instead.")]]
PagedAttentionInfinilm : public Operator<PagedAttentionInfinilm> {
public:
PagedAttentionInfinilm(const Tensor q, const Tensor k_cache,
Expand Down
7 changes: 3 additions & 4 deletions src/base/paged_attention_prefill_infinilm.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@

namespace infini::ops {

/// \deprecated Migrate to an open-source-aligned operator when available. This
/// interface will be removed in a future release.
class [[deprecated(
"Migrate to an open-source-aligned operator when available.")]]
/// \deprecated Use `FlashAttnVarlenFunc`. This interface will be removed in a
/// future release.
class [[deprecated("Use `FlashAttnVarlenFunc` instead.")]]
PagedAttentionPrefillInfinilm : public Operator<PagedAttentionPrefillInfinilm> {
public:
PagedAttentionPrefillInfinilm(const Tensor q, const Tensor k_cache,
Expand Down
9 changes: 4 additions & 5 deletions src/base/paged_caching_infinilm.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@

namespace infini::ops {

/// \deprecated Migrate to an open-source-aligned operator when available. This
/// interface will be removed in a future release.
class [[deprecated(
"Migrate to an open-source-aligned operator when available.")]]
PagedCachingInfinilm : public Operator<PagedCachingInfinilm> {
/// \deprecated Use `ReshapeAndCacheFlash`. This interface will be removed in a
/// future release.
class [[deprecated("Use `ReshapeAndCacheFlash` instead.")]] PagedCachingInfinilm
: public Operator<PagedCachingInfinilm> {
public:
PagedCachingInfinilm(const Tensor k, const Tensor v,
const Tensor slot_mapping, Tensor k_cache,
Expand Down
8 changes: 3 additions & 5 deletions src/base/rearrange_infinilm.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@

namespace infini::ops {

/// \deprecated Migrate to an open-source-aligned operator when available. This
/// interface will be removed in a future release.
class [[deprecated(
"Migrate to an open-source-aligned operator when available.")]]
RearrangeInfinilm : public Operator<RearrangeInfinilm> {
/// \deprecated Use `Copy`. This interface will be removed in a future release.
class [[deprecated("Use `Copy` instead.")]] RearrangeInfinilm
: public Operator<RearrangeInfinilm> {
public:
RearrangeInfinilm(const Tensor input, Tensor out)
: input_shape_{input.shape()},
Expand Down
7 changes: 3 additions & 4 deletions src/base/top_k_top_p_sample_infinilm.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@

namespace infini::ops {

/// \deprecated Migrate to an open-source-aligned operator when available. This
/// interface will be removed in a future release.
class [[deprecated(
"Migrate to an open-source-aligned operator when available.")]]
/// \deprecated Use `TopKTopPSamplingFromLogits`. This interface will be removed
/// in a future release.
class [[deprecated("Use `TopKTopPSamplingFromLogits` instead.")]]
TopKTopPSampleInfinilm : public Operator<TopKTopPSampleInfinilm> {
public:
TopKTopPSampleInfinilm(const Tensor logits, std::optional<Tensor> k,
Expand Down
9 changes: 4 additions & 5 deletions src/base/zeros_infinilm.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@

namespace infini::ops {

/// \deprecated Migrate to an open-source-aligned operator when available. This
/// interface will be removed in a future release.
class [[deprecated(
"Migrate to an open-source-aligned operator when available.")]]
ZerosInfinilm : public Operator<ZerosInfinilm> {
/// \deprecated Use `Fill` with a value of zero. This interface will be removed
/// in a future release.
class [[deprecated("Use `Fill` with a value of zero instead.")]] ZerosInfinilm
: public Operator<ZerosInfinilm> {
public:
ZerosInfinilm(const Tensor input, Tensor out)
: input_shape_{input.shape()},
Expand Down
Loading