Repository navigation
Commit e9682e6
hrehard
fix(examples): make Bedrock model-import job name unique per run
The OSS-import path in bedrock-modelbuilder-deployment.ipynb hardcoded
job_name="import-llama-finetuned" and imported_model_name="llama-3-8b-finetuned".
Bedrock's CreateModelImportJob requires a unique job name, and completed
import jobs cannot be deleted, so running the notebook a second time in the
same account/region fails with "The provided job name is currently in use."
Append an int(time.time()) suffix to both names so the example is repeatable.
time is already imported in the notebook.1 parent 3f810c6 commit e9682e6
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
127 | 130 | | |
128 | | - | |
129 | | - | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
0 commit comments