mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Prefer tensorflow_gpu over tensorflow when inspecting installed packages
This commit is contained in:
parent
0c71889ca5
commit
8c2b36968b
@ -46,6 +46,10 @@ class ScriptRequirements(object):
|
|||||||
new_mapping.update(mapping)
|
new_mapping.update(mapping)
|
||||||
mapping = new_mapping
|
mapping = new_mapping
|
||||||
|
|
||||||
|
# HACK: prefer tensorflow_gpu over tensorflow
|
||||||
|
if 'tensorflow_gpu' in new_mapping:
|
||||||
|
new_mapping['tensorflow'] = new_mapping['tensorflow_gpu']
|
||||||
|
|
||||||
return mapping
|
return mapping
|
||||||
|
|
||||||
def get_requirements(self):
|
def get_requirements(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user