You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(notebooks): [PART 3] Update GB docs generated from notebooks (#6977)
* Fixed links to the Core setup doc page in the notebooks
* Get rid of README.md for feedback/metrics-server as another this file (`docs-gb/notebooks/feedback_reward_custom_metrics.md`) is used instead
* Update docs pages generated from the notebooks
Copy file name to clipboardExpand all lines: docs-gb/notebooks/ambassador_canary.md
+76-43Lines changed: 76 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
## Setup Seldon Core
5
5
6
-
Use the setup notebook to [Setup Cluster](../notebooks/seldon-core-setup.md#setup-cluster) with [Ambassador Ingress](../notebooks/seldon-core-setup.md#ambassador) and [Install Seldon Core](../notebooks/seldon-core-setup.md#Install-Seldon-Core). Instructions [also online](../notebooks/seldon-core-setup.md).
6
+
Use the setup notebook to [Setup Cluster](https://docs.seldon.ai/seldon-core-1/tutorials/notebooks/seldon-core-setup#setup-cluster) with [Ambassador Ingress](https://docs.seldon.ai/seldon-core-1/tutorials/notebooks/seldon-core-setup#install-ingress).
7
7
8
8
9
9
```python
@@ -14,14 +14,6 @@ Use the setup notebook to [Setup Cluster](../notebooks/seldon-core-setup.md#setu
2022-08-22 17:10:39.787195: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
110
-
2022-08-22 17:10:39.787229: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
103
+
2025-12-0411:09:46.205128: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
104
+
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
105
+
E0000 00:00:1764846586.2220493721772 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
106
+
E0000 00:00:1764846586.2272633721772 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
107
+
2025-12-0411:09:46.246078: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
108
+
To enable the following instructions: AVX2FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
111
109
112
110
113
111
#### REST Request
114
112
115
113
116
114
```python
117
-
r = sc.predict(gateway="ambassador", transport="rest")
118
-
assert r.success ==True
119
-
print(r)
115
+
from tenacity import retry, stop_after_delay, wait_exponential
We will now extend the existing graph and add a new predictor as a canary using a new model `seldonio/mock_classifier_rest:1.1`. We will add traffic values to split traffic 75/25 to the main and canary.
148
+
We will now extend the existing graph and add a new predictor as a canary using a new model `seldonio/mock_classifier_rest`. We will add traffic values to split traffic 75/25 to the main and canary.
141
149
142
150
143
151
```python
@@ -188,29 +196,34 @@ spec:
188
196
189
197
190
198
```python
191
-
!kubectl apply -f canary.yaml
199
+
!kubectl apply -f canary.yaml-n seldon
192
200
```
193
201
194
-
Warning: resource seldondeployments/example is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by kubectl apply. kubectl apply should only be used on resources created declaratively by either kubectl create --save-config or kubectl apply. The missing annotation will be patched automatically.
0 commit comments