Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
wgifford committed Jan 28, 2025
1 parent be9c9aa commit c4cf9c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion services/inference/tsfminference/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ hfutil.py
inference_payloads.py
service_handler.py
tsfm_config.py
tsfm_service_handler.py
7 changes: 6 additions & 1 deletion services/inference/tsfminference/hf_inference_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from tsfm_public.toolkit.time_series_preprocessor import extend_time_series
from tsfm_public.toolkit.util import select_by_index

from .hf_service_handler import ForecastingHuggingFaceHandler
from .hf_service_handler import ForecastingHuggingFaceHandler, TinyTimeMixerForecastingHandler
from .inference_payloads import ForecastingMetadataInput, ForecastingParameters
from .service_handler import (
ForecastingInferenceHandler,
Expand Down Expand Up @@ -163,3 +163,8 @@ def _calculate_data_point_counts(
}
LOGGER.info(f"Data point counts: {counts}")
return counts


class TinyTimeMixerForecastingInferenceHandler(
TinyTimeMixerForecastingHandler, ForecastingHuggingFaceInferenceHandler
): ...

0 comments on commit c4cf9c6

Please sign in to comment.