aws / fmeval

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

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

Closed danielezhu closed 6 months ago

danielezhu commented 6 months 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.