Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

serve.yaml 976 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  1. name: serve
  2. on:
  3. workflow_dispatch: # manual
  4. push:
  5. branches:
  6. - main
  7. permissions: write-all
  8. jobs:
  9. serve:
  10. runs-on: ubuntu-22.04
  11. steps:
  12. # Configure AWS credentials
  13. - name: Configure AWS credentials
  14. uses: aws-actions/configure-aws-credentials@v2
  15. with:
  16. role-to-assume: arn:aws:iam::593241322649:role/github-actions-madewithml
  17. role-session-name: s3access
  18. aws-region: us-west-2
  19. # Set up dependencies
  20. - uses: actions/checkout@v3
  21. - uses: actions/setup-python@v4
  22. with:
  23. python-version: '3.10.11'
  24. cache: 'pip'
  25. - run: python3 -m pip install anyscale==0.5.131 typer==0.9.0
  26. # Serve model
  27. - name: Serve model
  28. run: |
  29. export ANYSCALE_HOST=${{ secrets.ANYSCALE_HOST }}
  30. export ANYSCALE_CLI_TOKEN=${{ secrets.ANYSCALE_CLI_TOKEN }}
  31. anyscale service rollout --service-config-file deploy/services/serve_model.yaml
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...