Unverified Commit c9d1e523 authored by Aritra Roy Gosthipaty's avatar Aritra Roy Gosthipaty Committed by GitHub
Browse files

Update installation.md (#36826)

* Update installation.md

* Update README.md
parent d253de6d
main 35597_custom_tokenizer add-deci-lm add-dia add_kernelize all_jobs_can_compare_against_prev_runs_clean_trigger batched_handle_empty_string change-mi250-ci-slack-channel change_build_input_tests chat-template-quick-fix check_circleci_new_trigger check_env_runner check_push check_temp check_torch_27 ci-test-huggingface-hub-0.30.0.rc1 ci-test-huggingface-hub-v0.30.0.rc3-release ci-test-huggingface-hub-v0.31.0.rc0-release ci-test-huggingface-hub-v0.32.0.rc0-release ci-test-huggingface-hub-v0.32.0.rc1-release ci_with_commit_41b9b92b52215bed472c9a534a06abbc3a9a95cd ci_with_torch_2.7 ci_with_torch_2.7.1_commit_0ef339ff1b63bb03a388c79bfbebec9085e10564 ci_with_torch_2.7_commit_0ef339ff1b63bb03a388c79bfbebec9085e10564 ci_with_torch_version_base clean-modeling composable-tp continuous-batching debug+_audio dep_create_token_type_id dependabot/pip/examples/flax/vision/torch-2.6.0 dependabot/pip/examples/tensorflow/language-modeling-tpu/transformers-4.50.0 disable-mi210-ci elie-temp-nope feature/#35425 find-test-failure-diff-between-envs fix-apex fix-compressed-tensors fix-gemma3-grad-acc fix-modular fix-quantizer fix-tp-check fix/default_cb_scheduler fix_batch_test fix_circleci_not_triggered fix_offload_disk_gguf fix_print fix_require_class fix_sam_samhq fix_tie3 fix_tiny_gh fixing_gptq_tests fsdp2-checkpointing get-our-efficiency-back glm4 gpt2 hf-papers image-chunked-prefill llama4-unhardcode merging_to_test mistral3-xpu-cpu-offload more-cleaning more_info_ci_temp new_blt no-more-pointing-at-remote-repos non-model-inits nouamane/context-parallel one-class-to-rule-them-all prefill-chunking push-ci-image raise-from random_dispatch remove_unused_test_attribs revert-37178-revert-loadibng-issue run_amd_scheduled_ci_caller run_ci_without_kenlm skip_flaky_test skip_flaky_tests_double_check skip_internvl_tests slight-readme-reword spm_converter stop_repeating_setup temp123 test-datasets-main test-fused-moe test_fast_only_refactor tests-fetcher-test-all tok_refactor transformers-should-not-set-env-vars trigger_688f4707bfc5f6adc6f4f18c2081c5a66db590d1 trigger_doc_build_after_bot_push trigger_via_api_backup try_cpu_offload try_torch_2.7_on_circleci_jobs update-from-pretrained update-notification-service-amd-ci update-patch-helper update_loss use_uv v4.50.3-DeepSeek-3-release v4.51-release v4.51.3-BitNet-release v4.51.3-CSM-release v4.51.3-D-FINE-release v4.51.3-GraniteMoeHybrid-release v4.51.3-InternVL-release v4.51.3-Janus-release v4.51.3-LlamaGuard-release v4.51.3-MLCD-release v4.51.3-Qwen2.5-Omni-release v4.51.3-SAM-HQ-release v4.51.3-TimesFM-release v4.52-release vas-bert-attn-refactor vas-bert-attn-refactors vas-whisper-attn-refactor vb/add-baichuan why_no_trigger working working-version v4.52.3 v4.52.2 v4.52.1 v4.52.0 v4.51.3 v4.51.3-TimesFM-preview v4.51.3-SAM-HQ-preview v4.51.3-Qwen2.5-Omni-preview v4.51.3-MLCD-preview v4.51.3-LlamaGuard-preview v4.51.3-Janus-preview v4.51.3-InternVL-preview v4.51.3-GraniteMoeHybrid-preview v4.51.3-D-FINE-preview v4.51.3-CSM-preview v4.51.3-BitNet-preview v4.51.2 v4.51.1 v4.51.0 v4.50.3-DeepSeek-3
No related merge requests found
Showing with 6 additions and 6 deletions
+6 -6
......@@ -76,12 +76,12 @@ Create and activate a virtual environment with [venv](https://docs.python.org/3/
```py
# venv
python -m venv my-env
source ./my-env/bin/activate
python -m venv .my-env
source .my-env/bin/activate
# uv
uv venv my-env
source ./my-env/bin/activate
uv venv .my-env
source .my-env/bin/activate
```
Install Transformers in your virtual environment.
......
......@@ -33,7 +33,7 @@ Create and activate a virtual environment in your project directory with [venv](
```bash
python -m venv .env
source ./env/bin/activate
source .env/bin/activate
```
</hfoption>
......@@ -43,7 +43,7 @@ source ./env/bin/activate
```bash
uv venv .env
source ./env/bin/activate
source .env/bin/activate
```
</hfoption>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment