Comments (5)
@alykhantejani where should conda build scripts live? Perhaps with the rest of pytorch
, so they're on the same conda channel?
pytorch
scripts seem to be here
EDIT
As for PyPI
I believe we'd need to change the name in setup.py
to pytorch-ignite
, add a simple setup.cfg
, and it would be ready to publish, right?
from ignite.
@elanmart for conda it will live in the pytorch conda channel (I've checked this with soumith).
For PyPI, we do indeed need to change the name. pytorch-ignite
is great.
from ignite.
So, I started working on this issue and I have some points to discuss. As @elanmart pointed out pytorch and torchvision conda stuff is built in pytorch/builder. So if we aim to integrate ignite in the pytorch/builder: add build_ignite.sh script and meta.yaml to the repository, I have an impression that we may be limited by pytorch releases and can not make our own releases independently of pytorch. Correct me if I'm wrong.
Another point is on release workflow, following build_vision.sh:
rm -rf torchvision-src
git clone https://github.com/pytorch/vision torchvision-src
pushd torchvision-src
git checkout v$VISION_BUILD_VERSION
popd
we need first to make a tag and then create wheels+tars.
So I created these meta.yaml and build_ignite.sh here but something goes wrong with error:
raise CondaValueError("Empty version string.")
if somebody could assist me with that it would be great !
On PyPI everything is more simple :) just run
# Added setup.cfg with universal = 1
python3 setup.py sdist bdist_wheel
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# or the following command to upload to real PyPI
twine upload dist/*
so you can checkout a preliminary 0.1.0 version at test.pypi
from ignite.
I think we should have an independent release cycle and process. We can update the wheels on pypi and the tar on conda ourselves.
As for the conda error, I'm not quite sure what could cause this. I can try and reproduce on my side
from ignite.
@vfdev-5 Trying to find out what the problem is with the conda build. From the conda docs it seems like the build command should also contain https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html#build-section
As for your Empty version string
error, not 100% sure but this may be related to the fact that the conda build wont be able to install pytorch
(as it's only available in the pytorch
channel). This works for the vision build as the ANACONDA_USER=pytorch
.
According to this stackoverflow post, its not easy to specify this in the meta.yaml
but instead we can add this line before the call to build:
conda config --add channels pytorch
from ignite.
Related Issues (20)
- Scheduled workflow failed
- Changing LinearCyclicalScheduler triangle wave to sawtooth wave
- After model compilation and run on second gpu card (cuda:1) , 154 MB still goes to the first gpu card (cuda:0).Using pytorch ignite framework HOT 6
- https://pytorch-ignite.ai/tutorials/beginner/01-getting-started/ does it run training loop twice? HOT 2
- How can i implement multiple updates of discriminator before a single update of generator in the train_step(engine, data)? HOT 10
- DATALOADER_STOP_ITERATION should not be triggered if `Engine.run(data=None, ...)`
- Fix failing CI HOT 2
- Fix failing CI on engine tests
- Mean Absolute Percentage Error (MAPE) HOT 6
- Add cosine similarity metric HOT 4
- Add python 3.12 to CI
- Too much memory was cost for eval and train HOT 2
- Calculation of FID metric made use of classification probabilities instead of feature vectors HOT 1
- Confused about Batch_size HOT 1
- Confused about Batch_size HOT 2
- Add optional arg `encoding = None` for `ignite.utils.setup_logger` HOT 5
- Run metrics calculation in a background process HOT 8
- INFO: Resuming from iteration for provided data will fetch data until required iteration ... HOT 3
- How should I use global_step_from_engine HOT 5
- `idist.initialize` fails in Slurm when using `--ntasks-per-gpu` HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ignite.