-
Notifications
You must be signed in to change notification settings - Fork 560
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
Add ability to wait for an environment #1957
base: main
Are you sure you want to change the base?
Commits on Sep 16, 2024
-
Send in app threads directly from args
* This allows us not to read the config for the app threads until absolutely necessary.
Configuration menu - View commit details
-
Copy full SHA for 6075901 - Browse repository at this point
Copy the full SHA 6075901View commit details -
Load config right before necessary
* Delay loading the cog yaml until it is read from in the code.
Configuration menu - View commit details
-
Copy full SHA for 3d348cc - Browse repository at this point
Copy the full SHA 3d348ccView commit details -
* Allow environment variables to control whether we wait for a file to appear before further processing * This allows the python interpreter to boot up while we wait for other files to become available
Configuration menu - View commit details
-
Copy full SHA for 1024cac - Browse repository at this point
Copy the full SHA 1024cacView commit details -
* Allow waiting for a general environment by importing select python packages while the system boots up around cog.
Configuration menu - View commit details
-
Copy full SHA for cc7fccf - Browse repository at this point
Copy the full SHA cc7fccfView commit details
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 19cc38d - Browse repository at this point
Copy the full SHA 19cc38dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e79e25d - Browse repository at this point
Copy the full SHA e79e25dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dfe3ec - Browse repository at this point
Copy the full SHA 6dfe3ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03f7011 - Browse repository at this point
Copy the full SHA 03f7011View commit details -
* I shouldn’t need to do this but want to see if it relieves the errors on linux.
Configuration menu - View commit details
-
Copy full SHA for 4f75de4 - Browse repository at this point
Copy the full SHA 4f75de4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 949792c - Browse repository at this point
Copy the full SHA 949792cView commit details -
* A small test to make sense of what the code stripper is doing.
Configuration menu - View commit details
-
Copy full SHA for c83f2e8 - Browse repository at this point
Copy the full SHA c83f2e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7265582 - Browse repository at this point
Copy the full SHA 7265582View commit details
Commits on Sep 18, 2024
-
* Create a class for accessing cog config * Only access variables from the config by properties * Gate those properties with environment variable function decorators to allow fetching the config from the environment rather than a file. * This allows the environment to begin running without needing the /src
Configuration menu - View commit details
-
Copy full SHA for 71854b9 - Browse repository at this point
Copy the full SHA 71854b9View commit details -
Wait for environment before executing setup
* While waiting for the environment to boot, load The designated imports to speed up interpreter Time.
Configuration menu - View commit details
-
Copy full SHA for 5ff8030 - Browse repository at this point
Copy the full SHA 5ff8030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f3f41d - Browse repository at this point
Copy the full SHA 8f3f41dView commit details -
Skip test_strip_model_source_code if < 3.9
* In strip model source code we use an AST function that isn’t available prior to 3.9
Configuration menu - View commit details
-
Copy full SHA for 1bebbc3 - Browse repository at this point
Copy the full SHA 1bebbc3View commit details -
Change COG_WAIT_IMPORTS to COG_EAGER_IMPORTS
* We aren’t waiting for these imports, we are loading them eagerly while we wait.
Configuration menu - View commit details
-
Copy full SHA for d61d782 - Browse repository at this point
Copy the full SHA d61d782View commit details -
Bump integration test timeout to 20 mins
* We have so many that we need to increase this.
Configuration menu - View commit details
-
Copy full SHA for e9464df - Browse repository at this point
Copy the full SHA e9464dfView commit details -
* Fix an issue with env_property where it could not handle Optional or Union
Configuration menu - View commit details
-
Copy full SHA for adb04a4 - Browse repository at this point
Copy the full SHA adb04a4View commit details
Commits on Sep 19, 2024
-
Fix get_args and get_origin in python 3.7
* Create these functions because they don’t exist in python 3.7
Configuration menu - View commit details
-
Copy full SHA for 25fb547 - Browse repository at this point
Copy the full SHA 25fb547View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef2a1a0 - Browse repository at this point
Copy the full SHA ef2a1a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 061ff16 - Browse repository at this point
Copy the full SHA 061ff16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33b4106 - Browse repository at this point
Copy the full SHA 33b4106View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c1f2b9 - Browse repository at this point
Copy the full SHA 2c1f2b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6d0e45 - Browse repository at this point
Copy the full SHA f6d0e45View commit details -
Configuration menu - View commit details
-
Copy full SHA for b480479 - Browse repository at this point
Copy the full SHA b480479View commit details
Commits on Sep 20, 2024
-
* Do not wait for a signal, just use a while loop with a 10 ms interval to check for presence of file.
Configuration menu - View commit details
-
Copy full SHA for 42b7306 - Browse repository at this point
Copy the full SHA 42b7306View commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f79c597 - Browse repository at this point
Copy the full SHA f79c597View commit details
Commits on Sep 25, 2024
-
Merge branch 'main' into add-waiting-env
Signed-off-by: Will Sackfield <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f0c5b79 - Browse repository at this point
Copy the full SHA f0c5b79View commit details -
* test_code_xforms actually lived in the server directory and not in the cog directory, move these tests into the cog directory. * Add a test and code for removing function decorators from the target functions, these can remove the ability to load the slimmed predictor.
Configuration menu - View commit details
-
Copy full SHA for 8fc79b0 - Browse repository at this point
Copy the full SHA 8fc79b0View commit details -
Add logic to keep referenced globals
* Keep a global if it is referenced as a default from a functions arguments.
Configuration menu - View commit details
-
Copy full SHA for 6b15565 - Browse repository at this point
Copy the full SHA 6b15565View commit details
Commits on Sep 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e4c2675 - Browse repository at this point
Copy the full SHA e4c2675View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcc14a4 - Browse repository at this point
Copy the full SHA bcc14a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c33ead0 - Browse repository at this point
Copy the full SHA c33ead0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 065cf19 - Browse repository at this point
Copy the full SHA 065cf19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75d7430 - Browse repository at this point
Copy the full SHA 75d7430View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1921c2 - Browse repository at this point
Copy the full SHA f1921c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3494c8 - Browse repository at this point
Copy the full SHA f3494c8View commit details -
Add setup logs to mirror prediction logs
* Allow the logs to show when certain setup steps are happening
Configuration menu - View commit details
-
Copy full SHA for 9fbb7ad - Browse repository at this point
Copy the full SHA 9fbb7adView commit details
Commits on Sep 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 096c45b - Browse repository at this point
Copy the full SHA 096c45bView commit details
Commits on Oct 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a522a0f - Browse repository at this point
Copy the full SHA a522a0fView commit details
Commits on Oct 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 92d0b75 - Browse repository at this point
Copy the full SHA 92d0b75View commit details -
Configuration menu - View commit details
-
Copy full SHA for f51c576 - Browse repository at this point
Copy the full SHA f51c576View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a55b0d - Browse repository at this point
Copy the full SHA 1a55b0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b7756a - Browse repository at this point
Copy the full SHA 3b7756aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21c1724 - Browse repository at this point
Copy the full SHA 21c1724View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4598529 - Browse repository at this point
Copy the full SHA 4598529View commit details
Commits on Oct 9, 2024
-
Merge branch 'main' into add-waiting-env
Signed-off-by: Will Sackfield <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3dc9e9d - Browse repository at this point
Copy the full SHA 3dc9e9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0031765 - Browse repository at this point
Copy the full SHA 0031765View commit details -
Merge branch 'main' into add-waiting-env
Signed-off-by: Will Sackfield <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 272756f - Browse repository at this point
Copy the full SHA 272756fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a8a374 - Browse repository at this point
Copy the full SHA 1a8a374View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e7b4c7 - Browse repository at this point
Copy the full SHA 6e7b4c7View commit details
Commits on Oct 11, 2024
-
Support multiple class names and method names
* This allows consumers to strip source code but Maintain multiple classes and methods * This is important if they want to maintain both Predict and train types
Configuration menu - View commit details
-
Copy full SHA for 84e947d - Browse repository at this point
Copy the full SHA 84e947dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc89489 - Browse repository at this point
Copy the full SHA dc89489View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f86293 - Browse repository at this point
Copy the full SHA 5f86293View commit details
Commits on Oct 14, 2024
-
Merge branch 'main' into add-waiting-env
Signed-off-by: Will Sackfield <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e1c842 - Browse repository at this point
Copy the full SHA 5e1c842View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f883e4 - Browse repository at this point
Copy the full SHA 2f883e4View commit details
Commits on Oct 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 697adf9 - Browse repository at this point
Copy the full SHA 697adf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2d3269 - Browse repository at this point
Copy the full SHA c2d3269View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b05a79 - Browse repository at this point
Copy the full SHA 6b05a79View commit details
Commits on Oct 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 926f2f5 - Browse repository at this point
Copy the full SHA 926f2f5View commit details -
Merge branch 'main' into add-waiting-env
Signed-off-by: Will Sackfield <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd9c6cf - Browse repository at this point
Copy the full SHA bd9c6cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d6c4ce - Browse repository at this point
Copy the full SHA 8d6c4ceView commit details -
* Ensure that train/predictor stripped code is kept separate in the event a user uses separate files to refer to these different modes.
Configuration menu - View commit details
-
Copy full SHA for bf222ce - Browse repository at this point
Copy the full SHA bf222ceView commit details -
Rename env vars to be sensical
* Old ones used to be many overloaded concepts.
Configuration menu - View commit details
-
Copy full SHA for 0c3c6f1 - Browse repository at this point
Copy the full SHA 0c3c6f1View commit details
Commits on Oct 17, 2024
-
Add PYTHONPATH environment variables
* We can’t just update the system path, we also need to change the PYTHONPATH environment variable * This allows forked processes to see this environment variable and act accordingly in user code.
Configuration menu - View commit details
-
Copy full SHA for 00b98bc - Browse repository at this point
Copy the full SHA 00b98bcView commit details
Commits on Oct 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5100333 - Browse repository at this point
Copy the full SHA 5100333View commit details
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 07de3f1 - Browse repository at this point
Copy the full SHA 07de3f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ea4663 - Browse repository at this point
Copy the full SHA 8ea4663View commit details -
Add consistent debug logging in config
* Some tests previously checked the debug logging * Make sure we conform to the same debug logging
Configuration menu - View commit details
-
Copy full SHA for 3a29229 - Browse repository at this point
Copy the full SHA 3a29229View commit details -
Add test_strip_model_source_code_keeps_referenced_class_from_function
* Confirm that this behaviour is consistent with functions.
Configuration menu - View commit details
-
Copy full SHA for 7657c23 - Browse repository at this point
Copy the full SHA 7657c23View commit details -
Explicitly check return code in test train
* Allows better debugging of stderr et al
Configuration menu - View commit details
-
Copy full SHA for e3c39c3 - Browse repository at this point
Copy the full SHA e3c39c3View commit details
Commits on Oct 22, 2024
-
Handle response types in _predict
* Currently predict assumes that PredictionResponse is the serialisation target. * This isn’t the case if we are calling _predict from a training endpoint * Allow response_type to be fed into the _predict method to inform it of what kind of response it should expect.
Configuration menu - View commit details
-
Copy full SHA for 5dc23a4 - Browse repository at this point
Copy the full SHA 5dc23a4View commit details -
Make cog train a first class CLI function
* Use the proper endpoints to call training functions. * Log the command properly to the user.
Configuration menu - View commit details
-
Copy full SHA for a0477d8 - Browse repository at this point
Copy the full SHA a0477d8View commit details -
Merge branch 'main' into add-waiting-env
Signed-off-by: Will Sackfield <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c046ff0 - Browse repository at this point
Copy the full SHA c046ff0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94d1ff4 - Browse repository at this point
Copy the full SHA 94d1ff4View commit details
Commits on Oct 23, 2024
-
Merge branch 'main' into add-waiting-env
Signed-off-by: Will Sackfield <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 187eeea - Browse repository at this point
Copy the full SHA 187eeeaView commit details
Commits on Oct 28, 2024
-
Merge branch 'main' into add-waiting-env
Signed-off-by: Will Sackfield <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ca482f - Browse repository at this point
Copy the full SHA 8ca482fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2840fc7 - Browse repository at this point
Copy the full SHA 2840fc7View commit details
Commits on Nov 1, 2024
-
Merge branch 'main' into add-waiting-env
Signed-off-by: Will Sackfield <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 200173c - Browse repository at this point
Copy the full SHA 200173cView commit details