Comments (6)
Commented on lib.rs
generation in rune from parser.rs
from rune.
Function to override files instead of appending to them. Has been applied to lib.rs.
from rune.
In Runefile add 2 capabilities and should see their variables:
CAPABILITY<_,I32> RAND randasas --n 1
- Check that
RAND
is part of runic_types::CAPABILITY ENUM
if None from runic_types::CAPABILITY::from_str("asdasd") => log::fatal!("INVALID....") - Check that
randasas
is a variable name that is not already used in capabilities before - For each variable
--n 1
Write out the u32. - MODEL parameters need to be put in a hasmap
from rune.
Updated Cargo.toml in rune:
Boilerplate has the following dependencies listed:
[dependencies]
no-std-compat = "0.4.1"
wee_alloc = "0.4.5"
runic-types = { path = "../../runic-types" }
the runic-types dependency is not being called with the above path. It outputs the following error (even though i have runic-types repo in the correct location):
[2021-02-10T03:37:20Z ERROR rune::build] Couldn't compile Rune 'failed to get `runic-types` as a dependency of package `rune v0.1.0 (/Users/milind/.rune/runes/2a9beef0-4c7e-42b5-98bb-c50f05530235)`
Caused by:
0: failed to load source for dependency `runic-types`
1: Unable to update /Users/milind/.rune/runic-types
2: failed to read `/Users/milind/.rune/runic-types/Cargo.toml`
3: No such file or directory (os error 2)'
Current Work around:
runic-types = { git = "ssh://[email protected]/hotg-ai/runic-types" }
from rune.
Things to add to documentation
- Need
rustup target add wasm32-unknown-unknown
to install core and std crates. - Use nightly version of rust. Run following command
rustup default nightly
(some features have not been added to stable so rune won't compile on it)
from rune.
Still having issues with lib.rs in the rune:
error[E0432]: unresolved imports `runic_types::CAPABILITY`, `runic_types::PARAM_TYPE`, `runic_types::OUTPUT`
--> src/lib.rs:14:19
|
14 | use runic_types::{CAPABILITY, PARAM_TYPE, OUTPUT};
| ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ no `OUTPUT` in the root
| | |
| | no `PARAM_TYPE` in the root
| no `CAPABILITY` in the root
error[E0432]: unresolved import `runic_transform`
--> src/lib.rs:15:5
|
15 | use runic_transform::{Transform, Transformable};
| ^^^^^^^^^^^^^^^ use of undeclared crate or module `runic_transform`
error: cannot find macro `vec` in this scope
--> src/sine_model.rs:2:12
|
2 | return vec![
| ^^^
|
= note: consider importing this macro:
alloc::vec
from rune.
Related Issues (20)
- Enable Apple targets for librune_native in Github actions
- Consistent Tensor element types
- Allow people to attach a description to a capability
- Allow each Rune to have a description
- Make the compiler's internals deterministic
- Missing dependency libclang causes build to fail and hang HOT 3
- Let people specify supported runtime environments/backends in the Runefile
- Split the rune CLI up so there are individual binaries for each sub-command
- Caching strategy for long running processes like BERT QA inference HOT 3
- Add support for inference on ONNX and TensorFlow models HOT 1
- Make it easier to pass inputs through the builder API
- The "rune build" command completely ignores the "image" field
- The web runtime should try to cache Runes where possible
- Add rune serve to the cli
- Structured Logging HOT 1
- Load tf.js models using a custom loader
- BigUint64Array is not supported on some versions of Safari
- Random capability should be float
- Build error when connecting image source with normalisation block HOT 2
- Adding Observability Probes (Behind the scenes) to inputs to Runes
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 rune.