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

[pull] main from mlc-ai:main #320

Merged
merged 1 commit into from
Jan 7, 2025
Merged
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
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
MLC LLM

Copyright (c) 2023-2024 by MLC LLM Contributors
Copyright (c) 2023-2025 by MLC LLM Contributors
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Please consider citing our project if you find it useful:
author = {{MLC team}},
title = {{MLC-LLM}},
url = {https://github.com/mlc-ai/mlc-llm},
year = {2023-2024}
year = {2023-2025}
}
```

Expand Down
2 changes: 1 addition & 1 deletion cpp/base.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file base.h
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/json_ffi/image_utils.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file json_ffi/image_utils.h
* \brief The header of Image utils for JSON FFI Engine in MLC LLM.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/json_ffi/json_ffi_engine.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file json_ffi/json_ffi_engine.h
* \brief The header of JSON FFI engine in MLC LLM.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/json_ffi/openai_api_protocol.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file json_ffi/openai_api_protocol.cc
* \brief The implementation of OpenAI API Protocol in MLC LLM.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/json_ffi/openai_api_protocol.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file json_ffi/openai_api_protocol.h
* \brief The header of OpenAI API Protocol in MLC LLM.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/config.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/config.cc
*/
#include "config.h"
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/config.h
*/
#ifndef MLC_LLM_SERVE_CONFIG_H_
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/data.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/data.cc
*/
#include "data.h"
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/data.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/data.h
*/
#ifndef MLC_LLM_SERVE_DATA_H_
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/draft_token_workspace_manager.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/draft_token_workspace_manager.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/draft_token_workspace_manager.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/draft_token_workspace_manager.h
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine.cc
* \brief The implementation for runtime module of serving engine module in MLC LLM.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine.h
* \brief The header of serving engine in MLC LLM.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/action.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/action.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/action.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/action.h
* \brief The abstraction of actions (e.g., prefill/decode) that an
* Engine can take at each time step.
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/action_commons.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/action_commons.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/action_commons.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/action_commons.h
* \brief Common functions that may be used in multiple EngineActions.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/auto_spec_decode.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/auto_spec_decode.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/batch_decode.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/batch_decode.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/batch_draft.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/batch_draft.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/batch_jumpforward.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/batch_verify.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/batch_prefill_base.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/batch_prefill_base.h
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/batch_prefill_base.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/batch_prefill_base.h
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/batch_verify.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/batch_verify.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/disagg_prepare_recv.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/new_request_prefill.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/disagg_remote_send.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/new_request_prefill.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/eagle_batch_draft.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/eagle_batch_draft.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/eagle_batch_verify.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/eagle_batch_verify.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/eagle_new_request_prefill.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/eagle_new_request_prefill.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_actions/new_request_prefill.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_actions/new_request_prefill.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_state.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_state.cc
*/
#include "engine_state.h"
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/engine_state.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/engine_state.h
*/
#ifndef MLC_LLM_SERVE_ENGINE_STATE_H_
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/event_trace_recorder.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/event_trace_recorder.cc
*/
#include "event_trace_recorder.h"
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/event_trace_recorder.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/event_trace_recorder.h
* \brief The event trace recorder for requests in MLC LLM.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/function_table.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/function_table.cc
* \brief The implementation of function table in serving for distributed inference.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/function_table.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/function_table.h
* \brief The header for function table in serving for distributed inference.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/logit_processor.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/logit_processor.cc
* \brief The implementation of logit processor.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/logit_processor.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/logit_processor.h
* \brief The header for logit processor.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/metrics.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/metrics.cc
*/
#include "metrics.h"
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/metrics.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/metric.h
* \brief Metrics of serving engine/requests.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/model.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/model.cc
* \brief The implementation of runtime module of LLM functions (prefill/decode/etc.)
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/model.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/model.h
* \brief The header for runtime module of LLM functions (prefill/decode/etc.)
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/prefix_cache.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/prefix_cache.cc
*/
#include "prefix_cache.h"
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/prefix_cache.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/prefix_cache.h
*/
#ifndef MLC_LLM_SERVE_PREFIX_CACHE_H_
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/radix_tree.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/radix_tree.cc
*/
#include "radix_tree.h"
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/radix_tree.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/radix_tree.h
*/
#ifndef MLC_LLM_SERVE_RADIX_TREE_H_
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/request.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/request.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/request.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/request.h
* \brief Implementation of llm chat.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/request_state.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/request_state.cc
*/

Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/request_state.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/request_state.h
* \brief The data structure maintaining the generation states of user requests.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/sampler/cpu_sampler.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/sampler/cpu_sampler.cc
* \brief The implementation for CPU sampler functions.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/sampler/gpu_sampler.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/sampler/gpu_sampler.cc
* \brief The implementation for GPU sampler functions.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/sampler/sampler.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/sampler/sampler.h
* \brief The header for runtime module of sampler functions.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/threaded_engine.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/threaded_engine.cc
* \brief The implementation for threaded serving engine in MLC LLM.
*/
Expand Down
2 changes: 1 addition & 1 deletion cpp/serve/threaded_engine.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2023-2024 by Contributors
* Copyright (c) 2023-2025 by Contributors
* \file serve/threaded_engine.h
* \brief The header of threaded serving engine in MLC LLM.
*/
Expand Down
Loading
Loading