Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabrizian committed Mar 8, 2023
1 parent c6e2dc1 commit a67b7ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
12 changes: 6 additions & 6 deletions include/triton/core/tritonbackend.h
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ TRITONBACKEND_RequestOutputBufferProperties(
TRITONBACKEND_DECLSPEC TRITONSERVER_Error* TRITONBACKEND_RequestRelease(
TRITONBACKEND_Request* request, uint32_t release_flags);

/// Get the trace associted with a request. The returned trace is owned by the
/// Get the trace associated with a request. The returned trace is owned by the
/// request, not the caller, and so should not be modified or freed.
///
/// \param request The inference request.
Expand Down Expand Up @@ -588,7 +588,7 @@ TRITONBACKEND_ResponseFactorySendFlags(
/// response using TRITONBACKEND_ResponseOutput and
/// TRITONBACKEND_OutputBuffer *before* another response is created
/// for the request. For a given response, outputs can be created in
/// any order but they must be created sequentially/sychronously (for
/// any order but they must be created sequentially/synchronously (for
/// example, the backend cannot use multiple threads to simultaneously
/// add multiple outputs to a response).
///
Expand Down Expand Up @@ -720,7 +720,7 @@ TRITONBACKEND_DECLSPEC TRITONSERVER_Error* TRITONBACKEND_StateNew(
const int64_t* shape, const uint32_t dims_count);

/// Update the state for the sequence. Calling this function will replace the
/// state stored for this seqeunce in Triton with 'state' provided in the
/// state stored for this sequence in Triton with 'state' provided in the
/// function argument. If this function is called when sequence batching is not
/// enabled or there is no 'states' section in the sequence batching section of
/// the model configuration, this call will return an error. The backend is not
Expand Down Expand Up @@ -869,7 +869,7 @@ TRITONBACKEND_BackendSetExecutionPolicy(
/// communicated to Triton as indicated by 'artifact_type'.
///
/// TRITONBACKEND_ARTIFACT_FILESYSTEM: The backend artifacts are
/// made available to Triton via the local filesytem. 'location'
/// made available to Triton via the local filesystem. 'location'
/// returns the full path to the directory containing this
/// backend's artifacts. The returned string is owned by Triton,
/// not the caller, and so should not be modified or freed.
Expand Down Expand Up @@ -937,7 +937,7 @@ TRITONBACKEND_DECLSPEC TRITONSERVER_Error* TRITONBACKEND_ModelVersion(
/// communicated to Triton as indicated by 'artifact_type'.
///
/// TRITONBACKEND_ARTIFACT_FILESYSTEM: The model artifacts are made
/// available to Triton via the local filesytem. 'location'
/// available to Triton via the local filesystem. 'location'
/// returns the full path to the directory in the model repository
/// that contains this model's artifacts. The returned string is
/// owned by Triton, not the caller, and so should not be modified
Expand Down Expand Up @@ -1430,7 +1430,7 @@ TRITONBACKEND_BackendAttributeAddPreferredInstanceGroup(
///
/// \param batcher User-defined placeholder for backend to store and
/// retrieve information about the batching strategy for this
/// model.RITONBACKEND_ISPEC return a TRITONSERVER_Error indicating success or
/// model. TRITONBACKEND_ISPEC returns a TRITONSERVER_Error indicating success or
/// failure. \param model The backend model for which Triton is forming a batch.
/// \return a TRITONSERVER_Error indicating success or failure.
TRITONBACKEND_ISPEC TRITONSERVER_Error* TRITONBACKEND_ModelBatcherInitialize(
Expand Down
14 changes: 2 additions & 12 deletions include/triton/core/tritonserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -862,8 +862,7 @@ TRITONSERVER_DECLSPEC TRITONSERVER_Error* TRITONSERVER_InferenceTraceModelName(
/// \param trace The trace.
/// \param name The name associated with the trace.
/// \return a TRITONSERVER_Error indicating success or failure.
TRITONSERVER_DECLSPEC TRITONSERVER_Error*
TRITONSERVER_InferenceTraceSetModelName(
TRITONSERVER_DECLSPEC TRITONSERVER_Error* TRITONSERVER_InferenceTraceSetName(
TRITONSERVER_InferenceTrace* trace, const char* name);

/// Get the name associated with a trace. The caller does
Expand All @@ -874,16 +873,7 @@ TRITONSERVER_InferenceTraceSetModelName(
/// \param name Returns the name associated with the trace.
/// \return a TRITONSERVER_Error indicating success or failure.
TRITONSERVER_DECLSPEC TRITONSERVER_Error* TRITONSERVER_InferenceTraceName(
TRITONSERVER_InferenceTrace* trace, const char** name);

/// Set the name associated with a trace.
///
/// \param trace The trace.
/// \param trace_name The anme associated with a trace.
/// \return a TRITONSERVER_Error indicating success or failure.
TRITONSERVER_DECLSPEC TRITONSERVER_Error*
TRITONSERVER_InferenceTraceSetName(
TRITONSERVER_InferenceTrace* trace, const char* trace_name);
TRITONSERVER_InferenceTrace* trace, const char** trace_name);

/// Get the version of the model associated with a trace.
///
Expand Down

0 comments on commit a67b7ef

Please sign in to comment.