Dynamic Model in TVMrights reserved. Presenter: Haichen Shen, Yao Wang Amazon SageMaker Neo, Deep Engine Science Dynamic Model in TVM AWS AI© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Models with models© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Support dynamic model in TVM ● Support Any-dim in typing ● Use shape function to compute the type at runtime ● Virtual input_name = "data" input_shape = [tvm.relay.Any(), 3, 224, 224] dtype = "float32" block = get_model('resnet50_v1', pretrained=True) mod, params = relay.frontend.from_mxnet(block, shape={input_name:0 码力 | 24 页 | 417.46 KB | 5 月前3
Distributed Ranges: A Model for Building Distributed Data Structures, Algorithms, and Views0 码力 | 127 页 | 2.06 MB | 6 月前3
C++ Memory Model: from C++11 to C++23Memory Model C++11 – C++23About Me: alex.dathskovsky@speedata.io www.linkedin.com/in/alexdathskovsky https://www.cppnext.comAlex Dathskovsky | alex.dathskovsky@speedata.io | www.linkedin.com/in/a0 码力 | 112 页 | 5.17 MB | 6 月前3
Back To Basics: Functional Programming in C++Jonathan Müller — @foonathan Back to Basics: Functional Programming in C++ CppCon 2024-09-19 2Declarative Programming Definition Specify the desired outcome (only), have the system figure it out how Jonathan Müller — @foonathan Back to Basics: Functional Programming in C++ CppCon 2024-09-19 3Declarative Programming Definition Specify the desired outcome (only), have the system figure it out how Jonathan Müller — @foonathan Back to Basics: Functional Programming in C++ CppCon 2024-09-19 3Declarative Programming Definition Specify the desired outcome (only), have the system figure it out how0 码力 | 178 页 | 918.67 KB | 6 月前3
02 TiDB Operator 架构与实现 付业成Backup/Restore/Data migration - ... TiDB Operator TiDB PingCAP.com Kubernetes Pattern - Declarative Model - 用户描述自己的期望,提交给 Kubernetes API Server - Kubernetes 根据用户的期望以及当前的状态,协调各方达成用户的期望 PingCAP.com statefulset, etc. - But it does not know how to operate a TiDB cluster... Kubernetes Pattern - Declarative Model PingCAP.com - Kubernetes has pod, deployment, statefulset, etc. - But it does not know how how to operate TiDB cluster… - Until we implemented TiDB Operator Kubernetes Pattern - Declarative Model PingCAP.com Operator Pattern - Extending Kubernetes TiDB Operator TiDB PD API Kubernetes0 码力 | 47 页 | 1.73 MB | 6 月前3
Just-in-Time Compilation - J F Bastien - CppCon 2020perspective: > I understand C++, and I kinda get assembly because of compiler explorer. Our typical model of AoT is “what C and C++ do”, and I want to expand the understanding for what other computation models superior to hand-coded demultiplexors. DPF achieves high performance by using a carefully-designed declarative packet-filter language that is aggressively optimized using dynamic code generation. — 1994 superior to hand-coded demultiplexors. DPF achieves high performance by using a carefully-designed declarative packet-filter language that is aggressively optimized using dynamic code generation. — 19940 码力 | 111 页 | 3.98 MB | 6 月前3
OpenAI 《A practical guide to building agents》design foundations In its most fundamental form, an agent consists of three core components: 01 Model The LLM powering the agent’s reasoning and decision-making 02 Tools External functions or APIs the the workflow. Not every task requires the smartest model—a simple retrieval or intent classification task may be handled by a smaller, faster model, while harder tasks like deciding whether to approve approve a refund may benefit from a more capable model. An approach that works well is to build your agent prototype with the most capable model for every task to establish a performance baseline. From there0 码力 | 34 页 | 7.00 MB | 6 月前3
Express Your Expectations: A Fast, Compliant JSON Pull Parser for Writing Robust ApplicationsJonathan Müller — @foonathan Express your expectations CppCon 2023-10-03 48Push-model: Iteration and JSON parser Push model: Algorithm computes data and invokes handler. struct range_sink { void operator()(auto Jonathan Müller — @foonathan Express your expectations CppCon 2023-10-03 49Pull-model: Iteration and JSON parser Pull model: Algorithm computes next data when requested by user. struct iterator { T& Jonathan Müller — @foonathan Express your expectations CppCon 2023-10-03 50Pull-model: Iteration and JSON parser Pull model: Algorithm computes next data when requested by user. struct iterator { std::optional0 码力 | 143 页 | 736.91 KB | 6 月前3
Delivering safe C++libraries • Enforced by language rules and static analysis • The basic model for achieving that can be found in A brief introduction to C++'s model for type- and resource-safety (2015) and Type-and-resource safety concepts in code” • Direct representation of ideas in code • Focus on classes • Make code more declarative • Make more information available to compilers • Early examples • Vector • String • File handle as good support for user-defined types as for built-in types • Say what you mean • Emphasizes declarative styles and abstraction • Syntax matters (often in perverse ways) • In general, verbosity is0 码力 | 74 页 | 2.72 MB | 6 月前3
Khronos APIs for Heterogeneous Compute and Safety: SYCL and SYCL SCCUDA as an example● Unified shared memory provides an alternative pointer-based data management model to the buffer/accessor mode ○ Unified virtual address space (consistent pointers) ○ Pointer-based agreements • Europe EPI: hipSYCL in Leonardo, Lumi and Karolina SYCL AS A UNIVERSAL PROGRAMMING MODEL FOR HPC 3 Pre-exasacaleKHRONOS SAFETY CRITICAL STANDARDS EVOLUTION OpenGL ES 1.0 - 2003 Fixed function “safe” subset of C that eliminates C++’s productivity advantages ▪ Do not deliver a purely run-time model that imposes overheads that eliminate C++’s strengths in the area of performance ▪ Do not imply0 码力 | 82 页 | 3.35 MB | 6 月前3
共 251 条
- 1
- 2
- 3
- 4
- 5
- 6
- 26
相关搜索词
DynamicModelinTVMDistributedRangesforBuildingDataStructuresAlgorithmsandViewsC++Memoryfrom11to23BackToBasicsFunctionalProgramming02TiDBOperator架构实现付业成JustTimeCompilationBastienCppCon2020OpenAIpracticalguidebuildingagentsExpressYourExpectationsFastCompliantJSONPullParserWritingRobustApplicationsDeliveringsafeKhronosAPIsHeterogeneousComputeSafetySYCLSC













