auto-pytorch
Route Auto-PyTorch tabular and forecasting workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- auto-pytorch
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Route Auto-PyTorch tabular and forecasting workflows.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/package-overview.md1.3 KB
- 参考文档references/repo-provenance.md1.5 KB
- 参考文档references/repo-routing-metadata.json462 B
- 参考文档references/troubleshooting.md2.9 KB
- 脚本scripts/check_install.py5.5 KB
03 SKILL.md 正文
Auto-PyTorch
Auto-PyTorch is an AutoML toolkit for PyTorch-based tabular classification, tabular regression, and time series forecasting. Use this skill when you need to search over pipeline components, tune hyperparameters, inspect ensembles, or validate data shapes before a run.
Install
Use the public package name:
pip install autoPyTorch
pip install autoPyTorch[forecasting]
Use the forecasting extra whenever you need the time-series APIs, validators, or forecasting metrics.
Quick smoke check
Run the bundled install check script after installation:
python scripts/check_install.py
That script prints the installed version, importability of the public modules, and the most important API signatures.
Route map
sub-skills/tabular-automl/
Use this route for:
TabularClassificationTaskandTabularRegressionTaskget_dataset(...),get_search_space(...),fit_pipeline(...),search(...), andrefit(...)- feature typing, categorical handling, dataset compression, and resampling strategy selection
- custom search spaces via
include_components,exclude_components, andsearch_space_updates - traditional learners such as LightGBM, CatBoost, RandomForest, ExtraTrees, SVM, and KNN
- ensemble inspection with
show_models(),sprint_statistics(), andplot_perf_over_time()
Read sub-skills/tabular-automl/SKILL.md when the task is about tabular classification or regression, even if the user also wants custom configs, portfolios, or result inspection.
sub-skills/forecasting/
Use this route for:
TimeSeriesForecastingTask- uni-variant and multi-variant sequence layouts
start_times,freq,series_idx,known_future_features, andn_prediction_steps- forecasting validators, sequence construction, and forecast-horizon handling
- forecasting-specific metrics such as
mean_MASE_forecastingandmean_MAPE_forecasting
Read sub-skills/forecasting/SKILL.md when the task names time series forecasting, sequence validation, known future features, or forecast horizon setup.
Core usage pattern
Most tasks follow the same shape:
- Build or load dataset inputs.
- Let the validator normalize the data.
- Create the task object.
- Search, fit a single configuration, or refit the selected model.
- Inspect predictions, scores, and ensemble output.
If you need the detailed API surface, open references/package-overview.md first for a compact summary, then open the closest sub-skill reference instead of trying to infer it from the router.
Common inputs and outputs
- Inputs can be NumPy arrays, pandas objects, or Python lists for the supported task type.
- Tabular workflows may need
feat_typeswhen dtype inference is ambiguous. - Forecasting workflows may need
series_idx,start_times, andknown_future_featuresto preserve sequence identity. search(...)returns the fitted task object after the search completes.fit_pipeline(...)returns a fitted pipeline plus run metadata for a single configuration.predict(...)andscore(...)operate on the fitted task or pipeline.
Common failures
Read references/troubleshooting.md for cross-cutting install, import, data-shape, optional-dependency, and package-resolution issues.
The most common problems are:
- missing forecasting extras when importing forecasting APIs
- missing or uninitialized
automl_commonsubmodule when using a source checkout - OpenML or other network-backed example data not being available
scikit-learn,torch, or compiled dependency version mismatches
Related references
references/package-overview.md— compact package API and task summaryreferences/troubleshooting.md— cross-cutting install and import problemsreferences/repo-provenance.md— source commit and package version snapshotreferences/repo-routing-metadata.json— router metadata for managed importsscripts/check_install.py— lightweight install and import smoke checksub-skills/tabular-automl/— tabular classification and regression workflowssub-skills/forecasting/— time series forecasting workflows
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).