Comments (3)
Don't think that it is possible to use the C++ algorithms on M1 at the moment without rosetta (the arm64 emulator). My plan is to port fcmaes to Rust, then it should be easy to compile it on any platform. Will take some time. But you may use the pure Python algorithms.
from fast-cma-es.
Update for fcmaes version 1.5.8 recently released (pip install fcmaes --upgrade):
Pure Python versions of the algorithms are now usable also for parallel retry. Pure Python features: Algorithms: CMA-ES, CR-FM-NES, DE, MODE (multiple objective), Map-Elites+Diversifier (quality diversity). All Python algorithms support an ask-tell interface and parallel function evaluation. Additionally parallel retry / advanced retry (smart boundary management) are supported for these algorithms.
You may have to delete
/opt/homebrew/Caskroom/miniforge/base/envs/petri/lib/python3.9/site-packages/fcmaes/lib/libacmalib.dll
to avoid the error you get.
I would have expected that
elif 'mac' in sys.platform or 'darwin' in sys.platform:
libcmalib = ct.cdll.LoadLibrary(basepath + '/lib/libacmalib.dylib')
should have been loaded. Since I have no mac this shared library file is slightly outdated and would anyway only work under rosetta (the arm64 emulator on the M1). It is probably better to avoid the C++ algorithms on M1.
from fast-cma-es.
That seems to have done the trick! Thanks so much for the help :)
from fast-cma-es.
Related Issues (13)
- biteopt stopping criteria HOT 6
- Problem with running on Mac OS X HOT 2
- Stall iterations in BiteOpt HOT 5
- Usage for diploma thesis HOT 3
- failed to use fcmaes on Debian 10 HOT 4
- JSON of the employee scheduling example HOT 1
- illegal hardware instruction when importing mode on mac M1 HOT 2
- Missing library loguru when installing fcmaes 1.6.3 with pip HOT 1
- cannot find dll file on windows HOT 1
- [Question] Difference between Python/C++ functions HOT 4
- fcmaes.optimizer.de_cma throws SystemError and TypeError HOT 12
- CMA Cpp ignores x0 / guess HOT 2
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 fast-cma-es.