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

kmeans-pytorch 0.3 ❄️ #1

Merged
merged 3 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
About <pkg_name>-feedstock
About kmeans-pytorch-feedstock
=======================

Feedstock license: [BSD-3-Clause](LICENSE)

Home: <home_url>
Home: https://subhadarship.github.io/kmeans_pytorch

Package license: <pkg_license>
Package license: MIT

Summary: <pkg_summary>
Summary: PyTorch implementation of kmeans for utilizing GPU


Current release info
====================

| Name | Downloads | Version | Platforms |
| --- | --- | --- | --- |
| [![Conda Recipe](https://img.shields.io/badge/recipe-<pkg_name>-green.svg)](https://anaconda.org/anaconda/<pkg_name>) | [![Conda Downloads](https://img.shields.io/conda/dn/anaconda/<pkg_name>.svg)](https://anaconda.org/anaconda/<pkg_name>) | [![Conda Version](https://img.shields.io/conda/vn/anaconda/<pkg_name>.svg)](https://anaconda.org/anaconda/<pkg_name>) | [![Conda Platforms](https://img.shields.io/conda/pn/anaconda/<pkg_name>.svg)](https://anaconda.org/anaconda/<pkg_name>) |
| [![Conda Recipe](https://img.shields.io/badge/recipe-kmeans-pytorch-green.svg)](https://anaconda.org/anaconda/kmeans-pytorch) | [![Conda Downloads](https://img.shields.io/conda/dn/anaconda/kmeans-pytorch.svg)](https://anaconda.org/anaconda/kmeans-pytorch) | [![Conda Version](https://img.shields.io/conda/vn/anaconda/kmeans-pytorch.svg)](https://anaconda.org/anaconda/kmeans-pytorch) | [![Conda Platforms](https://img.shields.io/conda/pn/anaconda/kmeans-pytorch.svg)](https://anaconda.org/anaconda/kmeans-pytorch) |

Installing <pkg_name>
Installing kmeans-pytorch
==================

Installing `<pkg_name>` from the main channel can be achieved by:
Installing `kmeans-pytorch` from the main channel can be achieved by:

```
conda install <pkg_name>
conda install kmeans-pytorch
```

It is possible to list all of the versions of `<pkg_name>` available on your platform with `conda`:
It is possible to list all of the versions of `kmeans-pytorch` available on your platform with `conda`:

```
conda search <pkg_name>
conda search kmeans-pytorch
```
2 changes: 2 additions & 0 deletions abs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
upload_channels:
- sfe1ed40
15 changes: 0 additions & 15 deletions pull_request_template.md

This file was deleted.

40 changes: 25 additions & 15 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,45 +1,55 @@
{% set name = "<PLEASE ADD PKG NAME>" %}
{% set version = "<PLEASE ADD PKG VERSION>" %}
{% set name = "kmeans-pytorch" %}
{% set version = "0.3" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: <sha256>
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/kmeans_pytorch-{{ version }}.tar.gz
sha256: c0e7279078f5592c0a80a836897efd1567c3275544e7d0ad844bff24053d8e78

build:
number: 0
# s390x: numba unavailable
skip: true # [py<38 or s390x]
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
skip: True # [py<38]
entry_points:
- kmeans_pytorch=kmeans_pytorch.main:main

requirements:
host:
- python
- pip
- setuptools
- wheel
run:
- python
- numpy
- tqdm
- numba
- pytorch
lorepirri marked this conversation as resolved.
Show resolved Hide resolved

test:
imports:
- {{ name.replace('-', '.') }}
- kmeans_pytorch
requires:
- pip
commands:
- pip check
- kmeans_pytorch --help

about:
home: <PLEASE ADD HOME URL>
summary: <PLEASE ADD SUMMARY>
home: https://subhadarship.github.io/kmeans_pytorch
license: MIT
license_family: MIT
license_file: LICENSE
summary: PyTorch implementation of kmeans for utilizing GPU.
description: |
<PLEASE ADD DESCRIPTION>
license: <PLEASE ADD LICENSE>
license_family: <PLEASE ADD LICENSE_FAMILY>
license_file: <PLEASE_ADD_LICENSE_FILE>
dev_url: <PLEASE ADD DEV URL>
doc_url: <PLEASE ADD DOC URL>
PyTorch implementation of kmeans for utilizing GPU.
doc_url: https://subhadarship.github.io/kmeans_pytorch
dev_url: https://github.com/subhadarship/kmeans_pytorch

extra:
recipe-maintainers:
- Jrice1317
- lorepirri