aws / fmeval

Foundation Model Evaluations Library
http://aws.github.io/fmeval
Apache License 2.0
151 stars 40 forks source link

fix: update pinned sagemaker python sdk version and get_user_agent_extra util function #274

Closed danielezhu closed 1 month ago

danielezhu commented 1 month ago

Description of changes: In a recent release of the sagemaker python SDK (specifically, version 2.218.1), they removed the determine_prefix utility function and re-implemented it as get_user_agent_extra_suffix. This PR updates our own user agent-related code to use this new util function and bumps the pinned dependency version for sagemaker.

Note that the new header format that I use: lib/fmeval#{version_number} is the new standard format that is being used.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.