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

Add torchx #28688

Merged
merged 9 commits into from
Dec 24, 2024
Merged
Changes from 8 commits
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
55 changes: 55 additions & 0 deletions recipes/torchx/meta.yaml
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:
Copy link
Member

Choose a reason for hiding this comment

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

- pip check
requires:
- numpy
Copy link
Member

Choose a reason for hiding this comment

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

Is numpy needed here?

- 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
Loading