Comments (7)
@Sachin-23 . I think I localized the issue: it happens with Python 3.12 that we didn't test yet ...
@arjunsuresh . I can reproduce this error when installing python 3.12 on Ubuntu via CM and then rerunning above command:
cm run script --tags=get,python --version=3.12.1
cm run script --tags=app,mlcommons,mlperf,inference,cpp
from ck.
@Sachin-23 . It seems that python 3.11.7 works fine with Ubuntu. Can you please just check that it will work you Mac as follows:
cm rm cache -f
cmr "get python" --version=3.11.7
cmr "app mlcommons mlperf inference cpp"
We will check Python 3.12.1 in the meantime ... Thanks a lot again for reporting this issue!
from ck.
@arjunsuresh . I localized the issue. It's with pkg_resources package missing in Python 3.12 by default ... I am checking how to report the error properly and fix this dependency ...
from ck.
It is needed to detect package version ... We redirect the output to err file in the script but we do not print it in case of error and that's why we don't even see it ...
from ck.
@Sachin-23 . I believe I fixed the issues related to Python 3.12 that should fix your problem above. I pushed it to our dev repo ctuning@mlcommons-ck. If you are using mlcommons@ck, you may need to remove it and pull our development version to test it. You may also need to clean the CM cache:
cm rm repo mlcommons@ck
cm pull repo ctuning@mlcommons-ck
cm rm cache -f
cmr "app mlcommons mlperf inference cpp"
Can you please try it and tell me if it works?
I created a PR from ctuning@mlcommons-ck to mlcommon@ck - it should be available in the stable repo soon ...
Thanks!!!
from ck.
Hi @gfursin, the script is executing fine. I've cleared the CM cache and pulled the mlcommons@ck repo. Thank you for responding so quickly and fixing the problem.
from ck.
Super! Glad that it worked! And thank you for your feedback - CM is a collaborative effort to make sure that our automation recipes work fine across different (and particularly newer) environments - your feedback helps us improve CM!
from ck.
Related Issues (20)
- Add universal check of env vars in cmind.utils HOT 1
- Add "prototype" flag to CM script meta
- `convert_path` is not part of setuptools API and will be removed HOT 7
- Refactor CM, CM for MLOps and CM for MLPerf docs and tutorials
- Improving CM core
- When dumping version info from dependencies, variations do not have _ HOT 1
- Warning Encountered During pip install cmind on Ubuntu via WSL HOT 3
- KeyError in MLPerf Inference with ResNet-50 HOT 5
- Could not identify license file for opentelemetry-cpp HOT 1
- CUDA version 12.4 not supported for this cm command HOT 1
- Support branch for cm pull repo
- How do you specify which GPU to run an Mlperf benchmark on with CM? HOT 6
- cm add script is failing on new CM repository HOT 4
- Support ssh URLs in cm pull repo HOT 3
- Improve the accessibility of the documentations HOT 1
- How to prevent caching? HOT 2
- Requiring a user access token or an SSH key instead for huggingface.co HOT 2
- Portable CM script failed (name = build-docker-image, return code = 256) HOT 1
- prototype "cm init" to check some system deps (git, wget) and pull cm4mlops repo HOT 1
- Installing cm with conda
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 ck.