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

GP notebook import #121

Merged
merged 2 commits into from
Jun 15, 2023
Merged

GP notebook import #121

merged 2 commits into from
Jun 15, 2023

Conversation

IamShubhamGupto
Copy link
Member

Known issues

  • tensorflow installation on M1 MacBook is broken, unable to test
  • gpflow has dependency on tensor flow, possibly need to build on linux/ windows systems

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@dhruvbalwada dhruvbalwada merged commit 5c0f4bc into m2lines:main Jun 15, 2023
@IamShubhamGupto
Copy link
Member Author

To address the tensorflow installation on M1 Macs, refer to this comment - GPflow/GPflow#1746 (comment)

Specific instructions for L96_demo repo on Mac devices (apple silicon M devices)

  • git clone the repository
  • create conda environement and install conda packages
  • comment out gpflow from requirements.txt
  • install pip packages
  • In a separate folder, clone https://github.com/GPflow/GPflow/tree/develop
  • In setup.py
    • delete line "tensorflow>=2.4.0; platform_system!='Darwin' or platform_machine!='arm64'",
    • modify line "tensorflow-macos>=2.4.0; platform_system=='Darwin' and platform_machine=='arm64'", to "tensorflow-macos>=2.4.0",
    • save setup.py
  • run pip install -e .
  • compile book jupyter book build .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants