bitter-ability-32190
10/24/2022, 11:00 PMrequirements and modules in tandemhundreds-father-404
10/24/2022, 11:39 PMbitter-ability-32190
10/24/2022, 11:40 PMhundreds-father-404
10/24/2022, 11:42 PMbitter-ability-32190
10/24/2022, 11:43 PMbitter-ability-32190
10/25/2022, 12:42 AMmxnet module can come from packages mxnet or mxnet-cu102.
I want only one repository.txt, and only one python_requirements target.
So to get this working I'd need to parameterize requirements and resolve together in tandem.
Otherwise I have to have a unique name for each python_requrement targets and thats nastycurved-television-6568
10/25/2022, 11:19 AMmxnet-cu102 “within” mxnet based on env markers in your requirements field, or some such? (I’ve done something like that, but likely for a easier case, in order to select which version of tensorflow to use)
Ex from python_requirements overrides field:
"tensorflow": {
"requirements": [
# Linux or intel Mac
"tensorflow >= 2.9.0 ; sys_platform != 'darwin' or platform_machine == 'x86_64'",
# Mac M1
"tensorflow-macos >= 2.9.0 ; sys_platform == 'darwin' and platform_machine == 'arm64'",
],
},bitter-ability-32190
10/25/2022, 12:41 PMbitter-ability-32190
10/25/2022, 12:41 PMbitter-ability-32190
10/25/2022, 12:43 PMcurved-television-6568
10/25/2022, 1:19 PMbitter-ability-32190
10/25/2022, 1:29 PM