Name | nimblephysics JSON |
Version |
0.10.52.2
JSON |
| download |
home_page | None |
Summary | A differentiable fully featured physics engine |
upload_time | 2024-12-02 22:21:08 |
maintainer | None |
docs_url | None |
author | Keenon Werling |
requires_python | None |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|

[](https://github.com/nimblephysics/nimblephysics/actions/workflows/ci_docker.yml)
# Stanford Nimble
`pip3 install nimblephysics`
** BETA SOFTWARE **
[Read our docs](http://www.nimblephysics.org/docs) and [the paper](https://arxiv.org/abs/2103.16021).
Use physics as a non-linearity in your neural network. A single timestep, `nimble.timestep(state, controls)`, is a valid PyTorch function.

We support an analytical backwards pass, that works even through contact and friction.

It's as easy as:
```python
from nimble import timestep
# Everything is a PyTorch Tensor, and this is differentiable!!
next_state = timestep(world, current_state, control_forces)
```
Nimble started life as a fork of the popular DART physics engine, with analytical gradients and a PyTorch binding. We've worked hard to maintain as much backwards compatability as we can, so many simulations that worked in DART should translate directly to Nimble.
Check out our [website](http://www.nimblephysics.org) for more information.
### Installing on Arm64 Macs (M1, M2, etc)
We don't yet publish Arm64 binaries to PyPI from our CI system, so you may not be able to `pip3 install nimblephysics` from a new Arm64 Mac.
We will endeavor to manually push binaries occassionally, but until GitHub Actions supports using Arm64 Mac runners, that may run a bit behind.
Currently, the pre-built Arm64 binaries are ONLY AVAILABLE ON PYTHON 3.9. So if you create a virtual environment with Python 3.9, and then `pip3 install nimblephysics`, that should work.
If you really need another Python version for some reason, the solution is to clone this repo, then run
- `ci/mac/install_dependencies.sh`
- `ci/mac/manually_build_arm64_wheels.sh`
That will install the dependencies you need, and then build and install the Python package. Please create Issues if you run into problems, and we'll do our best to fix them.
Raw data
{
"_id": null,
"home_page": null,
"name": "nimblephysics",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Keenon Werling",
"author_email": "keenonwerling@gmail.com",
"download_url": null,
"platform": null,
"description": "\n\n[](https://github.com/nimblephysics/nimblephysics/actions/workflows/ci_docker.yml)\n\n# Stanford Nimble\n\n`pip3 install nimblephysics`\n\n** BETA SOFTWARE **\n\n[Read our docs](http://www.nimblephysics.org/docs) and [the paper](https://arxiv.org/abs/2103.16021).\n\nUse physics as a non-linearity in your neural network. A single timestep, `nimble.timestep(state, controls)`, is a valid PyTorch function.\n\n\n\nWe support an analytical backwards pass, that works even through contact and friction.\n\n\n\nIt's as easy as:\n\n```python\nfrom nimble import timestep\n\n# Everything is a PyTorch Tensor, and this is differentiable!!\nnext_state = timestep(world, current_state, control_forces)\n```\n\nNimble started life as a fork of the popular DART physics engine, with analytical gradients and a PyTorch binding. We've worked hard to maintain as much backwards compatability as we can, so many simulations that worked in DART should translate directly to Nimble.\n\nCheck out our [website](http://www.nimblephysics.org) for more information.\n\n### Installing on Arm64 Macs (M1, M2, etc)\n\nWe don't yet publish Arm64 binaries to PyPI from our CI system, so you may not be able to `pip3 install nimblephysics` from a new Arm64 Mac.\nWe will endeavor to manually push binaries occassionally, but until GitHub Actions supports using Arm64 Mac runners, that may run a bit behind.\n\nCurrently, the pre-built Arm64 binaries are ONLY AVAILABLE ON PYTHON 3.9. So if you create a virtual environment with Python 3.9, and then `pip3 install nimblephysics`, that should work.\n\nIf you really need another Python version for some reason, the solution is to clone this repo, then run\n- `ci/mac/install_dependencies.sh`\n- `ci/mac/manually_build_arm64_wheels.sh`\nThat will install the dependencies you need, and then build and install the Python package. Please create Issues if you run into problems, and we'll do our best to fix them.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A differentiable fully featured physics engine",
"version": "0.10.52.2",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d7484eb7b89e0af34b1bb7d1d19c062bb08ebef00a371539c0f01374ab30052c",
"md5": "1e728e83981c8bbb01c6b2a24410254b",
"sha256": "fbbe4874322a6fd96e86071c5589f31aa1c300d1f757f6a3876842abbae90880"
},
"downloads": -1,
"filename": "nimblephysics-0.10.52.2-cp39-cp39-macosx_11_0_universal2.whl",
"has_sig": false,
"md5_digest": "1e728e83981c8bbb01c6b2a24410254b",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": null,
"size": 34178152,
"upload_time": "2024-12-02T22:21:08",
"upload_time_iso_8601": "2024-12-02T22:21:08.999440Z",
"url": "https://files.pythonhosted.org/packages/d7/48/4eb7b89e0af34b1bb7d1d19c062bb08ebef00a371539c0f01374ab30052c/nimblephysics-0.10.52.2-cp39-cp39-macosx_11_0_universal2.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-02 22:21:08",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "nimblephysics"
}