Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1017 Bytes

TODO.md

File metadata and controls

44 lines (35 loc) · 1017 Bytes

Mission
Convert APAC MLOps Accelerator from CP4DaaS to CP4DS

Info


  • Awaiting tensorflow-data-validation update for compatibility w/ py3.10

Todo


  • Cut out all use of Cloud Object Storage ✅ 2023-10-04
  • Reduce use of /utils to a minimum ✅ 2023-10-04
  • Remove use of seaborn/sns ✅ 2023-10-04
  • **Use WML .from_token instead of api_key ✅ 2023-10-04
  • [ ]
  • [ ]

Save for later


Work w/ WML on CP4DS

CPD_URL = '<CPD PLATFORM URL>'
from ibm_watson_studio_lib import access_project_or_space
wslib = access_project_or_space()
wml_credentials = {
    "url": CPD_URL,
    "token": wslib.auth.get_current_token(),
    "instance_id": "wml_local",
    "version" : "4.6"
}
from ibm_watson_machine_learning import APIClient
client = APIClient(wml_credentials)
client.spaces.list()

Use Pipelines on CP4DS

token = os.environ['USER_ACCESS_TOKEN']

WSPipelines On-Prem Tutorial