mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
.venv/ in .gitignore (#165418)
`uv venv` creates venv in `.venv/` directory. So, it's useful to have `.venv/` in `.gitignore`, since perhaps more people are using `uv` in their work. As per comment 3592f5f4e5 (diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947)
uv docs that confirms it: https://docs.astral.sh/uv/pip/environments/#using-arbitrary-python-environments
Pull Request resolved: https://github.com/pytorch/pytorch/pull/165418
Approved by: https://github.com/ezyang
This commit is contained in:
committed by
PyTorch MergeBot
parent
cf3a787bbc
commit
c137e222d4
1
.gitignore
vendored
1
.gitignore
vendored
@ -374,6 +374,7 @@ third_party/ruy/
|
|||||||
third_party/glog/
|
third_party/glog/
|
||||||
|
|
||||||
# Virtualenv
|
# Virtualenv
|
||||||
|
.venv/
|
||||||
venv/
|
venv/
|
||||||
|
|
||||||
# Log files
|
# Log files
|
||||||
|
Reference in New Issue
Block a user