-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Add torchx #28688
Merged
Merged
Add torchx #28688
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
328b35e
Add torchx
jeongseok-meta e31e4ea
Fix lint warning
jeongseok-meta 0aea786
Use github tarball
jeongseok-meta 4b1ca45
Fix license file name
jeongseok-meta 855e82c
Add docker
jeongseok-meta 88736a9
docker -> docker-py
jeongseok-meta b80d173
Add entry points
jeongseok-meta d778216
Remove unnecessary entry_points
jeongseok-meta 09a9dd7
Address review comments
jeongseok-meta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{% set name = "torchx" %} | ||
{% set version = "0.7.0" %} | ||
{% set python_min = python_min|default("3.8") %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/pytorch/torchx/archive/v{{ version }}.tar.gz | ||
sha256: 6a28e2a84dc9955856653fc6ce669fa36e522db82698426ace0ea54b0a02f9b8 | ||
|
||
build: | ||
entry_points: | ||
- torchx = torchx.cli.main:main | ||
noarch: python | ||
number: 0 | ||
script: {{ PYTHON }} -m pip install . -vv | ||
|
||
requirements: | ||
host: | ||
- pip | ||
- python {{ python_min }} | ||
- setuptools | ||
run: | ||
- docker-py | ||
- docstring_parser >=0.8.1 | ||
- filelock | ||
- fsspec >=2023.10.0 | ||
- importlib-metadata | ||
- pyre-extensions | ||
- python >={{ python_min }} | ||
- pyyaml | ||
- tabulate | ||
- urllib3 >=1.21.1,<1.27 | ||
|
||
test: | ||
imports: | ||
- torchx | ||
commands: | ||
- pip check | ||
- torchx -h | ||
requires: | ||
- pip | ||
- python {{ python_min }} | ||
|
||
about: | ||
home: https://github.com/pytorch/torchx | ||
summary: A universal job launcher for PyTorch applications | ||
license: BSD 3-Clause | ||
license_file: LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- jeongseok-meta |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably test the cli here:
https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#test-commands