Skip to content

Commit 07628c3

Browse files
philschmidvdantu
authored andcommitted
applied feedback from review, removed docker/benchmark/deployment
1 parent a98dffb commit 07628c3

File tree

21 files changed

+7
-1712
lines changed

21 files changed

+7
-1712
lines changed

CONTRIBUTING.md

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
<!--
2-
Copyright 2021 The HuggingFace Team, Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
15-
-->
16-
171
# How to contribute to transformers?
182

193
Everyone is welcome to contribute, and we value everybody's contribution. Code
@@ -78,6 +62,6 @@ If you discover a potential security issue in this project we ask that you notif
7862

7963
## Licensing
8064

81-
See the [LICENSE](https://github.com/huggingface/sagemaker_huggingface_inference_toolkit/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
65+
See the [LICENSE](https://github.com/aws/sagemaker-huggingface-inference-toolkit/blob/main/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
8266

8367
We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.

LICENSE

+1-29
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Copyright 2018- The Hugging Face team, Amazon.com, Inc. or its affiliates. All Rights Reserved.
21

32
Apache License
43
Version 2.0, January 2004
@@ -173,31 +172,4 @@ Copyright 2018- The Hugging Face team, Amazon.com, Inc. or its affiliates. All R
173172
of any other Contributor, and only if You agree to indemnify,
174173
defend, and hold each Contributor harmless for any liability
175174
incurred by, or claims asserted against, such Contributor by reason
176-
of your accepting any such warranty or additional liability.
177-
178-
END OF TERMS AND CONDITIONS
179-
180-
APPENDIX: How to apply the Apache License to your work.
181-
182-
To apply the Apache License to your work, attach the following
183-
boilerplate notice, with the fields enclosed by brackets "[]"
184-
replaced with your own identifying information. (Don't include
185-
the brackets!) The text should be enclosed in the appropriate
186-
comment syntax for the file format. We also recommend that a
187-
file or class name and description of purpose be included on the
188-
same "printed page" as the copyright notice for easier
189-
identification within third-party archives.
190-
191-
Copyright [yyyy] [name of copyright owner]
192-
193-
Licensed under the Apache License, Version 2.0 (the "License");
194-
you may not use this file except in compliance with the License.
195-
You may obtain a copy of the License at
196-
197-
http://www.apache.org/licenses/LICENSE-2.0
198-
199-
Unless required by applicable law or agreed to in writing, software
200-
distributed under the License is distributed on an "AS IS" BASIS,
201-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202-
See the License for the specific language governing permissions and
203-
limitations under the License.
175+
of your accepting any such warranty or additional liability.

README.md

+4-23
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
<!---
2-
Copyright 2021 The HuggingFace Team, Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
15-
-->
161
<div style="display:flex; text-align:center;">
172
<img src="https://huggingface.co/front/assets/huggingface_logo.svg" width="100"/>
183
<img src="https://github.com/aws/sagemaker-inference-toolkit/raw/master/branding/icon/sagemaker-banner.png" width="450"/>
@@ -62,8 +47,8 @@ huggingface_model.deploy(initial_instance_count=1,instance_type="ml.m5.xlarge")
6247
```
6348

6449

65-
**Create a Amazon SageMaker endpoint with a model from the [🤗 Hub](https://huggingface.co/models).**
66-
50+
**Create a Amazon SageMaker endpoint with a model from the [🤗 Hub](https://huggingface.co/models).**
51+
_note: This is an experimental feature, where the model will be loaded after the endpoint is created. Not all sagemaker features are supported, e.g. MME_
6752
```python
6853
from sagemaker.huggingface import HuggingFaceModel
6954
# Hub Model configuration. https://huggingface.co/models
@@ -149,15 +134,11 @@ The custom module can override the following methods:
149134
---
150135
## 🤝 Contributing
151136

152-
Please read
153-
`CONTRIBUTING.md <https://github.com/aws/sagemaker-pytorch-container/blob/master/CONTRIBUTING.md>`__
137+
Please read [CONTRIBUTING.md](https://github.com/aws/sagemaker-huggingface-inference-toolkit/blob/main/CONTRIBUTING.md)
154138
for details on our code of conduct, and the process for submitting pull
155139
requests to us.
156140

157141
---
158142
## 📜 License
159143

160-
161-
SageMaker PyTorch Serving Container is licensed under the Apache 2.0 License. It is copyright 2018 Amazon
162-
.com, Inc. or its affiliates. All Rights Reserved. The license is available at:
163-
http://aws.amazon.com/apache2.0/
144+
SageMaker Hugging Face Inference Toolkit is licensed under the Apache 2.0 License.

benchmark/README.md

-54
This file was deleted.

benchmark/benchmark.py

-74
This file was deleted.

deployment/README.md

-103
This file was deleted.

0 commit comments

Comments
 (0)