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

accelerate, acme.sh-dns, ant: add pt_BR translation #14924

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
accelerate, acme.sh-dns, ant: add pt_BR translation
  • Loading branch information
victorhtl committed Nov 20, 2024
commit 46c45488d634eaa226431fdf9962912e2135a43b
28 changes: 28 additions & 0 deletions pages.pt_BR/common/accelerate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# accelerate

> Uma biblioteca que habilita o mesmo código PyTorch a rodar em qualquer configuração distribuída.
> Mais informações: <https://huggingface.co/docs/accelerate/index>.

- Printa informações do ambiente:
victorhtl marked this conversation as resolved.
Show resolved Hide resolved

`accelerate env`

- Cria um arquivo de configuração de forma interativa:

`accelerate config`

- Printa o custo de memória de GPU estimado para rodar um Modelo de Face aumentado com diferentes tipos de dados:
victorhtl marked this conversation as resolved.
Show resolved Hide resolved

`accelerate estimate-memory {{name/model}}`
victorhtl marked this conversation as resolved.
Show resolved Hide resolved

- Testa um arquivo Accelerate de configuração:

`accelerate test --config_file {{path/to/config.yaml}}`
victorhtl marked this conversation as resolved.
Show resolved Hide resolved

- Roda um modelo na CPU com Accelerate:

`accelerate launch {{path/to/script.py}} {{--cpu}}`
victorhtl marked this conversation as resolved.
Show resolved Hide resolved

- Roda um modelo em multi-GPU com Accelerate, com 2 máquinas:

`accelerate launch {{path/to/script.py}} --multi_gpu --num_machines 2`
24 changes: 24 additions & 0 deletions pages.pt_BR/common/acme.sh-dns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# acme.sh --dns

> Usa um desafio DNS-01 para emitir um certificado TLS.
> Mais informações: <https://github.com/acmesh-official/acme.sh/wiki>.

- Emite um certificado usando um modo de DNS API automático:

`acme.sh --issue --dns {{gnd_gd}} --domain {{example.com}}`

- Emite um certificado wildcard (denotado por um asterisco (*)) usando um modo DNS API automático:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- Emite um certificado wildcard (denotado por um asterisco (*)) usando um modo DNS API automático:
- Emite um certificado wildcard (denotado por um asterísco (*)) usando um modo DNS API automático:


`acme.sh --issue --dns {{dns_namesilo}} --domain {{example.com}} --domain {{*.example.com}}`

- Emite um certificado usando um modo apelido de DNS:

`acme.sh --issue --dns {{dns_cf}} --domain {{example.com}} --challenge-alias {{alias-for-example-validation.com}}`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
`acme.sh --issue --dns {{dns_cf}} --domain {{example.com}} --challenge-alias {{alias-for-example-validation.com}}`
`acme.sh --issue --dns {{dns_cf}} --domain {{example.com}} --challenge-alias {{apelido-para-exemplo-de-validacao.com}}`


- Emite um certificado enquanto desabilita a pesquisa automática de DNS da Cloudflare/google depois que o registro DNS for adicionado, especificando um tempo de espera personalizado em segundos:
victorhtl marked this conversation as resolved.
Show resolved Hide resolved

`acme.sh --issue --dns {{dns_namecheap}} --domain {{example.com}} --dnssleep {{300}}`

- Emite um certificado usando o modo DNS manual:

`acme.sh --issue --dns --domain {{example.com}} --yes-I-know-dns-manual-mode-enough-go-ahead-please`
24 changes: 24 additions & 0 deletions pages.pt_BR/common/ant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# ant

> Apache Ant: compile e administre projetos baseados em Java.
victorhtl marked this conversation as resolved.
Show resolved Hide resolved
> Mais informações: <https://ant.apache.org>.

- Compila um projeto com o arquivo padrão de build `build.xml`:

`ant`

- Compila um projeto utilizando um arquivo de build diferente do `build.xml`:

`ant -f {{buildfile.xml}}`
victorhtl marked this conversation as resolved.
Show resolved Hide resolved

- Printa informações sobre possíveis alvos para este projeto:
victorhtl marked this conversation as resolved.
Show resolved Hide resolved

`ant -p`

- Printa informações de debug:
victorhtl marked this conversation as resolved.
Show resolved Hide resolved

`ant -d`

- Executa todos os alvos que não dependem de alvos defeituosos:

`ant -k`
Loading