Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use yatai proxy to upload/download bentos/models #2832

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

yetone
Copy link
Member

@yetone yetone commented Jul 29, 2022

No description provided.

@codecov
Copy link

codecov bot commented Jul 29, 2022

Codecov Report

Merging #2832 (f95765c) into main (1e6a65d) will decrease coverage by 0.24%.
The diff coverage is 21.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2832      +/-   ##
==========================================
- Coverage   70.93%   70.69%   -0.25%     
==========================================
  Files         103      103              
  Lines        9334     9380      +46     
==========================================
+ Hits         6621     6631      +10     
- Misses       2713     2749      +36     
Impacted Files Coverage Δ
bentoml/_internal/yatai_client/__init__.py 24.06% <6.06%> (-0.94%) ⬇️
bentoml/_internal/yatai_rest_api_client/yatai.py 31.25% <27.27%> (-0.64%) ⬇️
bentoml/_internal/yatai_rest_api_client/schemas.py 93.53% <100.00%> (+0.06%) ⬆️

@parano
Copy link
Member

parano commented Jul 29, 2022

@yetone Do we want to make s3 presigned URL an option for user to enable? we may need that for backwards compatible as well

@yetone yetone force-pushed the feat/use-yatai-artifacts-proxy branch 2 times, most recently from 0e2b8b4 to a83684b Compare August 1, 2022 06:05
@pep8speaks
Copy link

pep8speaks commented Aug 1, 2022

Hello @yetone, Thanks for updating this PR.

There are currently no PEP 8 issues detected in this PR. Cheers! 🍻

Comment last updated at 2022-08-17 10:35:57 UTC

@yetone yetone force-pushed the feat/use-yatai-artifacts-proxy branch 2 times, most recently from bd634ee to a6dec06 Compare August 2, 2022 04:31
@yetone yetone requested a review from a team as a code owner August 2, 2022 04:31
@yetone yetone requested review from larme and removed request for a team August 2, 2022 04:31
@yetone yetone force-pushed the feat/use-yatai-artifacts-proxy branch 2 times, most recently from f7c55ab to 974b812 Compare August 12, 2022 14:49
@yetone yetone changed the title [HOLD] feat: use yatai proxy to upload/download bentos/models feat: use yatai proxy to upload/download bentos/models Aug 12, 2022
@yetone
Copy link
Member Author

yetone commented Aug 12, 2022

@parano Forward compatibility is complete, please review and merge

cpu=r.resource_config.cpu,
nvidia_gpu=r.resource_config.nvidia_gpu,
custom_resources=r.resource_config.custom_resources,
cpu=r.resource_config.get("cpu"),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope this type-level refactoring needs to be synchronized to all the places where the type is used, and it feels like we need to add all the type checks to our ci, otherwise, it's a nullity

@parano parano requested a review from ssheng August 14, 2022 21:27
@yetone yetone force-pushed the feat/use-yatai-artifacts-proxy branch from 974b812 to 301a64c Compare August 15, 2022 05:27
@parano parano requested a review from bojiang August 15, 2022 17:20
@yetone yetone force-pushed the feat/use-yatai-artifacts-proxy branch 2 times, most recently from 376b627 to 183dc75 Compare August 16, 2022 19:24
@yetone yetone force-pushed the feat/use-yatai-artifacts-proxy branch from 183dc75 to f95765c Compare August 17, 2022 10:35
@bojiang bojiang merged commit 3280c4b into bentoml:main Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants