orhankislal commented on a change in pull request #476: DL: Avoid constant
folding of weights in GPDB6 plan
URL: https://github.com/apache/madlib/pull/476#discussion_r374855886
##########
File path: src/ports/postgres/modules/deep_learning/madlib_keras_helper.py_in
##########
@@ -314,3 +315,7 @@ def get_accessible_gpus_for_seg(schema_madlib,
segments_per_host, module_name):
'recommended configuration is to have 1 GPU available per
segment.')
warning_flag = False
return accessible_gpus_for_seg
+
+def is_platform_gp6():
+ version_wrapper = __mad_version()
+ return version_wrapper.is_gp_version_less_than('6.0')
Review comment:
Missing new line at the end
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services