New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add support for requirements.txt
in ScriptProcessor similar to other "Script Mode" parts of the SageMaker Python SDK
#1248
Comments
Hi Chris, thanks for your suggestion. I've added it to our backlog. As a workaround, you can provide a shell script containing |
@ajaykarpur The problem is that the ScriptProcessor only takes a single file as argument not a source_dir, so you cannot include a directory with your python source file, so the workaround does not really work around the problem. |
As a workaround, we ended up using the |
Hi @ajaykarpur completely agree with the prior comments about the importance and usefulness of allowing processing to use a requirements file. Thank you! |
I think it is important feature that SKLearnProcessor takes multiple python files. |
Hi, I want to share an experimental / stop-gap work called FrameworkProcessor, to simplify submitting a Python processing job with It aims to give you familiar workflow of (1) instantiate a processor, then immediately (2) call the Here's an example how to use this It slightly changes the processing API by adding a SageMaker Framework estimator, which was done for two purposes: (1) auto-detect container uri, and (2) re-use the packaging mechanism in the estimator to upload to So far it works for my cases, but more testings or bug reports are welcome. HTH. |
any news on this? |
Is there an update on this? |
Right now I am just using the processors inheriting from FrameworkProcessor (PyTorch, not SKLearn) when I need to use extra files. I wish I could just use docker containers from docker hub, I don't understand the need for 4 or 5 functions with similar names and features. |
No news on this one yet? I have several customers asking me how to do it and they really don't like the workarounds |
Hi Team, I have customers asking about how to do this without workarounds. Is this doable/has this been released? |
any new regarding this 3 years later? |
Any news on this? It's absurd that for data preprocessing, which requires much more 3rd party libraries than training, we cannot easily install additional ones, whereas the option is available for estimators. It's literally already there in estimators, why couldn't this be added to processors for well over 3 years? |
@j-adamczyk have you tried looking at 'FrameworkProcessor |
Eager to hear an update on this! |
well then |
Please add support for
requirements.txt
in ScriptProcessor similar to other "Script Mode" parts of the SageMaker Python SDK where I can specifysource_dir
The text was updated successfully, but these errors were encountered: