-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
We should probably move these examples to tidymodels.org.
From a recent PR:
── Building articles ───────────────────────────────────────────────────────────
Writing `articles/index.html`
Reading vignettes/articles/checklists.Rmd
Writing `articles/checklists.html`
Reading vignettes/articles/Examples.Rmd
Error in `.f()`:
! Failed to render 'vignettes/articles/Examples.Rmd'.
✖ 2025-09-19 17:59:07.929742: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could
not find cuda drivers on your machine, GPU will not be used.
✖ 2025-09-19 17:59:07.959158: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could
not find cuda drivers on your machine, GPU will not be used.
✖ 2025-09-19 17:59:07.959485: I
tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is
optimized to use available CPU instructions in performance-critical
operations.
✖ To enable the following instructions: AVX2 FMA, in other operations, rebuild
TensorFlow with the appropriate compiler flags.
✖ 2025-09-19 17:59:09.059996: W
tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could
not find TensorRT
✖ WARNING:tensorflow:5 out of the last 7 calls to <function
Model.make_predict_function.<locals>.predict_function at 0x7fb270474d30>
triggered tf.function retracing. Tracing is expensive and the excessive
number of tracings could be due to (1) creating @tf.function repeatedly in a
loop, (2) passing tensors with different shapes, (3) passing Python objects
instead of tensors. For (1), please define your @tf.function outside of the
loop. For (2), @tf.function has reduce_retracing=True option that can avoid
unnecessary retracing. For (3), please refer to
https://www.tensorflow.org/guide/function#controlling_retracing and
https://www.tensorflow.org/api_docs/python/tf/function for more details.
✖ Quitting from Examples.Rmd:1455-1460 [unnamed-chunk-149]
Caused by error:
! subscript out of bounds
Backtrace:
▆
1. ├─dplyr::bind_cols(...)
2. │ └─rlang::list2(...)
3. ├─stats::predict(mr_cls_fit, penguins_test)
4. ├─parsnip::predict.model_fit(mr_cls_fit, penguins_test)
5. │ ├─parsnip:::predict_class(...)
6. │ └─parsnip::predict_class.model_fit(...)
7. │ └─rlang::eval_tidy(pred_call)
8. ├─stats::predict(object = object$fit, new_data = new_data, type = "class")
9. └─brulee:::predict.brulee_multinomial_reg(...)
10. └─brulee:::predict_brulee_multinomial_reg_bridge(...)
11. └─brulee (local) predict_function(model, predictors, epoch)
12. └─brulee:::predict_brulee_multinomial_reg_raw(...)
Execution halted
Error: Process completed with exit code 1.
Metadata
Metadata
Assignees
Labels
No labels