1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
Yes, the script that you found is the way to go.
If you replace pip install --upgrade "$PACKAGE"
with 2 lines of your own packages torch
and transformers
, it should be fine.
Best,
Didier
Relevant content
- asked 4 months ago
- Accepted Answerasked 4 years ago
- asked 5 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago
@Didier_Durand Right, I have the auto-shut lifecycle configuration in place already though. So, I am trying to add/modify the existing script. I have added the script in the op. can you please share how / where I'd add the
pip install ....
for multiple package installations. Do I need apip install
for all packages? Is there a way to runrequirements.txt
on start?Hi @Didier_Durand did you have any thoughts on this? how do I add this to the existing timeout lifecycle configuration?